Find the sum of all nonnegative integers such that there are integers and with the property:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
By try and error, we can get small answers which are 0 , 1 , 2 . (When n = 2 , a = b = 2 .) Now, let us use quadratic equation to show that these are the only answers.
n 3 a b a + b = a 2 + b 2 = ( a + b ) 2 − 2 a b = 2 n 4 − n 3 = n 2
We can get that a , b are the roots of x 2 − n 2 x + 2 n 4 − n 3 = 0 . The discriminant of quadratic eqn above must bigger or equal to 0 . Hence n 4 − 2 ( n 4 − n 3 ) ≥ 0 n 3 ( n − 2 ) ≤ 0 0 ≤ n ≤ 2 Hence, the required sum is 0 + 1 + 2 = 3 .