login
a(n) = A007814(A005187(n)).
2

%I #6 Feb 28 2019 18:53:38

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

%T 0,1,0,0,1,1,0,0,1,0,1,3,0,1,0,0,1,0,1,3,0,0,1,4,0,2,0,0,3,0,7,1,0,1,

%U 0,0,1,1,0,0,1,0,1,3,0,1,0,0,1,0,1,3,0,0,1,4,0,2,0,0,3,1,0,0,1,0,1,3,0,0,1

%N a(n) = A007814(A005187(n)).

%H Antti Karttunen, <a href="/A324379/b324379.txt">Table of n, a(n) for n = 1..65537</a>

%H <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>

%F a(n) = A007814(A005187(n)).

%o (PARI) A324379(n) = { my(s=n); while(n>>=1, s+=n); valuation(s,2); };

%Y Cf. A005187, A007814, A277808, A324377.

%K nonn

%O 1,3

%A _Antti Karttunen_, Feb 28 2019