OFFSET
1,1
LINKS
MATHEMATICA
t = Table[0, {10000}]; k = 1; While[k < 3600000000, a = PowerMod[25, k, k]; If[a < 10001 && t[[a]] == 0, t[[a]] = k; Print[{a, k}]]; k++ ]; t (* Robert G. Wilson v, Jun 29 2009 *)
lk[n_] := Module[{k = 1}, While[PowerMod[24, k, k] != n, k++]; k]; Array[ lk, 48] (* Harvey P. Dale, Jan 18 2019 *)
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Alexander Adamchuk, Feb 27 2007
EXTENSIONS
a(13) - a(34) from Robert G. Wilson v, Jun 29 2009
STATUS
approved