OFFSET
1,2
MATHEMATICA
Select[ Range[ 200000 ], Mod[ PowerMod[ 9, #, # ] + PowerMod[ 7, #, # ] + PowerMod[ 5, #, # ] + PowerMod[ 3, #, # ], # ] == 0 & ]
PROG
(PARI) j=[]; for(n=1, 20000, a=9^n+7^n+5^n+3^n; if(Mod(a, n) == 0, j=concat(j, n))); j
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 25 2001
EXTENSIONS
More terms from Robert G. Wilson v and Dean Hickerson, Jul 26 2001
STATUS
approved