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”).

A285958
Positions of 0 in A285957; complement of A285959.
3
1, 3, 4, 5, 7, 8, 9, 11, 12, 13, 14, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 30, 31, 32, 33, 35, 36, 37, 39, 40, 41, 43, 44, 45, 46, 48, 49, 51, 52, 53, 54, 56, 57, 58, 60, 61, 62, 64, 65, 67, 68, 69, 71, 72, 73, 75, 76, 77, 78, 80, 81, 83, 84, 85, 87, 88
OFFSET
1,2
COMMENTS
Conjecture: a(n)/n -> 4/3.
LINKS
EXAMPLE
As a word, A285957 = 010001000100001..., in which 0 is in positions 1,3,4,5,7,8,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* Thue-Morse, A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"01" -> "0"}]
st = ToCharacterCode[w1] - 48 (* A285957 *)
Flatten[Position[st, 0]] (* A285958 *)
Flatten[Position[st, 1]] (* A285959 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 05 2017
STATUS
approved