Say I have the formula $$k^2 \equiv b^2 - 4ac \pmod n$$ where are variables are integers and $n$ is odd. So then my question is, if $b^2-4ac$ and $n$ are constant, when is there never a $k$ that will satisfy this?
I know this has to do with quadratic residues and that for odd prime $n$, $b^2-4ac$ must satisfy Euler's criterion for $k$ to exist, but can anything be said for the general case of odd $n$. I am looking to find properties of $a, b,$ and $c$ that must be true in order for $k$ to exist for odd $n$.