login
A280815
a(n) = A049502(cototient(n)).
2
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 3, 0, 0, 1, 2, 2, 0, 0, 3, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 4, 0, 0, 2, 0, 1, 4, 0, 3, 1, 4, 0, 0, 0, 3, 2, 4, 1, 3, 0, 0, 2, 6, 0, 0, 4, 4, 0, 0, 0, 2, 2, 0, 1, 0, 3, 0, 0, 0, 3, 0, 0, 3, 0, 0, 1, 3, 0, 4, 0
OFFSET
1,30
COMMENTS
a(n) = major index (2nd definition) of cototient(n), where cototient(n) = n - phi(n).
FORMULA
a(n) = A049502(A051953(n)).
EXAMPLE
For n = 30, cototient(n) = 22 and major index (2nd definition) of 22 is 3. So, a(n) = 3.
CROSSREFS
KEYWORD
nonn
AUTHOR
Indranil Ghosh, Jan 08 2017
STATUS
approved