OFFSET
0,6
EXAMPLE
Since M*A[0]=[[1,1,2],[1,2,2],[1,2,3]], the 1st group (following the 0th group) of 9 terms are 1,1,2,1,2,2,1,2,3.
MAPLE
with(linalg): M:=matrix(3, 3, [0, 1, 0, 0, 0, 1, 1, 1, 0]): A[0]:=matrix(3, 3, [0, 1, 1, 1, 1, 2, 1, 2, 2]): for n from 1 to 11 do A[n]:=multiply(M, A[n-1]) od: seq(seq(seq(A[k][i, j], j=1..3), i=1..3), k=0..11);
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Aug 31 2004
EXTENSIONS
Edited by N. J. A. Sloane, May 20 2006
STATUS
approved