OFFSET
1,2
COMMENTS
The naive heuristic suggests that this sequence is infinite. - Charles R Greathouse IV, Dec 10 2013
MATHEMATICA
Select[ Range[ 10^6 ], Mod[ PowerMod[ 12, #, # ] + PowerMod[ 11, #, # ] + PowerMod[ 10, #, # ] + PowerMod[ 9, #, # ] + PowerMod[ 8, #, # ] + PowerMod[ 7, #, # ] + PowerMod[ 6, #, # ] + PowerMod[ 5, #, # ] + PowerMod[ 4, #, # ] + PowerMod[ 3, #, # ] + PowerMod[ 2, #, # ], # ] == 0 & ]
Select[Range[10^6], Mod[Total[Table[PowerMod[i, #, #], {i, 2, 12}]], #]==0&] (* This program is substantially identical to the first Mathematica program above *) (* Harvey P. Dale, Jan 19 2015 *)
PROG
(PARI) is(n)=sum(k=2, 12, Mod(k, n)^n)==0 \\ Charles R Greathouse IV, Dec 10 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 22 2000
STATUS
approved