Why $99x^2 \equiv 1 \mod 5 \implies (-1)x^2 \equiv 1 \mod 5$

39 Views Asked by At

Lastly I have read a example of some exercise. There was this statement: $$99x^2 \equiv 1 \pmod 5\quad \implies\quad (-1)x^2 \equiv 1 \pmod 5$$ Can somebody explain that simple fact to me?

4

There are 4 best solutions below

0
On BEST ANSWER

$$99x^2\equiv_5100x^2-x^2\equiv_50-x^2\equiv_5-x^2$$

0
On

Since we have $$99\equiv -1 \mod 5$$ this is the reason.

0
On

Because $99\equiv 4 \equiv -1 \mod 5$

0
On

$$99\equiv 4=(5-1)\equiv -1 \pmod{5}$$

:)