- #1
mlsbbe
- 24
- 0
Homework Statement
Determine all solutions in positive integers of the following diaophantine equations
158x-57y=7
Homework Equations
The Attempt at a Solution
I've been trying to solve the linear diophantine equation, but to no avail:
158x-57y = 7.
I've used Euclid's algorithm to get
gcd = -1
-1 = 22*158 + 27*57
Hence
-1*7= -154*158 - 184*57
This is apparently wrong. Can somebody help me?