OFFSET
1,1
COMMENTS
Conjecture: a(n)/n -> a(n)/n -> 2+sqrt(2), and 0 < 2+sqrt(2)-a(n)/n < = 1 n >= 1.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
MATHEMATICA
z = 11; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "100", "10" -> "100"}]
TableForm[Table[w[n], {n, 0, 10}]]
st = ToCharacterCode[w[z]] - 48 (* A289242 *)
Flatten[Position[st, 0]] (* A289243 *)
Flatten[Position[st, 1]] (* A289244 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 01 2017
STATUS
approved