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”).

Runs of odd length in the base 4 representation of n.
0

%I #6 Mar 20 2023 16:44:52

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

%T 3,3,1,3,3,1,1,1,1,3,3,3,1,1,3,3,3,3,1,3,3,3,3,1,3,1,1,1,1,2,2,2,2,4,

%U 2,4,4,4,4,2,4,4,4,4,2,0,2,2,2,2,0,2,2,2,2,0

%N Runs of odd length in the base 4 representation of n.

%t Table[Count[Length/@Split[IntegerDigits[n,4]],_?OddQ],{n,100}] (* _Harvey P. Dale_, Mar 20 2023 *)

%K nonn,base

%O 1,4

%A _Clark Kimberling_