For what $n$ natural number does there exist a real $2\times 2$ matrix $A$, such that $A^n = I$?
$n=2,3$ clearly works, because $(-I)^2 = I$, and for $n=3$ we have $\left( \begin{smallmatrix} -2 & 1\\ -3 & 1 \\\end{smallmatrix} \right)$
However, I only found these by luck, and I really don't know how to go about this question. By what method should I try to find the answer to this question?