A377167 Nonnegative integers containing isolated zeros in their binary representation.
0, 2, 5, 6, 10, 11, 13, 14, 18, 20, 21, 22, 23, 26, 27, 29, 30, 34, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 50, 52, 53, 54, 55, 58, 59, 61, 62, 66, 69, 70, 74, 75, 77, 78, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 98, 101, 102, 104, 105, 106
Offset: 1
Examples
18 is a term because 18 = 10010_2 contains one isolated 0. 85 is a term because all zeros in 85 = 1010101_2 are isolated.
Links
- Paolo Xausa, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[Range[0, 150], MemberQ[Split[IntegerDigits[#, 2]], {0}] &]
Formula
{ k : k=0 or 2k+1 in {A004748} }.
Comments