The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063455 Numbers n such that n | 9^n + 7^n + 5^n + 3^n. 0
1, 2, 3, 4, 9, 27, 51, 81, 82, 207, 243, 297, 729, 2187, 2277, 4131, 6561, 9668, 10233, 17457, 19683, 24057, 27028, 30699, 33777, 33849, 50301, 52351, 56727, 59049, 92097, 112102, 133837, 134297, 136809, 177147, 184437, 197667, 256243, 264357 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[ Range[ 200000 ], Mod[ PowerMod[ 9, #, # ] + PowerMod[ 7, #, # ] + PowerMod[ 5, #, # ] + PowerMod[ 3, #, # ], # ] == 0 & ]
PROG
(PARI) j=[]; for(n=1, 20000, a=9^n+7^n+5^n+3^n; if(Mod(a, n) == 0, j=concat(j, n))); j
CROSSREFS
Sequence in context: A073915 A076381 A282571 * A001144 A121253 A014118
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 25 2001
EXTENSIONS
More terms from Robert G. Wilson v and Dean Hickerson, Jul 26 2001
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 17:50 EDT 2024. Contains 372533 sequences. (Running on oeis4.)