Problem

Source: JBMO 2016 shortlist , A3

Tags: algebra, number theory



Find all the pairs of integers $ (m, n)$ such that $ \sqrt {n +\sqrt {2016}} +\sqrt {m-\sqrt {2016}} \in \mathbb {Q}.$