login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A270888
Numbers written in binary balanced system (A270885) have exactly three zeros.
2
8, 12, 14, 15, 33, 34, 35, 36, 38, 39, 40, 44, 46, 47, 49, 50, 51, 52, 54, 55, 57, 58, 59, 61, 133, 137, 138, 139, 141, 145, 146, 147, 148, 150, 151, 153, 154, 155, 157, 161, 162, 163, 164, 166, 167, 168, 172, 174, 175, 177, 178, 179, 180, 182, 183, 185, 186
OFFSET
1,1
LINKS
Vladimir Shevelev, Two analogs of Thue-Morse sequence, arXiv:1603.04434 [math.NT], 2016.
EXAMPLE
14 = 2^3+2^2+2 = 2^4-2^3+2^3-2^2+2^2-2 = 2^4-2 = 100-10_b. So, 14 is a member.
MATHEMATICA
Select[Range@ 186, Count[Plus @@ {PadRight[#, Length@ # + 1], -PadLeft[#, Length@ # + 1]} &@ IntegerDigits[#, 2], 0] == 3 &] (* 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