Show that $x^2+x+23\equiv 0\mod 173$ has a solution $\iff$ the legendre symbol $\left(\frac{28}{173}\right) = 1$
How can I determine this? I dont see the relation between the legendere symbol (specifically of $\left(\frac{28}{173}\right)$ to this equation
COMMENT.-$28$ is not a quadratic residue modulo $173$. One has applying quadratic reciprocity law and complementary formula $\left(\dfrac{2}{p}\right)=(-1)^{\frac{p^2-1}{8}}$ as usual $$\left(\dfrac{28}{173}\right)=\left(\dfrac{4}{173}\right)\left(\dfrac{7}{173}\right)=\left(\dfrac{7}{173}\right)$$ $$\left(\dfrac{173}{7}\right)\left(\dfrac{7}{173}\right)=(-1)^{258}\left(\dfrac{173}{7}\right)=\left(\dfrac{5}{7}\right)=(-1)^{12}\left(\dfrac{7}{5}\right)=\left(\dfrac{2}{5}\right)=-1$$ Consequently the true fact is to prove $x^2+x+23\equiv 0\mod 173$ has no solution using the fact that $28$ is not quadratic residue modulo 173. (It does not escape me that logically this is equivalent but it is pertinent to say the posted quadratic equation has no solution).
ANSWER.-$x^2+x+23=0$ has no solution in $\Bbb F_{173}$. In fact we can apply the quadratic formula in characteristic not equal to $2$ and this equation has exactly two roots (if not in $\Bbb F_{173}$ then in a quadratic extension of it). One has $$2x=-1\pm\sqrt{-91}=-1\pm\sqrt{82}$$ ►Is it $82$ a quadratic residue modulo $173$$\large?$
$$\left(\frac{82}{173}\right)=\left(\frac{2}{173}\right)\left(\frac{41}{173}\right)$$ Rutinary calculation (see COMMENT) gives $\left(\frac{41}{173}\right)=1$ and $\left(\frac{2}{173}\right)=(-1)^{\frac{29928}{8}}=(-1)^{3741}=-1$. Consequently $$\left(\frac{82}{173}\right)=-1\qquad(*)$$ Thus the equation has no solution in $\Bbb F_{173}$.
Consider now $\left(\frac{28}{173}\right)$. We have by $(*)$ $$\left(\frac{82}{173}\right)\left(\frac{28}{173}\right)=\begin{cases}1\text{ if} \left(\frac{28}{173}\right)=-1\\-1\text{ if }\left(\frac{28}{173}\right)=1\end{cases}$$ We see how it is used $28$ here (it could be replace by many other numbers namely non quadratic residues modulo $173$).