OFFSET
1,2
COMMENTS
Conjecture: a(n)/n->sqrt(2), and -1 < sqrt(2)-a(n)/n < -1 + sqrt(2) for n >= 1.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..24969
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" -> "001"}]
TableForm[Table[w[n], {n, 0, 10}]]
st = ToCharacterCode[w[z]] - 48 (* A289025 *)
Flatten[Position[st, 0]] (* A289026 *)
Flatten[Position[st, 1]] (* A289027 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 27 2017
STATUS
approved