%I A054868
%S A054868 0,1,1,1,1,1,1,2,1,1,1,2,1,2,2,1,1,1,1,2,1,2,2,1,1,2,2,1,2,1,1,2,1,1,1,
%T A054868 2,1,2,2,1,1,2,2,1,2,1,1,2,1,2,2,1,2,1,1,2,2,1,1,2,1,2,2,2,1,1,1,2,1,2,
%U A054868 2,1,1,2,2,1,2,1,1,2,1,2,2,1,2,1,1,2,2,1,1,2,1,2,2,2,1,2,2
%N A054868 Sum of bits of sum of bits of n.
%H A054868 <a href="Sindx_Bi.html#binary">Index entries for sequences related to
binary expansion of n</a>
%H A054868 Michael Gilleland, <a href="selfsimilar.html">Some Self-Similar Integer
Sequences</a>
%e A054868 a(127) = 3 since 127 in base 2 is 1111111, whose sum of bits is 7 and
7 in base 2 is 111, whose sum of bits is 3
%Y A054868 A000120(A000120(n)).
%Y A054868 Sequence in context: A156775 A064693 A072085 this_sequence A065081 A025909
A025899
%Y A054868 Adjacent sequences: A054865 A054866 A054867 this_sequence A054869 A054870
A054871
%K A054868 nonn
%O A054868 0,8
%A A054868 Jeffrey Shallit (shallit(AT)uwaterloo.ca), May 15 2000
|