MatrixPower¶ Integer power of a square matrix. $ wo 'MatrixPower[{{1, 1}, {0, 1}}, 3]' {{1, 3}, {0, 1}}