For what values of $n$ does every element of the group of units of $\mathbb{Z}_n$ have order dividing 2?
If n is such that every element $(\mathbb{Z}/n\mathbb{Z})^{\times}$ is a root of $x^2-1$. Prove that $n$ divides 24.