Question #98937
Find all primes p for which −5 is a quadratic residue.
1
Expert's answer
2019-11-25T12:54:08-0500

For some integer p, pick any integer x and compute a=x2(modp)a=x^2(modp) .


p+a-p+a is a negative number that is a quadratic residue (mod p).


In fact, pk+apk+a is a quadratic residue that is a negative number as long as k is negative.



Now, we need to find pp such that ;

  1. p is prime number
  2. -5 is a quadratic residue


So, if we consider 5-5 ; then kn5kn-5 will also be quadratic residue; where k is the chosen smallest integer such that kn5>0kn-5>0 .

Now let us choose p=7p=7 ; obviously it is a prime number.

Also Zp=[1,2,3,4,5,6]Z_p^*= [1,2,3,4,5,6]

And, 42=16mod7=2=(1)7+2=54^2=16mod 7=2=(-1)*7+2=-5

Clearly; -5 is a quadratic residue for p=7p=7

Now, for any other prime p ; -5 won't be a quadratic residue because;

kp5kp-5 would never be a perfect square for any kϵZ+k\epsilon Z^+


Thus, 7 is the only prime number for which -5 is a quadratic residue.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS