login
A289153
Length of n-th iterate of the mapping 00->0010, 01->100, 10->000 in A289235.
2
2, 4, 7, 12, 22, 39, 68, 122, 217, 385, 687, 1224, 2181, 3895, 6945, 12363, 22001, 39161, 69711, 124107, 220901, 393356, 700465, 1247432, 2221413, 3955905, 7044756, 12545540, 22340117, 39782044, 70842477
OFFSET
0,1
MATHEMATICA
z = 22; (* number of iterates *)
s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "100", "10" -> "000"}];
st = ToCharacterCode[w[z]] - 48 ; (* A289235 *)
v = Table[StringLength[w[n]], {n, 0, 30}] (* A289153 *)
CROSSREFS
Cf. A289235.
Sequence in context: A287439 A026713 A288996 * A289019 A254685 A002573
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 29 2017
EXTENSIONS
Name corrected by Michel Dekking, Mar 02 2022
STATUS
approved