login
a(n) = A049502(phi(n)).
4

%I #8 Jan 08 2017 11:42:55

%S 0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,2,3,0,3,0,2,0,0,0,0,0,3,0,

%T 0,0,3,2,0,0,4,0,6,3,0,3,4,0,6,3,0,0,3,2,4,0,3,0,2,0,0,0,3,0,0,3,2,0,

%U 4,0,3,0,4,3,4,3,0,0,4,0,3,4,7,0,0,6,0,4,5,0,4,4,0,4,4,0,0,6,0,4,3,0,3,0,0,3,6,3,4

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

%C a(n) = Major index (2nd definition) of the total numbers <=n and prime to n i.e., phi(n).

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

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

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

%e For n = 11, phi(n) = 10 and major index (2nd definition) of 10 = 2. So a(n) = 2.

%Y Cf. A000010, A049502, A279519, A280062, A280726.

%K nonn

%O 1,11

%A _Indranil Ghosh_, Jan 08 2017