Consider the equation $x^2 + y^2 + k = pz$ where $x, y, z, k, z \in Z$ , $p$ is a prime number. For any given prime number $p$ and a given integer $k$, does there always exist integer solutions for $x, y, z$ which satisfy the given equation.
Integer solutions for above would exist if we somehow prove that for all prime $p$ integer solutions for $x,y$ exist such that $x^2 + y^2 \equiv a\pmod p$, for all $a = {0,1,2,.., p-1}$.