Number of zeros in the longest string of consecutive zeros in the binary representation of n.

A087117

Number of zeros in the longest string of consecutive zeros in the binary representation of n.

Terms

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

External references