gcd ( a 2 a b + b 2 , a + b ) \gcd(a^2-ab+b^2, a+b)

If a a and b b are two coprime positive integers, what is the sum of all possible values of the following expression?

gcd ( a 2 a b + b 2 , a + b ) \large \gcd(a^2-ab+b^2, a+b)


The answer is 4.

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

g c d ( a 2 a b + b 2 , a + b ) gcd(a^2-ab+b^2, a+b)

= g c d ( ( a + b ) 2 3 a b , a + b ) =gcd((a+b)^2-3ab, a+b)

= g c d ( 3 a b , a + b ) =gcd(-3ab, a+b) [As ( a + b ) 2 (a+b)^2 is a multiple of ( a + b ) (a+b) ]

= g c d ( 3 a b , a + b ) =gcd(3ab, a+b)

= g c d ( 3 , a + b ) =gcd(3,a+b) [As a a and b b are coprime]

So, possible values are─ 1 1 and 3 3 . Hence 3 + 1 = 4 3+1=\boxed{4} is the answer.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...