login
A057267
Numbers n such that n | 9^n + 8^n + 7^n + 6^n + 5^n + 4^n + 3^n.
1
1, 2, 3, 4, 7, 9, 10, 14, 21, 27, 28, 49, 50, 63, 70, 81, 98, 147, 153, 189, 196, 243, 250, 343, 350, 441, 490, 567, 686, 729, 1029, 1071, 1250, 1323, 1372, 1701, 1750, 2156, 2187, 2188, 2401, 2450, 3087, 3430, 3969, 4802, 5103, 6250, 6561, 7203, 7497, 7546
OFFSET
1,2
MATHEMATICA
Select[ Range[ 10^4 ], Mod[ PowerMod[ 9, #, # ] + PowerMod[ 8, #, # ] + PowerMod[ 7, #, # ] + PowerMod[ 6, #, # ] + PowerMod[ 5, #, # ] + PowerMod[ 4, #, # ] + PowerMod[ 3, #, # ], # ] == 0 & ]
Select[Range[8000], Divisible[Total[Range[3, 9]^#], #]&] (* Harvey P. Dale, Apr 03 2019 *)
CROSSREFS
Sequence in context: A325091 A057912 A141748 * A277066 A138576 A259483
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 22 2000
STATUS
approved