Prove that in $\mathbb{Z}_p$, $[a]^{-1} = [a]$ if and only if $[a]=[1]$ or $[a]=[p-1]$

111 Views Asked by At

Let $p$ be a prime and a an integer. Prove that in $\mathbb{Z}_p$, $[a]^{-1} = [a]$ if and only if $[a]=[1]$ or $[a]=[p-1]$.

I greatly appreciate your help on this question!

1

There are 1 best solutions below

0
On

Hint: $[a]^{-1} = [a] \iff 1 = [a]^2 \iff [a]^2 - 1 = 0 \iff ([a] - 1)([a] + 1) = 0$.