OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
mn1[n_]:=Module[{k=1, pn=Prime[n]}, While[Mod[k n, pn]!=1, k++]; k n]; Array[mn1, 50] (* Harvey P. Dale, May 12 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Dec 29 2003
EXTENSIONS
Corrected and extended by Ray Chandler, Jan 01 2004
STATUS
approved