|
|
A288996
|
|
Length of n-th iterate of the mapping 00->0010, 01->001, 10->000, starting with 00.
|
|
2
|
|
|
2, 4, 7, 12, 22, 39, 68, 121, 213, 379, 676, 1206, 2155, 3832, 6823, 12156, 21658, 38584, 68716, 122402, 218016, 388317, 691583, 1231599, 2193224, 3905575, 6954709, 12384775, 22053977, 39271946, 69933281, 124534373, 221766354, 394914918, 703253649, 1252338238
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|