OFFSET
1,30
COMMENTS
a(n) = major index (2nd definition) of cototient(n), where cototient(n) = n - phi(n).
LINKS
Indranil Ghosh, Table of n, a(n) for n = 1..10000
Indranil Ghosh, Python Program to generate the sequence
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