Problem

Source: 2019 Belarusian National Olympiad 9.1

Tags: number theory



Is it true that for any nonzero rational numbers $a$ and $b$ one can find integers $m$ and $n$ such that the number $(am+b)^2+(a+nb)^2$ is an integer? (M. Karpuk)