For each of the following pairs of integers and , determine their greatest common divisor and their least common multiple, and write their greatest common divisor in the form for some integers and .
- and .
- To find the greatest common divisor, we apply the Euclidean algorithm as follows.
20 = (1)13 + 7 13 = (1)7 + 6 7 = (1)6 + 1 6 = (6)1 + 0. - To find the least common multiple, recall that for all integers and , . In particular, .
- “Reversing” the Euclidean algorithm, we have
1 = 7 – 6 = 20 – 2(13) + 7 = 2(20) – 3(13).
- To find the greatest common divisor, we apply the Euclidean algorithm as follows.
- and .
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
372 = (5)69 + 27 69 = (2)27 + 15 27 = (1)15 + 12 15 = (1)12 + 3 12 = (4)3 + 0. - We have .
- Reversing the Euclidean algorithm, we have
3 = 15-12 = 69 – 3(27) + 15 = 17(69) – 3(372) – 2(27) = 27(69) – 5(372)
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
- and .
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
792 = (2)275 + 242 275 = (1)242 + 33 242 = (7)33 + 11 33 = (3)11 + 0 - We have
. - Reversing the Euclidean algorithm as before gives
.
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
- and .
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
11391 = (2)5673 + 45 5673 = (126)45 + 3 45 = (15)3 + 0 - As before, .
- Reversing the Euclidean algorithm as before gives
.
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
- and .
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
1761 = (1)1567 + 194 1567 = (8)194 + 15 194 = (12)15 + 14 15 = (1)14 + 1 14 = (14)1 + 0 - As before, .
- Reversing the Euclidean algorithm as before gives
.
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
- and .
- We apply the Euclidean algorithm to find the greatest common divisor as follows.
507885 = (8)60808 + 21421 60808 = (2)21421 + 17966 21421 = (1)17966 + 3455 17966 = (5)3455 + 691 3455 = (5)691 + 0 - As before, .
- Reversing the Euclidean algorithm gives
.
No comments:
Post a Comment