login
A287125
Fixed point of the mapping 00->001, 1->110, starting with 00.
4
0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1
OFFSET
1
LINKS
EXAMPLE
Iterates, starting with 00:
00
001
001110
0011101101100
00111011011001101100110110001
MATHEMATICA
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "001", "1" -> "110"}]
Table[w[n], {n, 0, 8}]
st = ToCharacterCode[w[11]] - 48 (* A287125 *)
Flatten[Position[st, 0]] (* A287126 *)
Flatten[Position[st, 1]] (* A287127 *)
Table[StringLength[w[n]], {n, 1, 35}] (* A287128 conjectured *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 06 2017
STATUS
approved