OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..100
MATHEMATICA
Select[ Range[ 10^6 ], Mod[ PowerMod[ 12, #, # ] + PowerMod[ 11, #, # ] + PowerMod[ 10, #, # ] + PowerMod[ 9, #, # ] + PowerMod[ 8, #, # ], # ] == 0 & ]
Select[Range[32000], Mod[Total[PowerMod[Range[8, 12], #, #]], #]==0&] (* Harvey P. Dale, Aug 05 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 21 2000
STATUS
approved