Integers and common factor

If x x and y y are integers, then which of the following expressions could be equal to 2018?

24 x + 42 y 24x + 42y 28 x + 82 y 28x + 82y 48 x + 84 y 48x + 84y

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.

2 solutions

Sathvik Acharya
Jan 14, 2018

The Bézout's identity states that the Diophantine equation a x + b y = c ax+by=c has solutions in integers x , y x,y if and only if d c d \vert c , where d = gcd ( a , b ) d=\text{gcd}(a,b) . (This finishes of the problem!)

Here is the idea of what is being used in the above lemma.

24 x + 42 y = 2018 6 ( 4 x + 7 y ) = 2018 6 2018 24x+42y=2018 \implies 6(4x+7y)=2018 \implies 6\vert 2018 which is not true. Hence no solutions exists in integers.

48 x + 84 y = 2018 12 ( 4 x + 7 y ) = 2018 12 2018 48x+84y=2018 \implies 12(4x+7y)=2018 \implies 12\vert 2018 which is not true. Hence no solutions exists in integers.

But solutions do exist for the equation 28 x + 82 y = 2018 28x+82y=2018 . The equation can be simplified as 2 ( 14 x + 41 y ) = 2018 14 x + 41 y = 1009. 2(14x+41y)=2018 \implies 14x+41y=1009. Note that there exist solutions to the equation 14 x + 41 y = 1 14x+41y=1 , as the Euclidean algorithm can be written backwards to find the solutions. Now you can just scale up by a factor of 1009 1009 to get solutions to the equation 14 x + 41 y = 1009. 14x+41y=1009. Again scaling up by a factor of 2, we get solutions to the equation 28 x + 82 y = 2018 28x+82y=2018 .

Thus there exist solutions only to the equation 28 x + 82 y = 2018 28x+82y=2018 .

Note : For the sake of verification, one of the solutions is x = 34 , y = 13 x=34, y=13

x=34; y=13, if anyone is wondering about it

Eliud Alejandro Maldonado Sanchez - 3 years, 4 months ago

Log in to reply

Thank you! That should have been included in my solution for completeness :) I have edited it now

Sathvik Acharya - 3 years, 4 months ago
David Fairer
Jan 20, 2018

The 2nd answer (24x + 42y) is divisible by 3. (Both of its parts are divisible by 3). And 2018 is not divisible by 3. The 3rd answer (48x + 84y) is divisible by 4. (Both of its parts are divisible by 4). And 2018 is not divisible by 4. So the 1st answer is the only answer that is possible. Note that (28 x 3 - 82) = 2. The largest multiple of 82 that is less than 2018 is 24.And 24 x 82 = 1968. And of course 2 x 25 = 50. So (24 x 82 + 25 x 2) = 2018. And so 24 x 82 + 25 x (3 x 28 - 82) = 2018. Which gives us 75 x 28 - 82 = 2018. | It would have been nicer to get x and y that were both positive. wouldn't it. So note that (-82) x 28 + (28) x 82 = 0. And the highest common denominator of 28 and 82 is 2. (28 = 2^2 x 7 and 82 = 2 x 41). So (-41) x 28 + (14) x 82 = 0. So adding this once to the original answer of (75) x 28 + (-1) x 82 gives (34) x 28 + (13) x 82 = 2018 which we wanted! Incidentally, this seems to be the only 'couplet' of x and y that are both positive. Because if you were to take another '41 lots of 28' away from the '34 lots of 28' then the value for x would be negative (-7). If you allow for one of x or y to be negative then there will be an infinite number of answers! Regards, David

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...