Prove that there exist integers $x, y$ so that $2x^2+3y^2-r$ is divisible by some fixed prime larger than 3.
$r$ is also an integer.
Prove that there exist integers $x, y$ so that $2x^2+3y^2-r$ is divisible by some fixed prime larger than 3.
$r$ is also an integer.
Let $p > 3$ be the fixed prime.
We consider the following $p + 1$ numbers:
Since there are only $p$ different residues mod $p$, there must be two numbers with the same residue.
It is clear that
Therefore there must exist $x, y$ such that $2x^2 = r - 3y^2$.