OFFSET
0,2
MATHEMATICA
aa = {}; Do[k = 1; While[PowerMod[39, k, k] != n, k++ ]; Print[{n, k}]; AppendTo[aa, k], {n, 1, 50}]; aa
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, May 23 2010
EXTENSIONS
Terms a(22) onward from Max Alekseyev, Feb 04 2012, Apr 13 2012
STATUS
approved