Greatest Common Factor
Mateo has two ribbons for making gift bows, one $30$ inches long and one $45$ inches long. He wants to cut both into pieces that are all the same length, as long as possible, with no ribbon left over. How long should each piece be? The answer is the greatest common factor, and by the end of this page you will find it.
What is the GCF?
A factor (or divisor) of a number divides it exactly. A common factor of two numbers is a factor of both. The biggest one has a name.
The most direct method, good for small numbers: list all the factors of each number, circle the ones they share, and pick the biggest.
Calculate all the divisors of the numbers $12$ and $18$. Then, indicate which are the common divisors and point out which of them is the Greatest Common Factor (GCF).
Calculate all the divisors of the numbers $12$ and $18$. Then, indicate which are the common divisors and point out which of them is the Greatest Common Factor (GCF).
Ashley has $20$ star stickers and $30$ planet stickers. She wants to make equal envelopes with the largest possible number of stickers of each type, without any left…
Ashley has $20$ star stickers and $30$ planet stickers. She wants to make equal envelopes with the largest possible number of stickers of each type, without any left over. How many stickers of each kind must she put in each envelope? (Hint: Look for the greatest common divisor of $20$ and $30$).
Finding the GCF with prime factorization
Listing every factor gets slow with big numbers like $84$ and $126$. Prime factorization is faster.
The same method works for three or more numbers. A prime only counts if it appears in all of them.
Look at the prime factorizations of these two numbers and find their $MCD$: $A = 2^{2} \cdot 3 \cdot 5$ $B = 2 \cdot 3^{2}$ Remember the pedagogical rule: "For the GCF,…
Look at the prime factorizations of these two numbers and find their $MCD$:
-
$A = 2^{2} \cdot 3 \cdot 5$
-
$B = 2 \cdot 3^{2}$
Remember the pedagogical rule: "For the GCF, we take the common factors raised to the lowest exponent".
Calculate the Greatest Common Factor ($M.C.D.$) of the following groups of numbers using the prime factorization method: a) $48$ and $72$ b) $30, 45$ and $60$ c) $120$…
Calculate the Greatest Common Factor ($M.C.D.$) of the following groups of numbers using the prime factorization method:
- a) $48$ and $72$
- b) $30, 45$ and $60$
- c) $120$ and $150$
Look at the following prime factorizations of three numbers and, without carrying out the multiplications, indicate what their $\text{HCF}$ is:…
Look at the following prime factorizations of three numbers and, without carrying out the multiplications, indicate what their $\text{HCF}$ is:
$A = 2^3 \cdot 3^2 \cdot 5$
$B = 2^2 \cdot 3^3$
$C = 2^2 \cdot 3^2 \cdot 7$
Relatively prime numbers and quick shortcuts
Sometimes the GCF is easy to see without any work.
Here is another shortcut.
Work out the $MCD$ of the following pairs of numbers mentally. They are small numbers where you can identify the greatest common factor at a glance: a) $MCD(4, 8)$ b)…
Work out the $MCD$ of the following pairs of numbers mentally. They are small numbers where you can identify the greatest common factor at a glance:
- a) $MCD(4, 8)$
- b) $MCD(5, 10)$
- c) $MCD(7, 14)$
- d) $MCD(10, 20)$
What do all these results have in common?
We say that two numbers are relatively prime when their only common divisor is $1$. Check if the numbers $8$ and $15$ are relatively prime by finding their $GCF$.
We say that two numbers are relatively prime when their only common divisor is $1$. Check if the numbers $8$ and $15$ are relatively prime by finding their $GCF$.
Two numbers are said to be relatively prime if their only common divisor is $1$. Check if the following pairs of numbers are relatively prime by calculating their…
Two numbers are said to be relatively prime if their only common divisor is $1$. Check if the following pairs of numbers are relatively prime by calculating their $M.C.D.$:
- a) $14$ and $15$
- b) $22$ and $33$
- c) $21$ and $25$
Word problems: equal groups
Look for these clues: "the greatest number of identical groups", "the largest possible", "with nothing left over". They signal a GCF.
In a library they want to organize $45$ adventure books and $60$ science fiction books on shelves, so that on each shelf there is the same number of books and that this…
In a library they want to organize $45$ adventure books and $60$ science fiction books on shelves, so that on each shelf there is the same number of books and that this is the maximum possible.
- a) How many books will they put on each shelf?
- b) How many shelves will they use for the adventure books and how many for the science fiction ones?
A team-building day has been organized at the middle school. There are $54$ students in 6th grade and $42$ students in 7th grade. They want to form teams (all from the…
A team-building day has been organized at the middle school. There are $54$ students in 6th grade and $42$ students in 7th grade. They want to form teams (all from the same grade or mixed, as decided by the teacher) but on the condition that all the teams in the school have exactly the same number of people and that this number is the maximum possible without anyone being left out.
- a) How many students will there be in each team?
- b) How many 6th grade teams and how many 7th grade teams will be formed?
For a food bank, a supermarket donates $36$ cans of beans, $48$ cartons of milk and $60$ packages of rice. They want to prepare the largest possible number of equal bags…
For a food bank, a supermarket donates $36$ cans of beans, $48$ cartons of milk and $60$ packages of rice. They want to prepare the largest possible number of equal bags to distribute, so that in each bag there is the same number of products of each type.
- a) How many bags will they be able to prepare at most?
- b) What will each bag contain?
Word problems: cutting into equal pieces
When you cut lengths of rope, wood or cable into pieces of the same size, with no waste, the GCF is the length of each piece.
A gardener wants to cut two hoses, one of $15$ feet and another of $25$ feet, into pieces that measure the same and are as long as possible, so that no hose is wasted.…
A gardener wants to cut two hoses, one of $15$ feet and another of $25$ feet, into pieces that measure the same and are as long as possible, so that no hose is wasted. What length will each piece be?
An electrician has two rolls of leftover cable from a construction site: a blue one that measures $120$ feet and a black one of $96$ feet. He wants to cut them into…
An electrician has two rolls of leftover cable from a construction site: a blue one that measures $120$ feet and a black one of $96$ feet. He wants to cut them into pieces of the same length, so that they are as long as possible and there is no cable left over on either roll.
- a) How long must each piece be?
- b) How many pieces will he get in total between the two colors?
In a technology workshop, the students have three wooden slats of $120$ inches, $144$ inches and $180$ inches in length. The teacher asks them to cut them into equal…
In a technology workshop, the students have three wooden slats of $120$ inches, $144$ inches and $180$ inches in length. The teacher asks them to cut them into equal pieces, with no wood left over, and of the greatest possible length to make bridge structures.
- a) What length must each piece be?
- b) How many pieces will they get in total by adding the three slats?
Three quantities and a second question
Harder problems have three quantities, or ask for something extra at the end, like how many groups of each kind. The plan is the same:
-
Decide whether the GCF is the number of groups or the size of a group.
-
Find the GCF of all the numbers.
-
Divide each number by the GCF and answer the second question.
A food bank has received three donations of basic products: $540$ gallons of milk, $420$ pounds of rice and $360$ packages of pasta. They want to organize identical…
A food bank has received three donations of basic products: $540$ gallons of milk, $420$ pounds of rice and $360$ packages of pasta. They want to organize identical batches to distribute among the largest possible number of families, so that in each batch there is the same amount of each product and nothing is left over.
- a) How many families will they be able to help at most?
- b) What amount of each product will each of these families receive?
An organic farmer has picked $250$ red apples, $325$ green apples and $175$ yellow apples. He wants to pack them into equal boxes (with the same number of apples of a…
An organic farmer has picked $250$ red apples, $325$ green apples and $175$ yellow apples. He wants to pack them into equal boxes (with the same number of apples of a single color per box) to send them to different shops. If he wants the boxes to contain the maximum possible number of pieces:
- a) How many apples will there be in each box?
- b) How many boxes of each type of apple will he send?
In a chemistry laboratory they have three containers with different solutions: one with $135$ fl oz, another with $180$ fl oz and a third with $225$ fl oz. They want to…
In a chemistry laboratory they have three containers with different solutions: one with $135$ fl oz, another with $180$ fl oz and a third with $225$ fl oz. They want to distribute all the liquid into identical test tubes, with the greatest possible capacity, so that all the tubes are completely full and the substances are not mixed.
- a) What will be the maximum capacity of each test tube?
- b) How many tubes will be filled from the container with the largest volume?
Squares, rectangles and fence posts
To cover a rectangle with identical squares that fit exactly (no cutting), the side of each square must divide both the length and the width. The largest possible square has a side equal to the GCF.
The GCF also decides how far apart you can place posts around a fence so that the spacing is equal and there is a post at every corner.
A craft shop wants to cut a sheet of foam board $150$ inches long by $90$ inches wide into equal squares, so that they are as large as possible and no piece is left…
A craft shop wants to cut a sheet of foam board $150$ inches long by $90$ inches wide into equal squares, so that they are as large as possible and no piece is left over.
- a) What dimensions will the side of each square have?
- b) If each square is sold for $\$2,50$, how much money will they get from selling all the squares that come out of the sheet?
An urban artist wants to design a mural on a rectangular wall that measures $210$ inches high by $165$ inches wide. For her design, she wants to divide the entire wall…
An urban artist wants to design a mural on a rectangular wall that measures $210$ inches high by $165$ inches wide. For her design, she wants to divide the entire wall into equal squares, so that they are as large as possible and she does not have to cut any pieces.
- a) How long must the side of each square be to cover the whole wall?
- b) How many squares will the mural have in total?
A gardener wants to surround a rectangular vegetable patch $90$ feet long and $126$ feet wide with posts for a fence. The owner of the patch has asked him to place a…
A gardener wants to surround a rectangular vegetable patch $90$ feet long and $126$ feet wide with posts for a fence. The owner of the patch has asked him to place a post in each corner and that the distance between each post is always the same and as large as possible.
- a) What distance must he leave between each post?
- b) How many posts will he need in total to surround the entire perimeter of the vegetable patch?
Puzzles with remainders and missing numbers
These problems are about what the GCF means, so they are good practice for reasoning.
Dividing with a remainder
If a number $n$ divided by $d$ leaves remainder $r$, then $n - r$ is a multiple of $d$, because taking away the remainder leaves an exact division. So remove the remainder first, then take the GCF.
Finding or inventing a number with a given GCF
Make up two different natural numbers, $a$ and $b$, so that the following condition is met: $M.C.D.(a, b) = 12$ Explain your answer by showing the prime factorization of…
Make up two different natural numbers, $a$ and $b$, so that the following condition is met:
$M.C.D.(a, b) = 12$
Explain your answer by showing the prime factorization of the chosen numbers.
We are looking for the largest possible number that, when dividing the numbers $159$ and $195$, leaves a remainder of $3$ units in both cases. Explain the steps you…
We are looking for the largest possible number that, when dividing the numbers $159$ and $195$, leaves a remainder of $3$ units in both cases. Explain the steps you follow to find it using the concept of Greatest Common Factor.
We know that the Greatest Common Factor of two numbers is $12$ and that one of those numbers is $48$. If the other number is greater than $50$ but less than $70$: a)…
We know that the Greatest Common Factor of two numbers is $12$ and that one of those numbers is $48$. If the other number is greater than $50$ but less than $70$:
- a) Find what that second number is.
- b) Explain why it could not be the number $60$ using prime factorization.
Back to the start: Mateo's ribbons are $30 = 2 \cdot 3 \cdot 5$ inches and $45 = 3^2 \cdot 5$ inches. The common primes are $3$ and $5$, so $\text{GCF}(30, 45) = 15$. Each piece is $15$ inches long, and he gets $2$ pieces from the first ribbon and $3$ from the second.