login
Nonnegative integers containing isolated zeros in their binary representation.
3

%I #19 Oct 20 2024 16:07:37

%S 0,2,5,6,10,11,13,14,18,20,21,22,23,26,27,29,30,34,37,38,40,41,42,43,

%T 44,45,46,47,50,52,53,54,55,58,59,61,62,66,69,70,74,75,77,78,80,81,82,

%U 83,84,85,86,87,88,89,90,91,92,93,94,95,98,101,102,104,105,106

%N Nonnegative integers containing isolated zeros in their binary representation.

%C A 0 is isolated if it's not adjacent to another 0.

%H Paolo Xausa, <a href="/A377167/b377167.txt">Table of n, a(n) for n = 1..10000</a>

%F { k : k=0 or 2k+1 in {A004748} }.

%e 18 is a term because 18 = 10010_2 contains one isolated 0.

%e 85 is a term because all zeros in 85 = 1010101_2 are isolated.

%t Select[Range[0, 150], MemberQ[Split[IntegerDigits[#, 2]], {0}] &]

%Y Complement of A175054.

%Y Cf. A004748, A007088, A377169.

%K nonn,base,easy

%O 1,2

%A _Paolo Xausa_, Oct 18 2024