login
A285957
{01->0}-transform of the Thue-Morse word A010060.
3
0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1
OFFSET
1
COMMENTS
This is also the {10->0}-transform of the Thue-Morse word A010060.
LINKS
EXAMPLE
As a word, A010060 = 0110100110010110100101100..., and replacing each 01 by 0 gives 01000100010000100100010001...
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