%I #7 Jan 16 2021 06:39:11
%S 1,0,1,1,2,0,0,2,3,1,1,1,1,1,0,3,2,2,2,2,2,0,1,2,1,0,1,2,2,1,1,4,1,1,
%T 3,3,1,1,3,3,2,1,0,1,2,2,1,3,1,0,2,1,2,0,2,3,2,1,3,2,2,0,2,5,0,2,2,2,
%U 1,2,3,4,4,0,3,2,0,2,2,4,3,1,1,2,3,1,0,2,3,1,4,3,3,0,1,4,1,0,1,1,2,1,0,2,3
%N Number of 1-digits in the ternary representation of A048673(n).
%C Binary weight of A304759(n).
%H Antti Karttunen, <a href="/A340378/b340378.txt">Table of n, a(n) for n = 1..16384</a>
%H <a href="/index/Pri#prime_indices">Index entries for sequences computed from indices in prime factorization</a>
%F a(n) = A062756(A048673(n)) = A000120(A304759(n)).
%F a(n) = A286585(n) - 2*A340379(n).
%o (PARI) A340378(n) = hammingweight(A304759(n));
%Y Cf. A000120, A048673, A062756, A286585, A304759, A340379.
%Y Cf. A340376 (positions of zeros).
%K nonn
%O 1,5
%A _Antti Karttunen_, Jan 15 2021
|