OFFSET
1,1
MATHEMATICA
z = 20; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "001", "10" -> "000"}]
TableForm[Table[w[n], {n, 0, 10}]]
Table[StringLength[w[n]], {n, 0, 20}] (* A288996 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 25 2017
EXTENSIONS
a(27)-a(35) from Lars Blomberg, Jul 05 2017
STATUS
approved