For any two whole numbers a and b, both at least 1, gcd(a, b) × lcm(a, b) = a × b: for 12 and 18, 6 × 36 = 216 = 12 × 18. This lesson proves the identity twice, once from prime factorizations and once without them, uses it to find the lcm with the Euclidean algorithm, and shows why it fails for three numbers.
The identity
The lessons “The greatest common divisor” and “The least common multiple” found the gcd and the lcm of many pairs. Multiplying them gives a surprise.
| a, b | gcd(a, b) | lcm(a, b) | gcd × lcm | a × b |
|---|---|---|---|---|
| 4, 6 | 2 | 12 | 24 | 24 |
| 12, 18 | 6 | 36 | 216 | 216 |
| 8, 15 | 1 | 120 | 120 | 120 |
| 5, 35 | 5 | 35 | 175 | 175 |
| 1, 9 | 1 | 9 | 9 | 9 |
| 84, 120 | 12 | 840 | 10,080 | 10,080 |
For all whole numbers a and b, both at least 1: gcd(a, b) × lcm(a, b) = a × b.
This is a standard theorem: Theorem 2.8 in Burton’s Elementary Number Theory[1] and Theorem 5 in Rosen’s Discrete Mathematics.[2] Both introduce it as the relationship between the greatest common divisor and the least common multiple.[3]
A proof from prime factorizations
The lesson “Finding the GCD from prime factorizations” showed that the gcd takes each prime the smaller number of times it occurs in a and in b; the lesson “The least common multiple” showed that the lcm takes it the larger number of times. A prime missing from a number occurs in it 0 times. The proof rests on a fact about two counts.
For any two whole numbers x and y, (the smaller of x and y) + (the larger of x and y) = x + y.
If x ≤ y, the smaller is x and the larger is y, and the sum is x + y. If y < x, the smaller is y and the larger is x, and the sum is y + x, which equals x + y by the commutative property of addition.
With the Lemma, the Theorem follows.
Take any prime p. Let x be the number of times p occurs in the prime factorization of a, and y the number of times it occurs in that of b (0 if it does not occur). Then p occurs in the factorization of gcd(a, b) the smaller of x and y times, and in that of lcm(a, b) the larger of x and y times.
Write the factorization of gcd(a, b) followed by that of lcm(a, b). This is a product of primes equal to gcd(a, b) × lcm(a, b), and by the Lemma p occurs in it x + y times. Write the factorization of a followed by that of b. This is a product of primes equal to a × b, and p occurs in it x + y times as well.
So the two products contain every prime the same number of times: they consist of the same primes, possibly in different orders. By the commutative and associative properties of multiplication, the order and the grouping of the factors do not change a product, so the two products are equal: gcd(a, b) × lcm(a, b) = a × b. (If a = b = 1, both sides are 1.)
This is the proof Rosen asks for: use the prime factorizations of a and b and the formulas for the gcd and the lcm,[5] because the smaller plus the larger of two counts is their sum.[6] Burton sets the same deduction as an exercise.[7]
Verify gcd(12, 18) × lcm(12, 18) = 12 × 18 prime by prime.
- 12 = 2 × 2 × 3 and 18 = 2 × 3 × 3.
- 2: twice in 12, once in 18. The gcd takes it once, the lcm twice; 1 + 2 = 3 = 2 + 1.
- 3: once in 12, twice in 18. The gcd takes it once, the lcm twice; again 1 + 2 = 3.
- gcd(12, 18) = 2 × 3 = 6 and lcm(12, 18) = 2 × 2 × 3 × 3 = 36.
Answer: 6 × 36 = 216 = 12 × 18; both sides are 2 × 2 × 2 × 3 × 3 × 3.
A proof without prime factorizations
The first proof needs prime factorizations, and so the fundamental theorem of arithmetic (lesson “Prime factorization is unique”) behind the rules for the gcd and the lcm. A second proof uses only the definitions and the Theorem of the lesson “The least common multiple” that every common multiple is a multiple of the lcm, which was proved with the division algorithm.
Let d = gcd(a, b) and L = lcm(a, b). Since d divides a and b, write a = d × r and b = d × s with whole numbers r, s ≥ 1.
Step 1: a common multiple. Let M = d × r × s. By the commutative and associative properties, M = (d × r) × s = a × s and M = r × (d × s) = r × b. So M is a common multiple of a and b, other than 0; hence L ≤ M. Moreover d × M = (d × r) × (d × s) = a × b.
Step 2: a common divisor. The product a × b is a common multiple of a and b, so L | a × b: a × b = L × g for a whole number g ≥ 1. As L is a multiple of a and of b, write L = a × u and L = b × v. Then a × b = a × (u × g), and since a ≠ 0 the number multiplied by a to give a × b is unique (lesson “Division as the inverse of multiplication”), so b = u × g. In the same way a × b = b × (v × g) gives a = v × g. So g divides both a and b, and g ≤ d, since d is the greatest common divisor.
Step 3. Now d × M = a × b = L × g ≤ L × d = d × L, because the multiples of L keep growing (lesson “Divisibility”). If M were larger than L, then d × M would be larger than d × L, since d ≥ 1. So M ≤ L, and with Step 1, M = L. Hence d × L = d × M = a × b.
Step 1 is also how Burton’s proof begins: with d = gcd(a, b), a = d × r and b = d × s, the number a × b ÷ d = a × s = r × b is a common multiple.[8] Burton then uses integers x and y with d = a × x + b × y,[9] which in general requires negative numbers (lesson “The Euclidean algorithm”); Step 2 avoids them.
The lcm from the Euclidean algorithm
For a, b ≥ 1, lcm(a, b) = a × b ÷ gcd(a, b) = (a ÷ gcd(a, b)) × b.
By the Theorem, lcm(a, b) is the number that multiplied by gcd(a, b) gives a × b, so it is a × b ÷ gcd(a, b). Writing a = d × r with d = gcd(a, b), a × b = d × (r × b), so the quotient is r × b = (a ÷ d) × b.
The second form divides first and keeps the numbers small. The chief use of the Theorem is exactly this: the lcm is found from the gcd, and the gcd from the Euclidean algorithm,[10] with no factorization at all.
Find lcm(210, 154) with the Euclidean algorithm.
- 210 = 1 × 154 + 56; 154 = 2 × 56 + 42; 56 = 1 × 42 + 14; 42 = 3 × 14 + 0. So gcd(210, 154) = 14.
- 210 ÷ 14 = 15.
- lcm(210, 154) = 15 × 154 = 2,310.
Answer: 2,310. Check: 2,310 = 11 × 210 = 15 × 154, and 14 × 2,310 = 32,340 = 210 × 154.
Find lcm(2,035, 851).
- The lesson “The Euclidean algorithm” found gcd(2,035, 851) = 37 in five divisions.
- 851 ÷ 37 = 23.
- lcm(2,035, 851) = 23 × 2,035 = 46,805.
Answer: 46,805. Check: 46,805 = 55 × 851. From the factorizations 2,035 = 5 × 11 × 37 and 851 = 23 × 37 the lcm is 5 × 11 × 23 × 37 = 46,805, but finding the factor 23 of 851 takes trial divisions by every prime up to 23.
For a, b ≥ 1, lcm(a, b) = a × b exactly when a and b are relatively prime.
By the Theorem, gcd(a, b) × lcm(a, b) = a × b. If gcd(a, b) = 1, this says lcm(a, b) = a × b. Conversely, if lcm(a, b) = a × b, then gcd(a, b) × lcm(a, b) = lcm(a, b) = 1 × lcm(a, b). Since lcm(a, b) ≠ 0, the number multiplied by lcm(a, b) to give lcm(a, b) is unique (lesson “Division as the inverse of multiplication”), so gcd(a, b) = 1.
Burton states this corollary of Theorem 2.8 separately.[11] Euclid’s construction of the least common multiple, in Proposition 34 of Book VII, begins with this case: for relatively prime numbers it multiplies one by the other.[12] In general it builds the product divided by the greatest common divisor.[13]
Find lcm(20, 21), lcm(13, 13) and lcm(7, 91) from the Theorem.
- 20 and 21 are consecutive, so relatively prime (lesson “The greatest common divisor”): lcm(20, 21) = 20 × 21 = 420.
- gcd(13, 13) = 13, so lcm(13, 13) = 13 × 13 ÷ 13 = 13.
- 91 = 13 × 7, so 7 | 91 and gcd(7, 91) = 7; lcm(7, 91) = (7 ÷ 7) × 91 = 91.
Answer: 420, 13 and 91, in agreement with the rules for lcm(a, a) and for a | b in the lesson “The least common multiple”.
Someone computes lcm(36, 48) = 36 × 48 ÷ 2 = 864, “because 2 is a common divisor”. Find the error.
- The Theorem divides by the greatest common divisor, not by any common divisor.
- 48 = 1 × 36 + 12; 36 = 3 × 12 + 0. So gcd(36, 48) = 12.
- lcm(36, 48) = (36 ÷ 12) × 48 = 3 × 48 = 144.
Answer: lcm(36, 48) = 144. Check: 144 = 4 × 36 = 3 × 48. The number 864 = 6 × 144 is a common multiple, but not the least: dividing by a smaller common divisor gives a larger common multiple.
Two numbers have product 2,940 and greatest common divisor 14. What is their lcm? Which pairs are possible?
- gcd × lcm = product, so lcm = 2,940 ÷ 14 = 210, whatever the numbers are.
- Write the numbers as 14 × r and 14 × s. Then 196 × r × s = 2,940, so r × s = 15.
- r × s = 15 gives r, s = 1, 15 or 3, 5: the pairs 14 and 210, or 42 and 70.
- Check: gcd(14, 210) = 14, since 14 | 210 (210 = 15 × 14); gcd(42, 70) = 14 (70 = 1 × 42 + 28; 42 = 1 × 28 + 14; 28 = 2 × 14 + 0).
Answer: the lcm is 210; the numbers are 14 and 210, or 42 and 70. Check: 14 × 210 = 42 × 70 = 2,940.
Find the missing number
- Round
- 1
- Score
- 0
- Streak
- 0
gcd(99, 126) = 9, found by the Euclidean algorithm. Find lcm(99, 126).
The divisions: 126 = 1 × 99 + 27; 99 = 3 × 27 + 18; 27 = 1 × 18 + 9; 18 = 2 × 9 + 0.
Three numbers: the identity fails
For three numbers a, b, c ≥ 1, the gcd and the lcm are defined as for two (lessons “Finding the GCD from prime factorizations” and “The least common multiple”). The natural guess gcd(a, b, c) × lcm(a, b, c) = a × b × c is false.
Compare gcd(2, 4, 6) × lcm(2, 4, 6) with 2 × 4 × 6.
- 2 divides all three, and no larger number divides 2: gcd(2, 4, 6) = 2.
- lcm(2, 4, 6) = lcm(lcm(2, 4), 6) = lcm(4, 6) = 12.
- gcd × lcm = 2 × 12 = 24, but 2 × 4 × 6 = 48.
Answer: 24 ≠ 48. The identity fails.
Compare gcd(6, 10, 15) × lcm(6, 10, 15) with 6 × 10 × 15.
- 6 = 2 × 3, 10 = 2 × 5, 15 = 3 × 5. No prime occurs in all three, so gcd(6, 10, 15) = 1, although every two of them share a prime.[14]
- lcm(6, 10, 15) = 2 × 3 × 5 = 30.
- gcd × lcm = 1 × 30 = 30, but 6 × 10 × 15 = 900.
Answer: 30 ≠ 900.
The proof of Section 2 shows what goes wrong. For three numbers, a prime p occurs some numbers of times in a, b and c. The gcd takes the smallest of the three counts and the lcm the largest, while a × b × c contains their sum. The smallest plus the largest equals the sum of all three only when the middle count is 0.
For a, b, c ≥ 1, gcd(a, b, c) × lcm(a, b, c) = a × b × c exactly when a, b and c are pairwise relatively prime, that is, when every two of them are relatively prime.[15]
Take a prime p and list its counts in a, b and c from smallest to largest: s ≤ m ≤ l. In gcd(a, b, c) × lcm(a, b, c), written as a product of primes, p occurs s + l times; in a × b × c it occurs s + m + l times. By uniqueness of prime factorization (lesson “Prime factorization is unique”), the two products are equal exactly when, for every prime, s + l = s + m + l, that is, m = 0.
m = 0 means that at most one of the three counts is nonzero: p occurs in at most one of the numbers. That holds for every prime exactly when no two of the numbers share a prime, that is, when every two of them are relatively prime (lesson “Finding the GCD from prime factorizations”, the first Corollary).
The lcm of three numbers can still be found with the identity, two numbers at a time, since lcm(a, b, c) = lcm(lcm(a, b), c) (lesson “The least common multiple”).[16]
Find lcm(12, 18, 30) with the Euclidean algorithm, and compare gcd × lcm with the product.
- gcd(12, 18): 18 = 1 × 12 + 6; 12 = 2 × 6 + 0. So 6, and lcm(12, 18) = (12 ÷ 6) × 18 = 36.
- gcd(36, 30): 36 = 1 × 30 + 6; 30 = 5 × 6 + 0. So 6, and lcm(36, 30) = (36 ÷ 6) × 30 = 180.
- gcd(12, 18, 30) = 6: 6 divides all three, and every common divisor divides gcd(12, 18) = 6.
Answer: lcm(12, 18, 30) = 180. Check: 180 = 15 × 12 = 10 × 18 = 6 × 30. Here 6 × 180 = 1,080, while 12 × 18 × 30 = 6,480: the three numbers are not pairwise relatively prime.
Exercises
Find gcd(16, 28) and lcm(16, 28), and verify the identity.
▸ Show solution
28 = 1 × 16 + 12; 16 = 1 × 12 + 4; 12 = 3 × 4 + 0, so gcd(16, 28) = 4. lcm(16, 28) = (16 ÷ 4) × 28 = 112. Then 4 × 112 = 448 = 16 × 28.
Use the Euclidean algorithm to find lcm(1,276, 551).
▸ Show solution
1,276 = 2 × 551 + 174; 551 = 3 × 174 + 29; 174 = 6 × 29 + 0. So gcd(1,276, 551) = 29, and lcm(1,276, 551) = (551 ÷ 29) × 1,276 = 19 × 1,276 = 24,244. Check: 24,244 = 44 × 551.
Two numbers have product 4,500 and gcd 15. Find their lcm, and every possible pair of numbers.
▸ Show solution
By the Theorem, gcd(a, b) × lcm(a, b) = a × b, so lcm(a, b) = 4,500 ÷ 15 = 300. Writing a = 15 × r, b = 15 × s gives 225 × r × s = 4,500, so r × s = 20.
The pairs with r × s = 20 are 1 and 20, 2 and 10, 4 and 5. In the pair 2, 10 both are even, so gcd(30, 150) = 30, not 15; it is excluded. The other two work: 15 and 300 (gcd 15, since 15 | 300), and 60 and 75 (75 = 1 × 60 + 15, 60 = 4 × 15 + 0: gcd 15). Check: 15 × 300 = 60 × 75 = 4,500.
Prove that gcd(a, b) divides lcm(a, b) for all a, b ≥ 1. Can two numbers have gcd 4 and lcm 30?
▸ Show solution
gcd(a, b) divides a, and a divides lcm(a, b), so by the rule on chains gcd(a, b) | lcm(a, b).[17]
So no two numbers have gcd 4 and lcm 30: 30 = 7 × 4 + 2, and 4 ∤ 30.
Prove that if gcd(a, b) = lcm(a, b) for a, b ≥ 1, then a = b.
▸ Show solution
gcd(a, b) ≤ a ≤ lcm(a, b), since gcd(a, b) | a and a | lcm(a, b) (Proposition on size). If gcd(a, b) = lcm(a, b), both inequalities are equalities, so a = gcd(a, b). In the same way b = gcd(a, b). Hence a = b. For positive numbers this is Burton’s exercise.[18]
Show that lcm(n, n + 1) = n × (n + 1) for every whole number n ≥ 1, and find lcm(99, 100).
▸ Show solution
n and n + 1 are consecutive, so gcd(n, n + 1) = 1 (lesson “The greatest common divisor”). By the second Corollary, lcm(n, n + 1) = n × (n + 1). For example lcm(99, 100) = 9,900.
Give three numbers greater than 1 for which gcd(a, b, c) × lcm(a, b, c) = a × b × c. Then decide whether it holds for 4, 9 and 10.
▸ Show solution
By the Proposition of Section 5, three numbers satisfy gcd × lcm = product exactly when they are pairwise relatively prime. For example 2, 3 and 5: gcd 1, lcm 30, and 1 × 30 = 30 = 2 × 3 × 5.
For 4, 9 and 10: 4 and 10 share the prime 2. gcd(4, 9, 10) = 1 and lcm(4, 9, 10) = 2 × 2 × 3 × 3 × 5 = 180, but 4 × 9 × 10 = 360.
Summary
- For a, b ≥ 1, gcd(a, b) × lcm(a, b) = a × b (Burton, Theorem 2.8; Rosen, Theorem 5).
- From prime factorizations: the gcd takes each prime the smaller number of times and the lcm the larger, and the smaller plus the larger of two counts is their sum.
- Without factorizations: a × b ÷ gcd is a common multiple, and every common multiple is a multiple of the lcm.
- So lcm(a, b) = (a ÷ gcd(a, b)) × b, found with the Euclidean algorithm; lcm(a, b) = a × b exactly when a and b are relatively prime.
- For three numbers the identity holds only when they are pairwise relatively prime: 6, 10 and 15 give 1 × 30 = 30, not 900.
Sources
- 1.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, Theorem 2.8, p. 30 (the whole topic: pp. 29–30).
“Theorem 2.8. For positive integers a and b gcd(a, b) lcm(a, b) = ab”
Used for: the Theorem: gcd(a, b) × lcm(a, b) = a × b for a, b ≥ 1 (Burton’s Theorem 2.8). - 2.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 4, “Number Theory and Cryptography”, section 4.3, “Primes and Greatest Common Divisors” (4.3.6, “Greatest Common Divisors and Least Common Multiples”), Theorem 5, p. 282 (the whole topic: pp. 281–282).
“Let a and b be positive integers. Then ab = gcd(a, b) ⋅lcm(a, b).”
Used for: the Theorem (Rosen’s Theorem 5). - 3.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 4, “Number Theory and Cryptography”, section 4.3, “Primes and Greatest Common Divisors” (4.3.6, “Greatest Common Divisors and Least Common Multiples”), p. 282 (the whole topic: pp. 281–282).
“Theorem 5 gives the relationship between the greatest common divisor and least common multiple of two integers.”
Used for: Rosen introduces the Theorem as the relationship between the gcd and the lcm. - 4.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, p. 30 (the whole topic: pp. 29–30).
“We lack a relationship between the ideas of greatest common divisor and least common multiple. This gap is filled by Theorem 2.8.”
Used for: Burton introduces the Theorem as the relationship between the gcd and the lcm. - 5.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 4, “Number Theory and Cryptography”, section 4.3, “Primes and Greatest Common Divisors”, Exercises, Exercise 31, p. 289 (the whole topic: pp. 281–282, 289).
“Show that if a and b are positive integers, then ab = gcd(a, b) ⋅lcm(a, b). [Hint: Use the prime factorizations of a and b and the formulae for gcd(a, b) and lcm(a, b) in terms of these factorizations.]”
Used for: the Theorem is proved from the prime factorizations and the rules for the gcd and the lcm. - 6.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter Answers to Odd-Numbered Exercises, section 4.3, Exercise 31, pp. S-26 (the whole topic: pp. S-26).
“Because min(x, y) + max(x, y) = x + y, the exponent of pi in the prime factorization of gcd(a, b) ⋅lcm(a, b) is the sum of the exponents of pi in the prime factorizations of a and b.”
Used for: the Lemma (the smaller plus the larger of two numbers is their sum) and its use in the proof: each prime occurs in gcd × lcm as often as in a and b together. - 7.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 6, “Number-Theoretic Functions”, section 6.1, “The Sum and Number of Divisors”, Problems 6.1, Problem 3, p. 110 (the whole topic: pp. 110).
“Deduce from Problem 1 that gcd(m, n) lcm(m, n) = mn for positive integers m and n.”
Used for: Burton sets the deduction of the Theorem from the prime-factorization formulas as an exercise. - 8.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, proof of Theorem 2.8, p. 30 (the whole topic: pp. 29–30).
“To begin, put d = gcd(a, b) and write a = dr, b = ds for integers r and s. If m = ab/d, then m = as = rb, the effect of which is to make m a (positive) common multiple of a and b.”
Used for: Step 1 of the second proof: with a = d × r and b = d × s, the number a × b ÷ d = a × s = r × b is a common multiple. - 9.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, proof of Theorem 2.8, p. 30 (the whole topic: pp. 29–30).
“As we know, there exist integers x and y satisfying d = ax + by.”
Used for: Burton’s proof continues with integers x and y such that d = a × x + b × y. - 10.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, p. 30 (the whole topic: pp. 29–30).
“Perhaps the chief virtue of Theorem 2.8 is that it makes the calculation of the least common multiple of two integers dependent on the value of their greatest common divisor—which, in turn, can be calculated from the Euclidean Algorithm.”
Used for: the chief use of the Theorem: the lcm is found from the gcd, and the gcd from the Euclidean algorithm. - 11.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, Corollary to Theorem 2.8, p. 30 (the whole topic: pp. 29–30).
“Corollary. For any choice of positive integers a and b, lcm(a, b) = ab if and only if gcd(a, b) = 1.”
Used for: the second Corollary: lcm(a, b) = a × b exactly when gcd(a, b) = 1. - 12.Euclid, trans. T. L. Heath, ed. D. E. Joyce, “Euclid’s Elements, Book VII, Proposition 34”, Clark University.Section “Proposition 34”. mathcs.clarku.edu/~djoyce/java/elements/bookVII/propVII34.html · open at the quoted passage.
“First, let A and B be relatively prime. Multiply A by B to make C.”
Used for: Euclid’s construction of the least common multiple (Elements VII.34) multiplies relatively prime numbers. - 13.Euclid, trans. T. L. Heath, ed. D. E. Joyce, “Euclid’s Elements, Book VII, Proposition 34”, Clark University.Section “Guide”. mathcs.clarku.edu/~djoyce/java/elements/bookVII/propVII34.html · open at the quoted passage.
“This proposition constructs it as the product divided by the greatest common divisor”
Used for: in general Euclid’s construction gives the lcm as the product divided by the gcd. - 14.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, p. 31 (the whole topic: pp. 30–31).
“The reader is cautioned that it is possible for three integers to be relatively prime as a triple (in other words, gcd(a, b, c) = 1), yet not relatively prime in pairs; this is brought out by the integers 6, 10, and 15.”
Used for: gcd(6, 10, 15) = 1, although every two of 6, 10 and 15 share a prime. - 15.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 4, “Number Theory and Cryptography”, section 4.3, “Primes and Greatest Common Divisors” (4.3.6, “Greatest Common Divisors and Least Common Multiples”), Definition 4, p. 281 (the whole topic: pp. 281–282).
“The integers a1, a2, … , an are pairwise relatively prime if gcd(ai, aj) = 1 whenever 1 ≤ i < j ≤ n.”
Used for: the term pairwise relatively prime: every two of the numbers are relatively prime. - 16.Euclid, trans. T. L. Heath, ed. D. E. Joyce, “Euclid’s Elements, Book VII, Proposition 36”, Clark University.Section “Guide”. mathcs.clarku.edu/~djoyce/java/elements/bookVII/propVII36.html · open at the quoted passage.
“The least common multiple of three numbers a, b, and c can be found as”
Used for: the lcm of three numbers is found two at a time (the Guide writes LCM(a, b, c) = LCM(LCM(a, b), c)). - 17.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, Problems 2.4, Problem 9, p. 31 (the whole topic: pp. 29–31).
“Prove that the greatest common divisor of two positive integers divides their least common multiple.”
Used for: gcd(a, b) divides lcm(a, b) (a standard exercise). - 18.David M. Burton, Elementary Number Theory (7th ed., McGraw-Hill, 2011).Chapter 2, “Divisibility Theory in the Integers”, section 2.4, “The Euclidean Algorithm”, Problems 2.4, Problem 10 (a), p. 31 (the whole topic: pp. 29–31).
“(a) gcd(a, b) = lcm(a, b) if and only if a = ±b.”
Used for: gcd(a, b) = lcm(a, b) exactly when a = b, for positive numbers (the source allows negative numbers, hence ±).