|
|
A286049
|
|
{110->1}-transform of the Thue-Morse word A010060.
|
|
3
|
|
|
0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1
|
|
COMMENTS
|
This is also the {100->0}-transform of A010060.
|
|
LINKS
|
|
|
EXAMPLE
|
As a word, A010060 = 0110100110010110100101100..., and replacing each 011 by 1 gives 01100101011001010110010101011001...
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|