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.
g c d ( a + b , a − b )
= g c d ( 2 a , a − b ) [As g c d ( x , y ) = g c d ( x + y , y ) ]
As a and b are coprime, g c d ( a , b ) = 1 . That means, no factor of a , other than 1 , divides ( a − b ) . So, g c d ( a + b , a − b ) = g c d ( 2 a , a − b ) = g c d ( 2 , a − b ) . Hence, g c d is either 1 or 2 .
Now 2 divides ( a − b ) when both a and b is odd.
So, the maximum possible value of g c d ( a + b , a − b ) is 2 .