Let $p$ be a prime number and $a, b, c$ integers such that $a$ and $b$ are not divisible by $p$. Prove that $ax^2 + by^2 \equiv c \pmod{p}$ has integer solutions
Well, this problem can be solved by Pigeonhole-principle.
Let $x, y = 0, 1, ..., p-1$. There are $2p$ such numbers. Any residue, except for $0$, can have at most two elements of the form $ax^2$ or of the form $c-by^2$. $(x_{1}-x_{2})(x_{1}+x_{2})=0$ because $ax_{1}^2 \equiv ax_{2}^2$ implies that $a_{1}^2 = a_{2}^2$, this can happen only if $x_{1} = \pm x_{2} $
We distinguish two cases. If $c-by_{0}^2 \equiv 0$ for some $y_{0}$, then $(0,y_{0})$ is a solution. Otherwise, the $2p-1$ numbers $ax^2, c-by^2, x, y=1, 2,..., p-1$ are distributed into $p-1$ 'holes, namely the residue classes $1, 2,..., p-1$. There of them must lie in the same residue class, so the solution is the pair $(x_{0},y_{0})$ such that $ax_{0}^2 \equiv c - by_{0}^2\pmod{p}$
Now, I'm looking for other solutions to prove it.