Consider the runs of 0's in the binary representation of n, each of these runs being on the edge of the binary representation n and/or being bounded by 1's. a(n) = the length of the shortest such run (with positive length) of 0's in binary n. a(n) = 0 if there are no runs of 0's in binary n.
A144789
Consider the runs of 0's in the binary representation of n, each of these runs being on the edge of the binary representation n and/or being bounded by 1's. a(n) = the length of the shortest such run (with positive length) of 0's in binary n. a(n) = 0 if there are no runs of 0's in binary n.
Terms
- a(0) =0a(1) =1a(2) =0a(3) =2a(4) =1a(5) =1a(6) =0a(7) =3a(8) =2a(9) =1a(10) =1a(11) =2a(12) =1a(13) =1a(14) =0a(15) =4a(16) =3a(17) =1a(18) =2a(19) =1a(20) =1a(21) =1a(22) =1a(23) =3a(24) =2a(25) =1a(26) =1a(27) =2a(28) =1a(29) =1
External references
- oeis: A144789