Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|cite|improve this question
I guess $[a] \neq [0]$, right? – azimut Mar 11 '13 at 22:39
The question does not specify, it simply says a an integer which confuses me. – Michael Mar 11 '13 at 22:40
If $[a] = [0]$, then $[a]^{-1}$ does not exist. So you need $[a] \neq [0]$. – azimut Mar 11 '13 at 22:49

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

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.