OFFSET
0,2
COMMENTS
Matrix: M={{0, 0, 0, 1}, {0, 0, 1, 1}, {0, 1, 0, 1}, {1, 1, 1, 1}} Characteristic Polynomial: x^4-x^3-4*x^2-x-1
FORMULA
1->{4}, 2->{3, 4}, 3->{2, 4}, 4->{1, 2, 3, 4}
MATHEMATICA
s[1] = {4}; s[2] = {3, 4}; s[3] = {2, 4}; s[4] = {1, 2, 3, 4}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]]; p[6]//Flatten
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, May 27 2005
STATUS
approved