OFFSET
1,2
COMMENTS
The sequence (a(n)/n) diverges.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
MATHEMATICA
z = 11; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "011", "10" -> "011"}]
TableForm[Table[w[n], {n, 0, 10}]]
st = ToCharacterCode[w[z]] - 48 (* A288936 *)
Flatten[Position[st, 0]] (* A288937 *)
Flatten[Position[st, 1]] (* A288938 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 28 2017
STATUS
approved