OFFSET
0,2
MATHEMATICA
aa = {}; Do[k = 1; While[PowerMod[37, k, k] != n, k++ ]; Print[k]; AppendTo[aa, k], {n, 0, 50}]; aa
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, May 23 2010
STATUS
approved