2. We know from the previous section that gcd(105, 56) = 7, and that m = 2
and n = -4 is one solution to the linear Diophantine equation
105m + 56n = -14.
Let m0 = 2, n0 = -4, a = 105, b = 56 and d = 7, and apply Theorem 3.10.1.
Thus the general solution is given by |
m = 2 + (56 / 7) · t |
and |
n = -4 - (105 / 7) · t | where t ![]() |
Hence |
m = 2 + 8 · t |
and |
n = -4 - 15 · t | where t ![]() |
There will be no solutions in which both m and n are positive since 105 times a positive number plus 56 times a positive number will never give you a negative answer. Alternately you could solve the inequalities:
2 + 8 · t > 0 | and | -4 - 15 · t > 0 |
8 · t > -2 | -15 · t > 4 | |
t > -0.25 | t < -0.27 |
and see that there is no value of t which satisfies both these inequalities.