$A=\begin{bmatrix}0 & 1 & 0\\ 1 & 0 & 1\\ 1 & 0 & 0\end{bmatrix}$
How can I use Cayley–Hamilton theorem to calculate $A^{12}$?