A317013 For successive terms of A002202, totient values t, lcm({x: phi(x)=t})/gcd({x: phi(x)=t}).
2, 12, 120, 126, 240, 2, 3276, 8160, 1026, 3300, 2, 32760, 2, 2, 16320, 531468, 270600, 4214, 12, 2, 65520, 2, 2, 12, 2, 5241852, 32640, 2, 2, 5043631320, 2, 541200, 2, 25284, 245640, 12, 216084960, 25250, 2, 12, 2, 4697028, 2, 393240, 12, 3407203800, 2, 65280, 2, 388332
Offset: 1
Keywords
Examples
invphi(1) = [1, 2] and lcm(1, 2) / gcd(1, 2) is 2.
Links
- Max Alekseyev, PARI scripts for various problems
Programs
-
Mathematica
Map[LCM[##]/GCD[##] & @@ # &, Take[Values@ KeySort@ PositionIndex@ Array[EulerPhi, 10^6], 50]] (* Michael De Vlieger, Jul 20 2018 *)
-
PARI
lista(nn) = {for (n=1, nn, my(v = invphi(n)); if (#v, print1(lcm(v)/gcd(v), ", ")););}
Comments