a ≡ b mod p implies that $(\frac {a}{p}) =(\frac {b}{p})$ The Legendre Symbol

111 Views Asked by At

Prove $$a\equiv b\pmod p \Rightarrow (\frac {a}{p}) =(\frac {b}{p})$$

What I thought:

Let $g$ be a primitive root mod $p$. Then $(\frac {g^k}{p})=(-1)^k$. What should I do next?

1

There are 1 best solutions below

2
On BEST ANSWER

Way overcomplicated. If $k^2 \equiv a \mod p$ then $k^2 \equiv b \mod p$. That's all you need.