2004 Romanian Mathematicial Olympiad

Find the sum of all nonnegative integers n n such that there are integers a a and b b with the property:

n 2 = a + b and n 3 = a 2 + b 2 n^2 = a+b \text{ and } n^3 = a^2 + b^2


The answer is 3.

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.

1 solution

Chan Tin Ping
Feb 17, 2018

By try and error, we can get small answers which are 0 , 1 , 2 0,1,2 . (When n = 2 n=2 , a = b = 2 a=b=2 .) Now, let us use quadratic equation to show that these are the only answers.

n 3 = a 2 + b 2 = ( a + b ) 2 2 a b a b = n 4 n 3 2 a + b = n 2 \begin{aligned} n^3&=a^2+b^2 \\ &=(a+b)^2-2ab \\ ab&=\frac{n^4-n^3}{2} \\ a+b&=n^2 \end{aligned}

We can get that a , b a, b are the roots of x 2 n 2 x + n 4 n 3 2 = 0 x^2-n^2x+\frac{n^4-n^3}{2}=0 . The discriminant of quadratic eqn above must bigger or equal to 0 0 . Hence n 4 2 ( n 4 n 3 ) 0 n 3 ( n 2 ) 0 0 n 2 \begin{aligned} n^4-2(n^4-n^3)\geq 0 \\ n^3(n-2) \leq 0 \\ 0\leq n \leq 2 \end{aligned} Hence, the required sum is 0 + 1 + 2 = 3 \large 0+1+2=3 .

Very Nice solution. Thank you.

Hana Wehbi - 3 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...