{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Two positive integers differ by $120.$ The sum of their square roots is the square root of an integer that is not a perfect square. What is the maximum possible sum of the two integers?
$(\sqrt a+\sqrt b)^2=a+b+2\sqrt{ab}$ is an integer, so $ab$ is a square: $a=dm^2$, $b=dn^2$ with $d$ squarefree, and the sum $d(m+n)^2$ is not a square, so $d>1$.
Then $d(n-m)(n+m)=120$.
To maximize $d(m^2+n^2)$, take $d=2$, $(n-m)(n+m)=60$ with $n-m=2$, $n+m=30$, so $m=14$, $n=16$, giving $2(196+256)=904$.