let $3 \le n \in N$ for which there exists a primitive root modulo n. Show that the number of solutions of $x^2 \equiv 1 \pmod n$ is 2
what it tried - i tried showing x and 1 as the primitive root (a) and got to
$a^{x^2} \equiv a^0 \pmod n$
then
$x^2 \equiv 0 \pmod {\phi (n)}$
and then im stuck ..
any help will be appriciated
If there is a primitive root $a$, then $\Bbb Z_n^\times$ is cyclic. That is, $$a,a^2,\ldots,a^{\phi(n)}$$ is an exhaustive list of the elements of the group.
Let's say that $a^k$, $1\le k\le\phi(n)$ is a solution, that is, $a^{2k}=1$, or $\phi(n)\mid 2k$. Since $k\le\phi(n)$, then $k$ must be $\phi(n)$ or $\phi(n)/2$. Note that $\phi(n)$ is even for $n\ge 3$.
Remark: you wrote $a^{x^2}$ where it probably should be $a^{2x}$.