|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|