A266276 a(n) is the smallest number k such that phi(k) = n*phi(k-1).
2, 3, 7, 1261, 11242771
Offset: 1
Examples
a(3) = 7 because 7 is the smallest number k such that phi(k) = n*phi(k-1); phi(7) = 6 =3*phi(6) = 3*2.
Crossrefs
Programs
-
Magma
a:=func
; [a(n):n in[1..5]]; -
PARI
a(n) = my(k=2, epk=1, enk); while ((enk=eulerphi(k)) != n*epk, epk = enk; k++); k; \\ Michel Marcus, Feb 20 2020
Comments