Greatest Common Divisor Lowest Common Multiple
Greatest Common Divisor Lowest Common Multiple
Greatest Common Divisor Lowest Common Multiple
S k ill
in
ARITHMETIC
Table of Contents | Home | Introduction
25
Lesson 33
We will now learn how to find the greatest common divisor and the lowest common multiple of
two numbers from their prime factorizations. (In Lesson 23 we saw how to find the LCM
directly.) But first, let us see how to find all the divisors of a number from its prime factors.
We say that one number is a divisor of a second when the second is its multiple. 4 is a divisor of
36 because 36 is a multiple of 4: 36 = 9 4. And we can see that in the prime factors of 36:
36 = 2 2 3 3.
Apart from the order, 36 = 9 4.
4 is a divisor of 36. (And so is 9.)
All the divisors of a number can be found from its prime factors.
Example 1. Here is the prime factorization of 60:
60 = 2 2 3 5.
By taking those primes singly, then two at a time, then three at a time, and so on, we can construct
all the divisors of 60.
Singly: 2, 3, 5, and 1.
www.themathpage.com/ARITH/gcd.htm
1/6
eatest12/14/12
common div isor. Lowest common multiple. A complete course in arithmetic
eatest12/14/12
common div isor. Lowest common multiple. A complete course in arithmetic
1, 2, 4, 5, 10, 20.
Which numbers are the common divisors of 12 and 20?
1, 2, 4.
What number is their greatest common divisor?
4.
Problem 3. What number is the greatest common divisor of each pair?
a) 6, 9. 3
b) 8, 12. 4
c) 16, 40. 8
d) 7, 14. 7
e) 4, 20. 4
f) 6, 42. 6
g) 5, 11. 1
h) 6, 35. 1
i) 1, 12. 1
Problem 4.
2 2 2 5 and 2 5 5
25
2 5 is their greatest common divisor.
For, we can construct the divisors of a number from its prime factors. From the primes of each
number we could construct the divisor 2 5.
The greatest common divisor of two numbers is the largest product of primes that the two
numbers share.
Problem 5. Find the greatest common divisor of each pair.
a) 3 11 and 11 13. 11
b) 5 7 7 and 5 5 7. 5 7
c) 2 3 7 and 5 7 7 11. 7
d) 2 2 2 3 5 5 and 2 3 3 5 5 5 7.
2355
They share one 2, one 3, and two 5's.
e) 3 7 and 11 29. 1
e) Those numbers don't share any primes. But 1 is a common divisor of
e) every pair of numbers. In the case, it is their only -- and greatest -e) common divisor.
www.themathpage.com/ARITH/gcd.htm
3/6
eatest12/14/12
common div isor. Lowest common multiple. A complete course in arithmetic
f) 5 5 and 5 5 5 5 5. 5 5
Problem 6. Find the greatest common divisor of each pair.
a) 45 and 75. 15
b) 42 and 63. 21
c) 30 and 77. 1
Problem 7.
a) What is the greatest common divisor of 12 and 35? 1
1 is a common divisor of every pair of numbers. But when 1 is their only and hence their greatest
common divisor, we say that those numbers are relatively prime. Now, 12 and 35 are not prime
numbers, but they are relatively prime.
b) Write the prime factorizations of 12 and 35.
12 = 2 2 3. 35 = 5 7.
c) What prime factors do they share? None.
That is how to recognize when two numbers are relatively prime.
Problem 8. Which of these pairs are relatively prime?
a) 6 and 35. Yes.
b) 6 and 8. 24
c) 10 and 12. 60
d) 3 and 15. 15
e) 4 and 24. 24
g) 2 and 3. 6
h) 5 and 8. 40
i) 8 and 9. 72
Problem 10. Name the lowest common multiple (LCM) of each pair. Then name their greatest
common divisor (GCD).
a) 12 and 16. LCM = 48. GCD = 4.
b) 15 and 20. LCM = 60. GCD = 5.
4/6
eatest12/14/12
common div isor. Lowest common multiple. A complete course in arithmetic
We will now see how to find the LCM by writing the prime factorizations.
Example 2. Here are the prime factorizations of 24 and 20.
24 = 2 2 2 3. 20 = 2 2 5.
Now, each multiple of these numbers will have its own prime factorization. The prime
factorization of a multiple of 24 will contain all the primes of 24, and a multiple of 20 will have all
the primes of 20. A common multiple will have all the primes of each. Their lowest common
multiple will be the smallest product that contains every prime from each number.
Here it is:
LCM = 2 2 2 3 5.
We have taken the most of each prime from the two numbers: The three 2's of 24, the one 3 of
24, and the one 5 of 20. The above is the smallest product of primes that contains both 2 2
2 3 and
2 2 5.
To evaluate that number, the order of the factors does not matter. (Lesson 9.) Therefore let us
take advantage of 2 5 = 10. We will group the factors as follows:
(2 5) (2 2 3) = 10 12 = 120.
Problem 12. Construct the lowest common multiple of the following.
a) 2 3 and 3 5. LCM = 2 3 5 = 30.
b) 3 3 5 and 3 5 5. LCM = 3 3 5 5 = 225.
c) 2 3 5 5. and 2 2 2 5 7.
c) LCM = 2 2 2 3 5 5 7 = 4200.
d) 2 2 and 2 2 2. LCM = 2 2 2 = 8.
e) 7 and 11. LCM = 7 11 = 77.
f) 2 3 and 5 7. LCM = 2 3 5 7 = 210.
g) 2 5, 7 11, and 5 11. LCM = 2 5 7 11 = 770.
www.themathpage.com/ARITH/gcd.htm
5/6
eatest12/14/12
common div isor. Lowest common multiple. A complete course in arithmetic
www.themathpage.com/ARITH/gcd.htm
6/6