Number of digits that must be counted from left to right to reach the last 1 in the binary representation of n.

A070940

Number of digits that must be counted from left to right to reach the last 1 in the binary representation of n.

Terms

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

External references