When there is equation with the same a and b value the solutiob of x and y also will be the same but i got an trouble from this problem.
I have 2 linear diophantine equation :
- 2173x + 2491y = 53
- 2173x + 2491y = 159
The gcd of 2491 and 2173 are 53.
First Equation is have an solution because 53 is multiple of 53.
Second Equation also have an solution because 159 is multiple of 53.
When i'm start counting with the extended euclidian method to find the x and y value, because both equation have the same a and b value that mean i got the same x and y value, where x = -8 and y = 7 Check : 2173(-8) + 2491(7) = 53
But when it come to the second Equation you Will notice if it will have the same value that is 53 and not 159, why this happened, and how to find the x and y value for the second equation