login
A280726
a(n) = A049501(phi(n)).
6
0, 0, 1, 1, 1, 1, 2, 1, 2, 1, 4, 1, 2, 2, 1, 1, 1, 2, 5, 1, 2, 4, 5, 1, 4, 2, 5, 2, 3, 1, 4, 1, 4, 1, 2, 2, 5, 5, 2, 1, 4, 2, 9, 4, 2, 5, 6, 1, 9, 4, 1, 2, 6, 5, 4, 2, 5, 3, 8, 1, 4, 4, 5, 1, 2, 4, 7, 1, 5, 2, 7, 2, 5, 5, 4, 5, 4, 2, 7, 1, 7, 4, 10, 2, 1, 9, 3, 4, 5, 2, 5, 5, 4, 6, 5, 1, 2, 9, 4, 4, 7, 1, 8, 2, 2, 6, 12, 5, 7
OFFSET
1,7
COMMENTS
a(n) = Major index (1st definition) of the total numbers <=n and prime to n i.e., phi(n).
FORMULA
a(n) = A049501(A000010(n)).
EXAMPLE
For n = 10, phi(n) = 4 and major index (1st definition) of 4 = 1. So a(n) = 1.
CROSSREFS
KEYWORD
nonn
AUTHOR
Indranil Ghosh, Jan 07 2017
STATUS
approved