GCD and maximum

Find the largest positive integer n n for which there exists positive integers x , y x, y , and z z satisfying

gcd ( x + 3 y , y + 3 z , z + 3 x ) = n gcd ( x , y , z ) \gcd\left(x + 3y, y + 3z, z + 3x\right)=n \cdot \gcd\left(x, y, z\right)


The answer is 28.

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

Let d = gcd ( x , y , z ) d = \gcd\left(x, y, z\right) .

Then we may write x = d a , y = d b , y = d c x = da, y = db, y = dc for some integers a , b , c a, b, c satisfying gcd ( a , b , c ) = 1 \gcd\left(a, b, c\right) = 1 .

With this representation, the given equation simplifies to gcd ( a + 3 b , b + 3 c , c + 3 a ) = n \gcd\left(a + 3b, b + 3c, c + 3a\right)=n .

This implies n n must also divide ( a + 3 b ) + 3 ( b + 3 c ) + 9 ( c + 3 a ) = 28 a + 6 ( b + 3 c ) \left(a + 3b\right) + 3\left(b + 3c\right) + 9\left(c + 3a\right) = 28a + 6(b + 3c) .

Then because n n divides b + 3 c b + 3c , the above equation implies that n n also divides 28 a 28a .

Similar reasoning shows that n n divides 28 b 28b and 28 c 28c .

It follows that n n divides gcd ( 28 a , 28 b , 28 c ) = 28 gcd ( a , b , c ) = 28 \gcd\left(28a, 28b, 28c\right) = 28\cdot \gcd\left(a, b, c\right) = 28 .

Hence n 28 n\le 28 . We can show that n = 28 n = 28 is achievable by taking ( x , y , z ) = ( 13 , 5 , 17 ) \left(x, y, z\right) = \left(13, 5, 17\right) .

Indeed, in this case gcd ( x , y , z ) = 1 \gcd\left(x, y, z\right) = 1 and gcd ( x + 3 y , y + 3 z , z + 3 x ) = gcd ( 28 , 56 , 56 ) = 28 \gcd\left(x + 3y, y + 3z, z + 3x\right) = \gcd\left(28, 56, 56\right) = 28 .

So n = 28 \boxed{n = 28} is the answer.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...