login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A057255
Numbers n such that n | 7^n + 6^n + 5^n + 4^n + 3^n.
0
1, 5, 25, 95, 125, 305, 425, 625, 1525, 3125, 7625, 15625, 18605, 24625, 38125, 78125, 93025, 129625, 133475, 190625, 201605, 265625, 390625, 465125, 492575, 537715, 953125, 957695
OFFSET
1,2
MATHEMATICA
Select[ Range[ 10^6 ], Mod[ PowerMod[ 7, #, # ] + PowerMod[ 6, #, # ] + PowerMod[ 5, #, # ] + PowerMod[ 4, #, # ] + PowerMod[ 3, #, # ], # ] == 0 & ]
CROSSREFS
Sequence in context: A265929 A297452 A147177 * A134140 A225011 A228457
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 21 2000
STATUS
approved