OFFSET
1,1
LINKS
Vladimir Shevelev, Two analogs of Thue-Morse sequence, arXiv:1603.04434 [math.NT], 2016.
EXAMPLE
43 = 2^5+2^3+2+1 = 2^6-2^5+2^4-2^3+2^2-2+2-1 = 1-11-110-1_b. So 43 is a member.
MATHEMATICA
Select[Range@ 11000, Count[Plus @@ {PadRight[#, Length@ # + 1], -PadLeft[#, Length@ # + 1]} &@ IntegerDigits[#, 2], 0] == 1 &] (* 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
