Question Number 127532 by MathSh last updated on 30/Dec/20

Commented by mr W last updated on 30/Dec/20

Answered by Ar Brandon last updated on 30/Dec/20

Commented by MathSh last updated on 30/Dec/20

Answered by floor(10²Eta[1]) last updated on 30/Dec/20
![General solution to a Diophantine equation. ax+by=c let d=gcd(x, y)⇒d∣x, d∣y∴d∣ax+by=c ax+by has a solution if and only if d∣c. now suppose (x_0 , y_0 ) is a particular solution, then, ax_0 +by_0 =ax+by=c a(x_0 −x)=b(y−y_0 ) since d=gcd(a, b)⇒a=a′d, b=b′d where gcd(a′, b′)=1 da′(x_0 −x)=db′(y−y_0 ) a′(x_0 −x)=b′(y−y_0 ) ⇒(I): a′∣b′(y−y_0 )⇒a′∣(y−y_0 ) [because gcd(a′,b′)=1⇒a′∤b′] ⇒y−y_0 =a′k⇒y=y_0 +a′k ⇒(II): b′∣a′(x_0 −x)⇒b′∣(x_0 −x) ⇒x_0 −x=b′k⇒x=x_0 −b′k so the general solution to a diophantine equation of the form ax+by=c is (x, y)=(x_0 −((bk)/d), y_0 +((ak)/d)), k∈Z where (x_0 , y_0 ) is a particular solution now that you know this try to solve your question.](https://www.tinkutara.com/question/Q127574.png)
Commented by MathSh last updated on 31/Dec/20
