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!)
A057249 Numbers n such that n | 5^n + 4^n + 3^n + 2^n. 1
1, 2, 6, 7, 49, 78, 91, 133, 343, 539, 1014, 1309, 1578, 2401, 3367, 4459, 10231, 12103, 12246, 12691, 13182, 16807, 45619, 97193, 117649, 120883, 149989, 159198, 171366, 199283, 218491, 347263, 675703, 823543, 1100687, 1294139, 1327753, 1336699, 1486807 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MAPLE
A057249:=n->`if`(type((5^n+4^n+3^n+2^n)/n, integer), n, NULL); seq(A057249(n), n=1..10^6); # Wesley Ivan Hurt, Mar 09 2014
MATHEMATICA
Select[ Range[ 10^6 ], Mod[ PowerMod[ 5, #, # ] + PowerMod[ 4, #, # ] + PowerMod[ 3, #, # ] + PowerMod[ 2, #, # ], # ] == 0 & ]
Select[Range[15*10^5], Mod[Total[PowerMod[Range[2, 5], #, #]], #]==0&] (* Harvey P. Dale, Mar 01 2023 *)
CROSSREFS
Sequence in context: A216037 A250547 A366061 * A246120 A300659 A155003
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 21 2000
EXTENSIONS
a(35)-a(39) from Wesley Ivan Hurt, Mar 09 2014
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 June 6 00:30 EDT 2024. Contains 373110 sequences. (Running on oeis4.)