The sum of two distinct real number is a positive integer and the sum of their squares is 2. Compute the greater of these two real numbers. I tried to set up the equations first,:
$x^2 +y^2 =2\\ x+y = n,\enspace n \in \mathbb{N}$
Then I have no idea how to solve these two..