A377169 Nonnegative integers containing isolated ones in their binary representation.
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
Examples
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.
Links
- Paolo Xausa, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[Range[150], MemberQ[Split[IntegerDigits[#, 2]], {1}] &]
Comments