login
A284848
{1100->1}-transform of the Thue-Morse word A010060.
3
0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1
OFFSET
1
LINKS
EXAMPLE
As a word, A010060 = 0110100110010110100101100..., and replacing each 1100 by 1 gives 011010011011010010111010011011...
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0}}] &, {0}, 9] (* A010060 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"1100" -> "1"}]
st = ToCharacterCode[w1] - 48 (* A284848 *)
Flatten[Position[st, 0]] (* A285091 *)
Flatten[Position[st, 1]] (* A285092 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 10 2017
STATUS
approved