OFFSET
1,1
COMMENTS
Conjecture: a(n)/n -> 4.55..., and if m denotes this numbrer, then -1 < m - a(n)/n < -3 + m for n >= 1.
MATHEMATICA
z = 11; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "010", "10" -> "000"}]
TableForm[Table[w[n], {n, 0, 10}]]
st = ToCharacterCode[w[z]] - 48 (* A289016 *)
Flatten[Position[st, 0]] (* A289017 *)
Flatten[Position[st, 1]] (* A289018 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 26 2017
STATUS
approved