1

I have this question:

Find the primes $p$ such that the equation: $x^{2} + 7x + 39 = 0 $ has a solution modulo $ p $.

if $ p \neq 2 $ so the equation has a solution $ \iff 7^{2} -4\cdot 1\cdot 39 = -107 $ is a square modulo p .

now $ -107 $ is a square modulo p $ \iff (\frac{-107}{p}) = 1$ (legendre symbol) $

Now I got stuck because I can't find a way to decmopose 107 or any other way to continue from here. I really appreciate any help!!

Joffan
  • 40,356
CnR
  • 2,061

1 Answers1

1

You can't do very much else than (find a) list (of) all quadratic residues modulo 107. Why, you ask? Well, with the help of multiplicity and quadratic residue theorem, the argument goes as follows:

$$(\frac{-107}{p})=(\frac{-1}{p})(\frac{107}{p})=(-1)^{\frac{p-1}{2}}(\frac{107}{p})$$ and $$(\frac{107}{p})(\frac{p}{107})=(-1)^{\frac{p-1}{2}\cdot\frac{107-1}{2}}=(-1)^{{\frac{p-1}{2}\cdot 53}}=(-1)^{\frac{p-1}{2}}$$ thus, assuming $(\frac{-107}{p})=1$, $$(\frac{p}{107})=(-1)^{\frac{p-1}{2}}(\frac{107}{p})=(-1)^{\frac{p-1}{2}}(-1)^{\frac{p-1}{2}}(\frac{-107}{p})=1$$ Hence, p is a quadratic residue modulo 107. This will give you 53 possible values x with $p\equiv x \mod 107$ as solutions.

Maestro13
  • 2,090