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

A286804
{000->null}-transform of the Pell word, A171588.
6
0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0
OFFSET
1
COMMENTS
A171588 = 001001000100100010010010001001..., and deleting each occurrence of 000 gives 00100110011001001100110..., in which the positions of 0 are given by A286805, and of 1, by A286806.
LINKS
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 0, 1}, 1 -> {0}}] &, {0}, 16]; (* Pell word, A171588 *)
w = StringJoin[Map[ToString, s]];
w1 = StringReplace[w, {"000" -> ""}];
st = ToCharacterCode[w1] - 48 ; (* A286804 *)
Flatten[Position[st, 0]]; (* A286805 *)
Flatten[Position[st, 1]]; (* A286806 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 16 2017
STATUS
approved