login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A377169
Nonnegative integers containing isolated ones in their binary representation.
3
1, 2, 4, 5, 8, 9, 10, 11, 13, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 29, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 52, 53, 57, 58, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87
OFFSET
1,2
COMMENTS
A 1 is isolated if it's not adjacent to another 1.
EXAMPLE
19 is a term because 19 = 10011_2 contains one isolated 1.
74 is a term because all ones in 74 = 1001010_2 are isolated.
MATHEMATICA
Select[Range[150], MemberQ[Split[IntegerDigits[#, 2]], {1}] &]
CROSSREFS
Complement of A144795.
Sequence in context: A130048 A189633 A032891 * A035262 A010440 A072008
KEYWORD
nonn,base,easy
AUTHOR
Paolo Xausa, Oct 18 2024
STATUS
approved