OFFSET
1,6
MATHEMATICA
v[1] = {{0, 1, 1}, {1, 1, 2}, {1, 2, 4}}
M1 = {{0, 1, 0}, {0, 0, 1}, {1, 0, 0}}
M2 = {{1, 1, 1}, {0, 0, 1}, {0, 1, 0}}
M = {M1, M1, M2}
v[n_] := v[n] = M.v[n - 1]
a = Table[v[n], {n, 1, 4}]
aa = Flatten[a]
CROSSREFS
KEYWORD
nonn,uned,obsc,less
AUTHOR
Roger L. Bagula, Apr 13 2005
STATUS
approved