Let Matrix
$$A= \left( \begin{array}{ccc} 1 & 2& 3 \\ 0 & 1 & 0 \\ 0 & 5 & -1 \end{array} \right) $$
Compute $A^{25}$ using the cayley hamilton theorum
I know i use $-A^3+A^2+A-1=0$ but how do i make $A^{25}$ simper using this?
thanks for any help, much appreciated
$$A^{25}=A(A^3)^8=A(A^2+A-I)^8=\cdots$$