OFFSET
1,2
MATHEMATICA
Select[ Range[ 10^7 ], Mod[ PowerMod[ 10, #, # ] + PowerMod[ 9, #, # ] + PowerMod[ 8, #, # ], # ] + PowerMod[ 7, #, # ], # ] == 0 & ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 20 2000
EXTENSIONS
Corrected by Don Reble, Nov 20 2006
STATUS
approved