Prove that $ U(n^2−1)$ is not cyclic

Prove that $U(n^2−1)$ is not cyclic, where $U(m)$ is the multiplicative group of units of the integers modulo $m$.


Solution 1:

For $n > 2$, $U(n^2-1)$ contains (at least) four distinct elements $x$ with $x^2 = 1$, namely $\pm 1, \pm n$ and this doesn't happen in cyclic groups. Note that $n$ is coprime to $n^2 - 1$ because $$n*n + (-1)(n^2 - 1) = 1.$$