login
a(n) = A049502(cototient(n)).
2

%I #5 Jan 10 2017 07:52:45

%S 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,

%T 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,

%U 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

%N a(n) = A049502(cototient(n)).

%C a(n) = major index (2nd definition) of cototient(n), where cototient(n) = n - phi(n).

%H Indranil Ghosh, <a href="/A280815/b280815.txt">Table of n, a(n) for n = 1..10000</a>

%H Indranil Ghosh, <a href="/A280815/a280815.txt">Python Program to generate the sequence</a>

%F a(n) = A049502(A051953(n)).

%e For n = 30, cototient(n) = 22 and major index (2nd definition) of 22 is 3. So, a(n) = 3.

%Y Cf. A049502, A051953, A280726, A280799, A280800.

%K nonn

%O 1,30

%A _Indranil Ghosh_, Jan 08 2017