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!)
A056741 Numbers n such that n | 5^n + 4^n + 3^n + 2^n + 1^n. 2
1, 3, 5, 9, 15, 25, 27, 45, 75, 81, 125, 135, 225, 243, 261, 295, 375, 405, 625, 675, 729, 925, 1125, 1215, 1875, 2025, 2187, 3125, 3375, 3645, 4077, 4833, 5139, 5625, 6075, 6345, 6561, 9375, 10125, 10935, 15625, 16875, 17895, 18125, 18225, 18495, 19683 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Do[ If[ Mod[ PowerMod[ 5, n, n ] + PowerMod[ 4, n, n ] + PowerMod[ 3, n, n ] + PowerMod[ 2, n, n ] + 1, n ] == 0, Print[ n ] ], {n, 1, 10^6} ]
Select[Range[20000], Mod[Total[PowerMod[Range[0, 5], #, #]], #]==0&] (* Harvey P. Dale, Oct 09 2021 *)
CROSSREFS
Cf. A001552.
Sequence in context: A057251 A015965 A231114 * A057235 A057289 A056754
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Aug 25 2000
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 19 23:42 EDT 2024. Contains 372703 sequences. (Running on oeis4.)