login
A107338
224 Pisot cubic substitution with characteristic polynomial:x^3-4*x^2+2*x-2.
0
1, 2, 1, 3, 2, 1, 3, 1, 2, 1, 3, 2, 1, 1, 3, 3, 1, 2, 1, 3, 2, 1, 1, 3, 1, 2, 1, 3, 2, 1, 3, 1, 2, 1, 3, 2, 1, 1, 3, 3, 1, 2, 1, 3, 2, 1, 1, 2, 1, 3, 2, 1, 1, 3, 1, 3, 1, 2, 1, 3, 2, 1, 3, 1, 2, 1, 3, 2, 1, 1, 3, 3, 1, 2, 1, 3, 2, 1, 1, 2, 1, 3, 2, 1, 1, 3, 1, 2, 1, 3, 2, 1, 3, 1, 2, 1, 3, 2, 1, 1, 3, 3, 1, 2, 1
OFFSET
0,2
FORMULA
1->{1, 2, 1, 3, 2, 1}, 2->{3}, 3->{1, 3}
MATHEMATICA
s[1] = {1, 2, 1, 3, 2, 1}; s[2] = {3}; s[3] = {1, 3}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] aa = p[4]
CROSSREFS
Sequence in context: A304089 A209281 A240554 * A118123 A181743 A330727
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, May 22 2005
STATUS
approved