Compute the greatest common factor of two integers
Find the greatest common factor by comparing factor lists. The idea in plain words, a worked example, and a check with the answers shown — part of the free Arithmetic guides.
The greatest common factor of two numbers is the largest number that divides both of them.
Take twelve and eighteen. The factors of twelve are one, two, three, four, six and twelve.
The factors of eighteen are one, two, three, six, nine and eighteen. The largest number in both lists is six.
The greatest common factor looks for factors. A factor divides the number, so it is small.
The least common multiple looks for multiples. A multiple is divided by the number, so it is large. One answer is at most the smaller number, and the other is at least the larger.
That is why the two answers are never confused for long: a greatest common factor is small, and a least common multiple is large.
Find the greatest common factor of 20 and 30.
Step 1: list the factors of twenty. They are 1, 2, 4, 5, 10 and 20. Step 2: list the factors of thirty. They are 1, 2, 3, 5, 6, 10, 15 and 30. Step 3: read the numbers in both lists. They are 1, 2, 5 and 10. Step 4: take the largest. It is ten, so the answer is 10.
- Find the greatest common factor by comparing factor lists
- Use the greatest common factor to share two amounts into equal groups
- Tell the greatest common factor apart from the least common multiple
- 1. What is the greatest common factor of 10 and 15?
- 2. What is the greatest common factor of 7 and 14?
- 3. What is the greatest common factor of 8 and 9?
Answers
- 1. 5.
- 2. 7, because 7 divides both.
- 3. 1: they share no factor above one.