OFFSET
0,2
MATHEMATICA
aa = {}; Do[k = 1; While[PowerMod[41, k, k] != n, k++ ]; Print[{n, k}]; AppendTo[aa, k], {n, 1, 50}]; aa
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, May 23 2010
EXTENSIONS
a(0)=1 prepended and a(42) added by Max Alekseyev, Feb 04 2012
STATUS
approved