OFFSET
1,1
LINKS
MATHEMATICA
t = Table[0, {10000} ]; k = 1; While[ k < 5100000000, a = PowerMod[30, k, k]; If[a < 10001 && t[[a]] == 0, t[[a]] = k; Print[{a, k}]]; k++ ]; t (* Robert G. Wilson v, Aug 06 2009 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Feb 27 2007
EXTENSIONS
Terms a(29) onward from Max Alekseyev, Mar 22 2012
STATUS
approved