OFFSET
0,1
COMMENTS
Digraph matrix is: M={{0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}, {1, 1, 1, 0}}
FORMULA
1->{2}, 2->{3}, 3->{4}, 5->{1, 2, 3}
MATHEMATICA
s[1] = {2}; s[2] = {3}; s[3] = {4}; s[4] = {1, 2, 3}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] aa = p[15]
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, May 12 2005
STATUS
approved