Finding a solution to the Diophantine equation 6x + 10y + 45z =1

  • Thread starter Thread starter MidgetDwarf
  • Start date Start date
Click For Summary
The discussion focuses on finding a solution to the Diophantine equation 6x + 10y + 45z = 1. The process involves expressing the gcd of 6 and 10 as a linear combination, leading to the equation 6x + 10y = -44 when z is set to 1. An integral solution of (2, -1) is found for 3x + 5y = -22, which is then scaled to yield the solution (-44, 22, 1) for the original equation. The necessity for a, b, and c to be relatively prime for the existence of a solution is confirmed. This method demonstrates a valid approach to solving similar Diophantine equations.
MidgetDwarf
Messages
1,580
Reaction score
698
Homework Statement
Find a solution to the Diophantine equation 6x + 10y + 45z = 1.
Relevant Equations
The following hint is given:

First express gcd(6,10) as a linear combination of 6 and 10. Then, express 1 as a linear combination of 45 and gcd(6,10).

I know from a previous result, that gcd of two nonzero integers a and b, can be written as
aX + bY = d. Where d is the gcd.

For the first sentence of the hint.

6x + 10y = 2. Hence, 6(2) + 10 (-1) = 2

45X + 2Y = 1. Where (1, -22) is an integral solution.
f
 
Physics news on Phys.org
MidgetDwarf said:
Homework Statement:: Find a solution to the Diophantine equation 6x + 10y + 45z = 1.
Relevant Equations:: The following hint is given:

First express gcd(6,10) as a linear combination of 6 and 10. Then, express 1 as a linear combination of 45 and gcd(6,10).

I know from a previous result, that gcd of two nonzero integers a and b, can be written as
aX + bY = d. Where d is the gcd.

For the first sentence of the hint.

6x + 10y = 2. Hence, 6(2) + 10 (-1) = 2

45X + 2Y = 1. Where (1, -22) is an integral solution.

f
So what?
 
I actually found the solution out. I posted this thread on accident (working on two computers).

Solve 45a + 2b = 1.
So (1, -22) is an integral solution.
Then let z= 1 in the equation 6x + 10y + 45z = 1.
Hence, 6x + 10y = -44. Which simplifies to 3x +5y = -22.

Solving 3x + 5y = 1 . We find that (2,-1) is an integral solution. Then multiply (2,-1) by -22. To get the solution
(-44,22) for 6x + 10y = -44.

Putting this all together, (-44, 22, 1) is an integral solution of the original Diophantine equation.

Not sure if this method is valid in solving Diophantine equations of the form ax+by+cz= 1.
I am assuming that we need to impose the condition that a, b, and c are relatively prime in order to ensure existence of solution.

Yes, just proved that it is required the a, b , and c be relatively prime.
 
Last edited:
  • Like
Likes malawi_glenn and fresh_42
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
829
  • · Replies 3 ·
Replies
3
Views
1K