A225679 Numerators of phi(k)/k, as k runs through the squarefree numbers (A005117).
1, 1, 2, 4, 1, 6, 2, 10, 12, 3, 8, 16, 18, 4, 5, 22, 6, 28, 4, 30, 20, 8, 24, 36, 9, 8, 40, 2, 42, 11, 46, 32, 52, 8, 12, 14, 58, 60, 15, 48, 10, 66, 44, 12, 70, 72, 18, 60, 4, 78, 20, 82, 64, 21, 56, 88, 72, 20, 23, 72, 96, 100, 16, 102, 16, 26, 106, 108, 4
Offset: 1
Examples
A005117(5) = 6, phi(6)/6 = 2/6 = 1/3, so a(5) = 1.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
s = Select[Range[200], SquareFreeQ]; Numerator[EulerPhi[s]/s] (* T. D. Noe, May 13 2013 *)
-
PARI
lista(nn) = apply(x->(numerator(eulerphi(x)/x)), Vec(select(issquarefree, [1..nn], 1))); \\ Michel Marcus, Feb 22 2021
Comments