Number of runs of odd length in the base-2 representation of n.

A044942

Number of runs of odd length in the base-2 representation of n.

Terms

    a(0) =1a(1) =2a(2) =0a(3) =1a(4) =3a(5) =1a(6) =1a(7) =2a(8) =2a(9) =4a(10) =2a(11) =0a(12) =2a(13) =2a(14) =0a(15) =1a(16) =3a(17) =3a(18) =1a(19) =3a(20) =5a(21) =3a(22) =3a(23) =1a(24) =1a(25) =3a(26) =1a(27) =1a(28) =3a(29) =1

External references