Number of runs of 1's in the binary representation of n.

A069010

Number of runs of 1's in the binary representation of n.

Terms

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

External references