[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

a(n) = A049501(cototient(n)).
3

%I #12 Jan 08 2017 12:25:29

%S 0,0,0,1,0,1,0,1,0,2,0,1,0,1,0,1,0,2,0,2,1,2,0,1,1,3,1,1,0,5,0,1,2,5,

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

%U 2,6,0,2,0,6,1,4,1,7,0,2,2,9,0,4,4,5,0,2,0,7,1,2,1,2,1,1,0,3,1,4,0,7,0,3,3,7,0,5,0

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

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

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

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

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

%e For n = 10, A051953(n) = 6 and major index (1st definition) of 6 is 2. So, a(10) = 2.

%Y Cf. A049501, A051953, A280726, A280799.

%K nonn

%O 1,10

%A _Indranil Ghosh_, Jan 08 2017