Let $A \in \mathcal{M}_{n}(\mathbb{C})$ such that $A^{n} = \mathrm{I}_{n}$ and the family $(\mathrm{I}_{n},\ldots,A^{n-1})$ is linearly independent. I would like to prove that $\mathrm{Tr}(A) = 0$.
Here is what I tried : since $X^{n}-1$ is a null polynomial of $A$ and the roots of $X^{n}-1$ have all multiplicity equal to $1$, the minimal polynomial of $A$ has simple roots and $A$ is diagonalizable. If $\mathrm{Sp}(A)$ denotes the set of complex eigenvalues of $A$, then $\mathrm{Sp}(A) \subset \mathbb{U}_{n}$, where :
$$ \mathbb{U}_{n} = \left\{ \exp\Big( \frac{2ik \pi}{n} \Big), \; k = 0,\ldots,n-1 \right\}. $$
If I could prove that $\mathbb{U}_{n} \subset \mathrm{Sp}(A)$, then it would be easy to see that $\mathrm{Tr}(A) = 0$. I don't know how to prove this inclusion.
Hint: Since $A^n - I = 0$, the minimal polynomial of $A$ divides $x^n - 1$. Since $(I,\dots,A^{n-1})$ are linearly independent, the minimal polynomial must have degree $n$.
We conclude that the minimal polynomial of $A$ is $q(x)= x^{n} - 1$.