|
|
A106589
|
|
Three-symbol substitution based on Rauzy: adding one 3 to second substitution: characteristic polynomial: x^3-x^2-2*x-2.
|
|
0
|
|
|
2, 3, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 3, 3, 1, 2, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 3, 3, 1, 2, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 3, 3, 1, 2, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 3, 3, 1, 2, 3, 1, 2, 3, 2, 3, 3, 1, 2, 3, 3, 3, 1, 2, 3, 1, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
1->{2}, 2->{3, 3} 3->{1, 2, 3}.
|
|
MATHEMATICA
|
s[1] = {2}; s[2] = {3, 3}; s[3] = {1, 2, 3}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] aa = p[7]
|
|
PROG
|
(PARI) {a(n)=my(A); if(n<1, 0, A=[2]; while(length(A)<n||A[1]!=2, A=concat(vector(length(A), k, [[2], [3, 3], [1, 2, 3]][A[k]]))); A[n])} /* Michael Somos, May 16 2005 */
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,uned
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|