Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 1.2.2 (Linear equation)
Exercise 1.2.2 (Linear equation)
Find the greatest common divisor of the numbers 1819 and 3587, and then find integers and to satisfy
Answers
There’s a few ways to do this problem. One way is the following: whenever we write the remainder in Euclid’s algorithm, we always make sure to express that remainder as an integer linear combination of the original two numbers. The rightmost column below does this bookkeeping work, while the two columns on the left are the inputs to the gcd function at each stage.
| 3587 | 1819 | |
| 1819 | 1768 | |
| 1768 | 51 | |
| 51 | 34 |
Thus .