OFFSET
1,2
COMMENTS
13 divides a(n) for n > 1.
MATHEMATICA
Select[Range[5*10^6], Mod[ 12^(#^2)+1, #^3]==0 &] (* G. C. Greubel, Jan 18 2018 *)
Select[Range[5*10^6], PowerMod[12, #^2, #^3]==#^3-1&] (* The program generates the first 7 terms of the sequence. *) (* Harvey P. Dale, Aug 10 2025 *)
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Alexander Adamchuk, Mar 31 2007
EXTENSIONS
16 more terms from Ryan Propper, Dec 03 2007
Terms a(17) onward from Max Alekseyev, May 14 2010
STATUS
approved
