Determine all pairs of integers $(m, n)$ such that $m^2 + n$ and $n^2 + m$ are both perfect squares.
Source: Canada RepĂȘchage 2022/2 CMOQR
Tags: number theory, Perfect Squares, Perfect Square
Determine all pairs of integers $(m, n)$ such that $m^2 + n$ and $n^2 + m$ are both perfect squares.