OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..250
MATHEMATICA
Select[ Range[ 1, 10^5 ], Mod[ PowerMod[ 9, #, # ] + PowerMod[ 8, #, # ] + PowerMod[ 7, #, # ] + PowerMod[ 6, #, # ], # ] == 0 & ]
Select[Range[12000], Mod[Total[PowerMod[Range[6, 9], #, #]], #] == 0 &] (* Harvey P. Dale, Feb 06 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 20 2000
STATUS
approved