login
A286752
{010010->null}-transform of the infinite Fibonacci word A003849.
3
1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0
OFFSET
1
COMMENTS
As a word, A003849 = 01001010010010100101001001010010..., and deleting each occurrence of 010010 gives 10100101011010010101101001001..., in which the positions of 0 are given by A286753, and of 1, by A286754.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 12]; (* A003849 *)
w = StringJoin[Map[ToString, s]];
w1 = StringReplace[w, {"010010" -> ""}];
st = ToCharacterCode[w1] - 48; (* A286752 *)
Flatten[Position[st, 0]]; (* A286753 *)
Flatten[Position[st, 1]]; (* A286754 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 14 2017
STATUS
approved