OFFSET
1,1
LINKS
Vladimir Shevelev, Two analogs of Thue-Morse sequence, arXiv:1603.04434 [math.NT], 2016.
EXAMPLE
19 = 2^4+2+1 = 2^5-2^4+2^2-2+2-1 = 1-1010-1_b. So 19 is a member.
MATHEMATICA
Select[Range@ 361, Count[Plus @@ {PadRight[#, Length@ # + 1], -PadLeft[#, Length@ # + 1]} &@ IntegerDigits[#, 2], 0] == 2 &] (* Michael De Vlieger, Mar 25 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Mar 25 2016
EXTENSIONS
More terms from Peter J. C. Moses, Mar 25 2016
STATUS
approved