A107292 3-symbol substitution with characteristic real root polynomial:m x^3-2*x^2-2*x+2.
1, 3, 3, 1, 2, 2, 1, 3, 3, 1, 3, 1, 3, 3, 1, 3, 1, 3, 3, 1, 2, 2, 1, 3, 3, 1, 2, 1, 3, 3, 1, 2, 2, 1, 3, 3, 1, 2, 1, 3, 3, 1, 2, 2, 1, 3, 3, 1, 3, 1, 3, 3, 1, 3, 1, 3, 3, 1, 2, 2, 1, 3, 3, 1, 3, 1, 3, 1, 3, 3, 1, 2, 2, 1, 3, 3, 1, 3, 1, 3, 3, 1, 3, 1, 3, 3, 1, 2, 2, 1, 3, 3, 1, 3, 1, 3, 1, 3, 3, 1, 2, 2, 1, 3, 3
Offset: 0
Programs
-
Mathematica
s[1] = {1, 3, 3, 1}; s[2] = {3, 1, 3}; 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]
Formula
1->{1, 3, 3, 1}, 2->{3, 1, 3}, 3->{2}
Comments