Let
$$M = \begin{bmatrix} 0 &1 & 0 \\ 0 & 0 & 1\\ 1 & 0 & 0 \\ \end{bmatrix}$$
How can I quickly find $M^{100}$? Do I need to find a pattern of how many it takes to get to the identity? That seems tedious with a $3 \times 3$ matrix. This question comes from the GRE subject exam.
You could recognize this is a permutation matrix. It moves $e_1$ to $e_3$, moves $e_2$ to $e_1$, and $e_3$ to $e_2$. If you are familiar with cycle notation for permutation groups, this is the cycle $(132)$.
What is $(132)^{100}$? What is that written back again as a $3\times3$ matrix in this manner?