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

A287801
{0->100, 1->001}-transform of the infinite Fibonacci word A003849.
3
1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0
OFFSET
1
COMMENTS
As a word, A003849 = 0100101001001010010100100..., and replacing each 0 by 100 and each 1 by 001 gives 100001100100001100001100100001...
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 10] (* A003849 *)
w = StringJoin[Map[ToString, s]]
w1 = StringReplace[w, {"0" -> "100", "1" -> "001"}]
st = ToCharacterCode[w1] - 48 (* A287801 *)
Flatten[Position[st, 0]] (* A287802 *)
Flatten[Position[st, 1]] (* A287803 *)
CROSSREFS
Sequence in context: A359464 A011746 A071005 * A089510 A138885 A185115
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 03 2017
STATUS
approved