Show that over $\mathbb{Z}_7$, $x^5-1$ has no roots other than 1.
I know I can iterate through each member of $\mathbb{Z}_7$ and show that each one, when raised to the 5th power, is not equal to 1 mod 7, but is there an easier way, or a more general way?
Any nontrivial root of $x^5-1$ will be an element of order $5$ in $\mathbb{Z}_7^\times$, which has order $6$. This cannot happen because of Lagrange's theorem.
Alternatively, if $x^5=1$ then $x\ne0$ and so $x^6=1$ by Fermat's theorem. But then $1=x^6=xx^5=x$.