logistic_guy
Senior Member
- Joined
- Apr 17, 2024
- Messages
- 2,214
Let \(\displaystyle a, b\) and \(\displaystyle N\) be fixed integers with \(\displaystyle a\) and \(\displaystyle b\) nonzero and let \(\displaystyle d = (a,b)\) be the greatest common divisor of \(\displaystyle a\) and \(\displaystyle b\). Suppose \(\displaystyle x_0\) and \(\displaystyle y_0\) are particular solutions to \(\displaystyle ax + by = N \ (\text{i}.\text{e}., ax_0 + by_0 = N)\). Prove for any integer \(\displaystyle t\) that the integers
\(\displaystyle x = x_0 + \frac{b}{d}t \ \ \ \) and \(\displaystyle \ \ \ y = y_0 - \frac{a}{d}t\)
are also solutions to \(\displaystyle ax + by = N \ \) (this is in fact the general solution).
\(\displaystyle x = x_0 + \frac{b}{d}t \ \ \ \) and \(\displaystyle \ \ \ y = y_0 - \frac{a}{d}t\)
are also solutions to \(\displaystyle ax + by = N \ \) (this is in fact the general solution).