Question 4
Find all four-digit integers $m$ that are less than $2021$ for which there exists a positive integer $n$ such that $m-n$ is a positive prime number and $m\times n$ is a perfect square. Show your full solution.
xIMC · 2021 IIMC keystage3-IWYMIC team