Find the number of integer pairs (x,y) such that x2+y2=2019.
The answer is 0.
This is because 2019\equiv 3\pmod{4}. But there exists no integer solution to the relation x^2 + y^2 \equiv 3\pmod{4}.