Problem

Source: Turkey Junior National Olympiad 2021 P1

Tags: number theory, Integer



Find all $(m, n)$ positive integer pairs such that both $\frac{3n^2}{m}$ and $\sqrt{n^2+m}$ are integers.