For any two coprime positive integers and , find the maximum value of .
Notation: denotes the greatest common divisor function.
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.
Assume, P ( a ) = a 2 − a b + b 2 ; then the remainder of P ( a ) when divided by ( a + b ) , by Remainder Theorem , is P ( − b ) = ( − b ) 2 − ( − b ) b + b 2 = 3 b 2 ; the quotient, Q ( a ) , is ( a − 2 b ) ; with each of the coefficients is integer.
Now, g c d ( a 2 − a b + b 2 , a + b )
= g c d ( 3 b 2 , a + b )
= g c d ( 3 , a + b ) [As a and b are coprime, no factor of b , other than 1 , divides ( a + b ) ]
So, the g c d is either 3 or 1 . 3 is possible, for instance, a = 2 and b = 7 , with g c d ( a , b ) = 1 and 3 ∣ ( a + b ) = 9 .
Hence, the answer is 3 .