Chapter 3 · Number system fluency
Greatest Common Factors and Least Common Multiples
Learn what the greatest common factor and least common multiple of two numbers mean. Find each one with lists or with prime factorization.
You already know that a factor of a number is a whole number that divides it with no remainder. For example, is a factor of because with nothing left over.
Now you will compare two numbers at a time. Every number in this lesson is a whole number greater than .
A common factor of two numbers is a factor of both. The greatest common factor, or GCF, is the largest common factor. It is the biggest number that divides both numbers with no remainder.
To find the GCF of and , list every factor of each number. Then look for the numbers that are in both lists. A number in only one list, such as , is not a common factor.
| List | Numbers in the list |
|---|---|
Factors of | |
Factors of | |
Common factors | |
Greatest common factor |
Worked example
Find a GCF by listing factors
Find the greatest common factor of and .
List every factor of 24. Use factor pairs: each factor has a partner that multiplies with it to make 24, so the pairs give you every factor. The pairs are 1 and 24, 2 and 12, 3 and 8, and 4 and 6. Write the numbers in order.
Do the same for 36. The pairs are 1 and 36, 2 and 18, 3 and 12, 4 and 9, and 6 and 6. Write 6 only once.
Pick out the numbers that are in both lists. These are the common factors, because each one divides 24 and also divides 36.
The GCF is the largest common factor, so choose 12. Check it: 12 times 2 is 24 and 12 times 3 is 36, so 12 divides both numbers with no remainder.
Answer
The greatest common factor of and is .
A multiple of a number is what you get when you multiply it by a counting number (). The multiples of are , and so on. They are the numbers you say when you count by sixes, and the list never ends.
A common multiple of two numbers is a multiple of both. The least common multiple, or LCM, is the smallest common multiple. It is the first number that both counts land on.
To find the LCM of and , count by sixes and count by nines. Then look for the first number that is in both lists. A number in only one list, such as , is not a common multiple.
| List | Numbers in the list |
|---|---|
Multiples of | |
Multiples of | |
Common multiples | |
Least common multiple |
Worked example
Find an LCM by listing multiples
Find the least common multiple of and .
List multiples of the larger number, 10. Every common multiple of 8 and 10 is a multiple of 10, so the LCM must be in this list. Starting with the larger number means fewer numbers to test.
Test the multiples in order, smallest first. Divide each one by 8. A remainder (R) means the number is not a multiple of 8.
Test the next multiple, 40. It divides by 8 with no remainder, so 40 is a multiple of 8 as well as a multiple of 10.
Stop here. You tested from smallest to largest, so the first number that works is the least common multiple.
Answer
The least common multiple of and is .
Key concept
Two questions about the same two numbers
For two whole numbers greater than :
- The greatest common factor (GCF) is the largest whole number that divides both numbers with no remainder.
- The least common multiple (LCM) is the smallest number that is a multiple of both numbers.
A common factor goes into both numbers. Both numbers go into a common multiple. For and , the GCF is and the LCM is .
You already know how to write a prime factorization, which shows a number as a product of prime numbers (primes for short). You can use it to find both the GCF and the LCM of two whole numbers greater than . Those are the numbers that have a prime factorization.
Write the prime factorization of each number. Then match primes that are the same. Pair one prime from the first number with one from the second, and use each prime in only one pair. A prime left without a partner is unmatched.
- GCF: a common factor must fit inside both factorizations, so you can build it only from matched pairs. Use them all: multiply one prime from each pair. If no primes match, the only common factor is , so the GCF is .
- LCM: a common multiple must contain the whole prime factorization of each number. A matched pair needs only one copy, because that copy counts for both numbers. So multiply one prime from each pair and every unmatched prime.
Try this on and , where you already know the answers. Write and . The in pairs with one in . The in and the other in are unmatched.
- GCF: there is one matched pair, so the GCF is .
- LCM: multiply one from the pair by the unmatched and . You get .
Both answers agree with your lists.
Worked example
Find the GCF and the LCM with primes
Use prime factorization to find the greatest common factor and the least common multiple of and .
Write the prime factorization of each number so that you can compare their primes.
Match equal primes, one from each number. Two 2s from 8 pair with the two 2s from 12. Put the matched part in parentheses. Regrouping factors does not change a product, so both equations stay true. One 2 from 8 and the 3 from 12 are unmatched.
Multiply the matched primes, one from each pair, to get the GCF. These primes are in both numbers, so their product divides both: 8 is 4 times 2, and 12 is 4 times 3.
For the LCM, multiply one prime from each pair and every unmatched prime. The product contains all of 8 and all of 12, with nothing extra.
Check with lists. The factors of 8 are 1, 2, 4, 8 and the factors of 12 are 1, 2, 3, 4, 6, 12, so the greatest factor they share is 4. The first multiple of 12 is 12, which is not a multiple of 8. The second is 24, and 8 divides it with no remainder.
Answer
The greatest common factor of and is , and their least common multiple is .
Takeaway. The GCF and the LCM answer two different questions about the same two numbers. The GCF is the largest number that divides both. The LCM is the smallest number that is a multiple of both. You can find each one with lists or by matching primes.
Next, you will use the GCF and the distributive property to factor a sum, solve word problems about the GCF and the LCM, and find mistakes in GCF and LCM work.