[go: up one dir, main page]

login
A107297
Limit of the string substitution 1->{1, 3, 1, 1}, 2->{1}, 3->{2}.
0
1, 3, 1, 1, 2, 1, 3, 1, 1, 1, 3, 1, 1, 1, 1, 3, 1, 1, 2, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 2, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 2, 1, 3, 1, 1, 1, 3, 1, 1, 1, 1, 3, 1, 1, 2, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 2, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 2, 1, 3, 1, 1, 1, 3, 1, 1, 1, 1, 3, 1, 1, 2, 1, 3
OFFSET
1,2
MATHEMATICA
s[1] = {1, 3, 1, 1}; s[2] = {1}; s[3] = {2};
t[a_] := Flatten[s /@ a];
p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]]
aa = p[5]
CROSSREFS
Sequence in context: A176494 A157229 A242248 * A107296 A080847 A326406
KEYWORD
nonn
AUTHOR
Roger L. Bagula, May 20 2005
EXTENSIONS
Edited by and meaningful name from Joerg Arndt, Jun 30 2023
STATUS
approved