Question 45
Compute the number of ordered pairs of integers $(x, y)$ such that $x^{2}+y^{2}\lt 2019$ and
$$
x^{2}+\min (x, y)=y^{2}+\max (x, y)
$$
$$
x^{2}+\min (x, y)=y^{2}+\max (x, y)
$$
Math Olympiad Vault · MathNet 2019-part-08 — 179 problems (EN–VI)