Problem

Source: Dutch NMO 2020 p4

Tags: number theory, Perfect Square, prime



Determine all pairs of integers $(x, y)$ such that $2xy$ is a perfect square and $x^2 + y^2$ is a prime number.