OFFSET
1,3
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 8: the 8th entry of A003277 is 15, and phi(15) = 8 has multiplicative order 4 modulo 15, so a(8) = 4.
MATHEMATICA
MultiplicativeOrder[EulerPhi[#], #] & /@ Select[Range[1000], GCD[#, EulerPhi[#]] == 1 &]
PROG
(PARI) lista(nn) = {for(n=1, nn, my(ephi = eulerphi(n)); if (gcd(ephi, n) == 1, print1(znorder(Mod(ephi, n)), ", ")); ); } \\ Michel Marcus, Feb 09 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Gruber, Mar 12 2014
STATUS
approved