OFFSET
1,1
LINKS
Vladimir Shevelev, Two analogs of Thue-Morse sequence, arXiv:1603.04434 [math.NT], 2016.
EXAMPLE
30=2^4+2^3+2^2+2^1=2^5-2^4+2^4-2^3+2^3-2^2+2^2-2=2^5-2=1000-10_b, so 30 is a member.
MATHEMATICA
Select[Range@ 300, Length[Plus @@ {PadRight[#, Length[#] + 1], -PadLeft[#, Length[#] + 1]} &@ IntegerDigits[#, 2] /. k_ /; k != 0 -> Nothing] == 4 &] (* Michael De Vlieger, Apr 14 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Apr 14 2016
EXTENSIONS
More terms from Peter J. C. Moses, Apr 14 2016
STATUS
approved