[Graphics:HTMLFiles/index_1.gif]

m={{0,1,0,0},{0,0,1,1},{1,0,0,0},{0,0,1,0}}

{{0, 1, 0, 0}, {0, 0, 1, 1}, {1, 0, 0, 0}, {0, 0, 1, 0}}

m2=m.m

{{0, 0, 1, 1}, {1, 0, 1, 0}, {0, 1, 0, 0}, {1, 0, 0, 0}}

m3=m2.m

{{1, 0, 1, 0}, {1, 1, 0, 0}, {0, 0, 1, 1}, {0, 1, 0, 0}}

m4=m3.m

{{1, 1, 0, 0}, {0, 1, 1, 1}, {1, 0, 1, 0}, {0, 0, 1, 1}}

m1234=m+m2+m3+m4

{{2, 2, 2, 1}, {2, 2, 3, 2}, {2, 1, 2, 1}, {1, 1, 2, 1}}

m //MatrixForm

0   1   0   0

0   0   1   1

1   0   0   0

0   0   1   0

m2 //MatrixForm

0   0   1   1

1   0   1   0

0   1   0   0

1   0   0   0

m3 //MatrixForm

1   0   1   0

1   1   0   0

0   0   1   1

0   1   0   0

m4 //MatrixForm

1   1   0   0

0   1   1   1

1   0   1   0

0   0   1   1

m1234 //MatrixForm

2   2   2   1

2   2   3   2

2   1   2   1

1   1   2   1

Converted by Mathematica  (July 7, 2003)