login
A289019
Length of n-th iterate of the mapping 00->0010, 01->010, 10->000, starting with 00.
2
2, 4, 7, 12, 22, 39, 69, 122, 217, 386, 687, 1224, 2181, 3883, 6910, 12305, 21906, 38991, 69421, 123609, 220110, 391929, 697931, 1242873, 2213237, 3941323, 7018445, 12497917, 22255832, 39632383, 70576606, 125680814, 223808756
OFFSET
1,1
MATHEMATICA
z = 32; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "010", "10" -> "000"}]
Table[StringLength[w[n]], {n, 0, z}] (* A289019 *)
CROSSREFS
Cf. A289016.
Sequence in context: A026713 A288996 A289153 * A254685 A002573 A288317
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 27 2017
STATUS
approved