login
A286051
Positions of 1 in A286049; complement of A286050.
3
2, 3, 6, 8, 10, 11, 14, 16, 18, 19, 22, 24, 26, 28, 29, 32, 34, 35, 38, 40, 42, 43, 46, 48, 50, 51, 54, 56, 57, 60, 62, 64, 66, 67, 70, 72, 74, 75, 78, 80, 82, 83, 86, 88, 90, 92, 93, 96, 98, 99, 102, 104, 106, 108, 109, 112, 114, 116, 117, 120, 122, 124
OFFSET
1,1
COMMENTS
Conjecture: 2n - a(n) is in {0,1} for n >= 1.
Also, the positions of 1 in the {100->0}-transform of A010060.
LINKS
EXAMPLE
As a word, A286049 = 0110010101100101..., in which 1 is in positions 2,3,6,8,10,...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* Thue-Morse, A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"110" -> "1"}]
st = ToCharacterCode[w1] - 48 (* A286049 *)
Flatten[Position[st, 0]] (* A286050 *)
Flatten[Position[st, 1]] (* A286051 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 07 2017
STATUS
approved