Suppose $g{^n}$=e. Show the order of $g$ divides $n$.
Would I use Eulers Theorem???;
$a{^{\phi p}}$ $\equiv1 \pmod p$
$a{^{p-1}}\equiv1 \pmod p$
$a{^p}\equiv a\pmod p$
So then I would have
$g{^n}\equiv g\pmod n$
then I think you use the $\gcd$, which states $\gcd(a,b) = 1$
or
$a=nq+r$ and $b=nq+r$
which is $a\equiv b\pmod n$??