Problem on Division algorithm

Let the Greatest Common Divisor of 126 and 658 be "d". Then find value of x such that : d=126x +658y.(y belongs to integers)


The answer is 21.

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

Kaustubh Bhargao
Feb 19, 2015

By Division Algorithm,

658=5(126)+28 .....................(1)

126=4(28)+14 ......................(2)

28=2(14)+0

So, G.C.D(i.e. d)=14

From (2),

14=126 - 4(28)

So, 14 =126 -4(658 -5(126)) (From (2))

So, 14(i.e. d)=21(126) -5(658)

So, x=21

There are an infinite number of pairs (x,y) that work, such as (21,-4), (68,-13), (115,-22), (162,-31), and so on.

Jon Haussmann - 6 years, 3 months ago

I agree with Jon Haussmann. In question you should write - find minimum positive value of x

Tarun Singh - 6 years, 3 months ago

Log in to reply

Yes . I agree with you and sir Jon Haussmann .

Kaustubh Bhargao - 6 years, 3 months ago
Saptarshi Sen
Dec 3, 2015

gcd of 126 & 658 is = 14. 14=126x+658y=14(9x+47y) hence: 9x+47y=1 least value of x and y are 21 and -4

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...