a(n) = the number of distinct nonnegative decimal values k of substrings in the binary representation of n where k+1 is also the value of at least one substring in the binary representation of n.

A166395

a(n) = the number of distinct nonnegative decimal values k of substrings in the binary representation of n where k+1 is also the value of at least one substring in the binary representation of n.

Terms

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

External references