GCSE Mathematics · Chapter 3 · Number
Every whole number greater than 1 is either prime or a product of primes, and that product is unique.
This chapter builds from factors and multiples to prime numbers and prime factorisation. It then uses prime factors to find the highest common factor and the lowest common multiple, and applies them to problems.
In this chapter · jump to a section
Start here
Your route through this chapter
By the end of this chapter you will be able to:
- list the factors and multiples of a number, and find factor pairs
- recognise prime numbers and explain why 1 is not prime
- write a number as a product of its prime factors, in index form
- find the HCF and LCM of two or three numbers, by listing or from prime factors
- choose between the HCF and the LCM to solve a problem in context
Time: two sessions, about 1 hour 45 minutes. Session 1 covers sections 1 to 3. Session 2 covers sections 4 and 5 and the practice ladder.
Before you start, check you can do three things. Recall the times tables to . Divide a two-digit or three-digit number by a single digit. Read a power such as as .
Two interactive figures sit inside the teaching. Figure 3.1 is a factor tree builder in section 3. Figure 3.2 is a prime factor Venn diagram in section 4.
Section 1
Factors and multiples
A factor of a number divides into it exactly, with no remainder. The factors of 12 are 1, 2, 3, 4, 6 and 12. Each one divides 12 exactly.
A multiple of a number is in its times table. The multiples of 12 are 12, 24, 36, 48 and so on. They never stop, so a list of multiples always ends with a row of dots.
Factors are small and multiples are big. Every factor of 12 is at most 12. Every multiple of 12 is at least 12. A number is both a factor and a multiple of itself.
Factors come in pairs that multiply to give the number. For 12 the pairs are , and . Picture each pair as a rectangle made of 12 squares. A rectangle of 3 rows of 4 is one way to arrange them.
To find every factor without missing one, work in pairs. Start with 1 and the number itself. Then try 2, 3, 4 and so on, writing each partner as you go. Stop when the factors start to repeat, because every pair has then been found.
For 36 the pairs are , , , and . The next number to try is 9, which already appears. So the list is complete. Because 6 pairs with itself, 36 has an odd number of factors.
Only square numbers have an odd number of factors. Every other number has its factors in distinct pairs, so it has an even count. This is a quick way to check you have not missed one.
Divisibility rules speed up the search. A number is divisible by 2 if its last digit is even. It is divisible by 3 if its digits add to a multiple of 3. It is divisible by 5 if it ends in 0 or 5. It is divisible by 10 if it ends in 0.
For example, the digits of 117 add to . Nine is a multiple of 3, so 3 is a factor of 117. In fact .
A common factor of two numbers is a factor of both. The factors of 12 are 1, 2, 3, 4, 6 and 12. The factors of 18 are 1, 2, 3, 6, 9 and 18. So the common factors are 1, 2, 3 and 6.
A common multiple is a multiple of both. The multiples of 4 are 4, 8, 12, 16, 20, 24 and so on. The multiples of 6 are 6, 12, 18, 24 and so on. So 12 and 24 are common multiples.
Worked example 1: list factors and multiples
List the factors of 30. Then list the first five multiples of 30.
| Working | Reason |
|---|---|
| , , , | Test each number from 1 upwards and write its partner. |
| 6 is already in the list, so stop | The pairs have started to repeat, so every factor is found. |
| Factors: 1, 2, 3, 5, 6, 10, 15, 30 | Write the factors in order from both columns of pairs. |
| Multiples: 30, 60, 90, 120, 150 | Multiply 30 by each whole number from one to five. |
Check yourself. Find all the common factors of 24 and 40.
Show the answer
The factors of 24 are 1, 2, 3, 4, 6, 8, 12 and 24. The factors of 40 are 1, 2, 4, 5, 8, 10, 20 and 40. The numbers in both lists are 1, 2, 4 and 8.
Common mistake: confusing factors and multiples. Asked for the factors of 8, a student writes 8, 16, 24 and 32. Those are multiples of 8. The factors divide into 8 exactly, so they are 1, 2, 4 and 8.
Section 2
Prime numbers
A prime number has exactly two factors: 1 and itself. The first primes are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29.
A number with more than two factors is called composite. For example, 15 is composite because its factors are 1, 3, 5 and 15. It can be split as .
The number 1 is not prime. It has only one factor, itself. Treating 1 as prime is counting 1 as a prime, and it breaks the rule that every number has one prime factorisation.
The number 2 is the only even prime. Every other even number has 2 as a factor, so it has at least three factors. So apart from 2, every prime is odd.
Not every odd number is prime, though. The numbers 9, 15, 21, 25 and 27 are all odd and all composite. Check each odd number carefully.
To test whether a number is prime, try dividing it by the primes 2, 3, 5, 7 and so on. You only need to try primes up to the square root of the number. If none divides exactly, the number is prime.
The reason is that factors come in pairs. If a number had a factor bigger than its square root, the partner in that pair would be smaller than the square root. You would already have found the partner.
For example, to test 91, the square root is between 9 and 10. So try 2, 3, 5 and 7. It is odd, its digits add to 10 and it does not end in 0 or 5. But , so 91 is not prime.
To test 97, try the same primes. Nothing divides exactly: leaves a remainder of 6. So 97 is prime.
A sieve is a neat way to find all the primes up to a limit. Write the numbers 2 to 50 in a grid. Circle 2, then cross out every other multiple of 2. Circle the next number left, which is 3, and cross out its multiples. Keep going with 5 and 7. Every number still standing is prime.
Primes appear less often as numbers get larger, but they never run out. There are 25 primes below 100. The ones from 30 to 100 are 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89 and 97.
Worked example 2: decide whether a number is prime
Decide whether 51 and 53 are prime.
| Working | Reason |
|---|---|
| Try 2, 3, 5 and 7 for both | The square roots are just over 7, so these primes are enough. |
| , so | The digit sum is a multiple of 3, so 3 divides 51 exactly. |
| 51 is not prime | It has factors other than 1 and itself. |
| 53: none of 2, 3, 5, 7 divides exactly | Each division leaves a remainder, so no factor pair exists. |
| 53 is prime | Its only factors are 1 and 53. |
Check yourself. Write down all the prime numbers between 30 and 50.
Show the answer
Test each odd number from 31 to 49. The primes are 31, 37, 41, 43 and 47. The others, such as 33, 35, 39, 45 and 49, all have a factor of 3, 5 or 7.
Common mistake: counting 1 as a prime. Asked for the primes less than 10, a student writes 1, 2, 3, 5 and 7. A prime needs exactly two different factors. The number 1 has only one, so the correct list is 2, 3, 5 and 7.
Section 3
Prime factorisation
Every whole number greater than 1 can be written as a product of primes in exactly one way. Order does not count, so and are the same. This is why primes are called the building blocks of numbers.
Writing a number this way is called prime factorisation. A factor tree is a reliable method. Split the number into any factor pair. Then split each branch again, and keep going until every branch ends in a prime.
For 360, one tree starts with . Then and , and each 6 splits into . The primes at the ends are 2, 2, 2, 3, 3 and 5.
Write the primes in order from smallest to largest. Then . In index form a repeated prime is written as a power, so .
A different first split gives the same primes. Starting with leads to the same six primes at the ends. Figure 3.1 lets you choose the first split and see this for yourself.
Leaving a branch that is not prime is stopping before every branch is prime. Writing is true, but neither 10 nor 36 is prime. The dashed button in Figure 3.1 shows what is still left to split.
Factor tree builder
Primes at the ends of the branches: 2, 2, 2, 3, 3, 5
360 = 2³ × 3² × 5
Another method is repeated division. Divide by the smallest prime that goes in exactly, then divide the answer again. Keep going until you reach 1. The primes you divided by are the prime factors.
For 84, divide by 2 to get 42, and by 2 again to get 21. Then divide by 3 to get 7, and by 7 to get 1. So . Both methods give the same answer, so use the one you find clearer.
Index form keeps long products short. Read as three 2s multiplied together, not as . A prime with no power, such as the 5 in , appears just once.
Prime factors tell you a lot about a number. A number is a square when every power in its factorisation is even. For example, is a square, but is not.
Always check by multiplying back. For , work out and . If the product is not the original number, a branch has gone wrong.
Worked example 3: product of prime factors
Write 360 as a product of its prime factors in index form.
| Working | Reason |
|---|---|
| Start the tree with any factor pair of 360. | |
| , | Split every branch that is not yet prime. |
| , twice | Each 6 still has two prime factors to find. |
| Collect every prime at the ends of the branches, in order. | |
| Write the repeated primes as powers to give index form. |
Check yourself. Write 120 as a product of its prime factors in index form.
Show the answer
One tree is , then and . Collecting the primes gives .
Common mistake: stopping before every branch is prime. A student writes and stops there. Neither 8 nor 9 is prime, so the tree is unfinished. Splitting both again gives .
Section 4
HCF and LCM
The highest common factor (HCF) of two numbers is the largest number that divides into both. The lowest common multiple (LCM) is the smallest number that both divide into.
For small numbers, list them. The factors of 12 are 1, 2, 3, 4, 6 and 12. The factors of 18 are 1, 2, 3, 6, 9 and 18. The largest in both lists is 6, so the HCF is 6.
The multiples of 12 are 12, 24, 36, 48 and so on. The multiples of 18 are 18, 36, 54 and so on. The first number in both lists is 36, so the LCM is 36.
For larger numbers, use prime factors. Write each number as a product of primes. Then put the primes into a Venn diagram, with the shared primes in the overlap.
For 84 and 120, the factorisations are and . They share two 2s and a 3, so those go in the overlap. The 7 goes only in the 84 circle. The extra 2 and the 5 go only in the 120 circle.
The HCF is the product of the overlap: . The LCM is the product of everything in the diagram: . Figure 3.2 builds the diagram for several pairs of numbers and shows both products.
Prime factor Venn diagram
84 = 2² × 3 × 7 and 120 = 2³ × 3 × 5
HCF: multiply the overlap, 2 × 2 × 3 = 12
LCM: multiply everything, 7 × 2 × 2 × 3 × 2 × 5 = 840
HCF = 12, LCM = 840
A quick way to remember which is which is to look at the sizes. The HCF is at most the smaller number. The LCM is at least the larger number. Swapping them is mixing up the HCF and the LCM, and a size check catches it.
Multiplying all the primes from both factorisations is multiplying every prime for the LCM. It counts the shared primes twice, so you get . That is a common multiple, but not the lowest one.
The same ideas work with powers. For each prime, the HCF uses the lower power and the LCM uses the higher power. With and , the HCF has and the LCM has .
A useful check links the two. For any two numbers, the HCF times the LCM equals the product of the numbers. Here , which is .
When two numbers share no prime factors, their HCF is 1. For example, 8 and 15 have no common prime, so the HCF is 1. Their LCM is then simply .
For three numbers, the listing method still works. The LCM of 4, 6 and 10 is the first number in all three lists of multiples, which is 60. The HCF of 12, 18 and 30 is 6, the largest factor of all three.
Worked example 4: HCF and LCM from prime factors
Find the HCF and the LCM of 84 and 120.
| Working | Reason |
|---|---|
| , | Write each number as a product of primes first. |
| Overlap: 2, 2, 3 | These primes appear in both factorisations, so they are shared. |
| HCF | The highest common factor uses only the shared primes. |
| LCM | The lowest common multiple uses each prime the most times it appears. |
| Check: | The HCF times the LCM equals the product of the numbers. |
Check yourself. Find the HCF and the LCM of 36 and 60.
Show the answer
The factorisations are and . They share and one 3, so the HCF is 12. The LCM is .
Common mistake: mixing up the HCF and the LCM. A student says the HCF of 12 and 18 is 36. But 36 does not divide into 12 at all. A common factor cannot be bigger than either number, so the HCF is 6.
Common mistake: multiplying every prime for the LCM. For 12 and 18, a student multiplies all of and to get 216. The shared 2 and 3 have been counted twice. Counting them once gives an LCM of 36.
Section 5
Problems with HCF and LCM
Many problems describe a situation without saying HCF or LCM. You need to decide which one the question is asking for.
Use the LCM when things repeat and you want to know when they next happen together. Buses leaving at different intervals, lights flashing at different rates and packs sold in different sizes are all LCM questions.
Use the HCF when you are splitting things into equal groups that are as large as possible. Cutting ribbons into equal lengths with nothing left over, or packing items into identical bags, are HCF questions.
A good test is to ask whether the answer should be bigger or smaller than the numbers given. If it should be bigger, you need the LCM. If it should be smaller, you need the HCF.
For example, one bus leaves every 12 minutes and another every 18 minutes. They both leave at 9 am. The next time they leave together is a multiple of both 12 and 18. The LCM is 36, so they leave together again at 9:36 am.
Now suppose a teacher has 24 pencils and 36 rubbers. She wants to make identical packs with nothing left over, using as many packs as possible. The number of packs must divide both 24 and 36. The HCF is 12, so she makes 12 packs.
Each pack then holds pencils and rubbers. Read the question carefully to see whether it asks for the number of packs or the contents of one pack.
Answering a different part of the question is giving the number of groups instead of the group size. Write a final sentence that answers exactly what was asked, with units.
Some LCM questions need a minimum number of packs. Burgers come in packs of 6 and buns in packs of 8. To have the same number of each, you need a common multiple of 6 and 8. The LCM is 24, so you buy 4 packs of burgers and 3 packs of buns.
Worked example 5: choose HCF or LCM
Two lighthouses flash every 20 seconds and every 30 seconds. They flash together at midnight. When do they next flash together?
| Working | Reason |
|---|---|
| Flashes repeat, so look for a common multiple | The answer must be a time that both counts reach. |
| Multiples of 20: 20, 40, 60, 80 | List the times for the first lighthouse. |
| Multiples of 30: 30, 60, 90 | List the times for the second lighthouse. |
| LCM | 60 is the first number in both lists. |
| They flash together after 60 seconds | Answer the question with units: one minute past midnight. |
Check yourself. Ribbons of 45 cm and 75 cm are cut into equal pieces, as long as possible, with nothing left over. How long is each piece?
Show the answer
The piece length must divide both 45 and 75, so this is an HCF question. Since and , the HCF is . Each piece is 15 cm.
Common mistake: giving the number of groups instead of the group size. For 24 pencils and 36 rubbers in 12 packs, a student answers that each pack has 12 items. The question asks what is in each pack. Each pack holds 2 pencils and 3 rubbers.
Practice
Practice ladder
Work down the ladder. Try each question before you open its solution.
Rung 1: Fluency
Q1. List all the factors of 48.
Worked solution to Q1
Work in pairs from 1 upwards: , , , and . The next number, 8, is already listed. The factors are 1, 2, 3, 4, 6, 8, 12, 16, 24 and 48.
Q2. Write down the first six multiples of 9.
Worked solution to Q2
Multiply 9 by each of the numbers 1 to 6 in turn. That gives the multiples 9, 18, 27, 36, 45 and 54, in order.
Q3. Which of these numbers are prime: 27, 29, 33, 37, 39?
Worked solution to Q3
Test each with the primes 2, 3, 5 and 7. The numbers 27, 33 and 39 all divide by 3. The numbers 29 and 37 have no factor pair other than 1 and themselves, so the primes are 29 and 37.
Q4. Write 90 as a product of its prime factors in index form.
Worked solution to Q4
A factor tree can start with the pair 9 and 10. Then 9 splits into two 3s, and 10 splits into 2 and 5. Collecting the primes in order and writing the repeated 3 as a power gives .
Rung 2: Reasoning
Q5. Work out the HCF of 54 and 72.
Worked solution to Q5
Write and . The shared primes are one 2 and two 3s. Their product is , so the HCF is 18.
Q6. Find the lowest common multiple of 15 and 25.
Worked solution to Q6
List multiples of the larger number and test each one. The multiples of 25 are 25, 50 and 75. The first that 15 also divides is 75, so the LCM is 75.
Q7. Amir says the sum of two prime numbers is always even. Give an example to show he is wrong.
Worked solution to Q7
Use the only even prime, which is 2, with any odd prime. For example, , and 5 is odd. One example is enough to show the statement is false.
Rung 3: Problem solving
Q8. Find the LCM of 4, 6 and 10.
Worked solution to Q8
List multiples of the largest number, 10, and test each: 10, 20, 30, 40, 50, 60. The first one that both 4 and 6 divide exactly is 60, so the LCM is 60.
Q9. Hot dogs come in packs of 8 and buns in packs of 12. Sam wants the same number of each. What is the smallest number of packs of each he can buy?
Worked solution to Q9
The total must be a common multiple of 8 and 12, so find the LCM. It is 24. That needs packs of hot dogs and packs of buns.
Q10. A gardener has 42 tulips and 70 daffodils. She plants them in identical rows, using every flower and as many rows as possible. How many rows does she plant, and what is in each row?
Worked solution to Q10
The number of rows must divide both 42 and 70, so find the HCF. Since and , the HCF is 14. She plants 14 rows, each with 3 tulips and 5 daffodils.
Exam practice
Exam technique and worked answer workshop
Questions on factors, multiples and primes appear on most papers, usually with a calculator not allowed. The marks reward a clear method as well as the answer.
- Show the factor tree or the repeated division, so the method can earn marks.
- Use index form when the question asks for it, and multiply back to check.
- Draw the Venn diagram for HCF and LCM questions with large numbers.
- Decide HCF or LCM by asking whether the answer should be smaller or larger than the numbers.
- Answer in context, with a sentence and the right units.
In the mark guidance, M marks are for method, A marks are for accuracy and B marks are independent of method.
Exam question 1 (3 marks · non-calculator · about 3 minutes)
Write 360 as a product of its prime factors. Give your answer in index form.
Mark guidance for exam question 1
- M1 for a correct first step, such as a factor pair or division by a prime.
- M1 for a complete factor tree or set of divisions.
- A1 for .
Annotated model answer: exam question 1
| Working | What the marker sees |
|---|---|
| A correct first split. First method mark. | |
| and | Every branch now ends in a prime. Second method mark. |
| The primes collected in order, which multiply back to 360. | |
| The final answer in index form. Accuracy mark. |
Exam question 2 (2 marks · non-calculator · about 2 minutes)
Find the highest common factor of 84 and 120.
Mark guidance for exam question 2
- M1 for both prime factorisations, or full lists of factors.
- A1 for 12.
Exam question 3 (3 marks · non-calculator · about 3 minutes)
A bus leaves the station every 12 minutes. A tram leaves every 18 minutes. They both leave at 9 am. At what time do they next leave together?
Mark guidance for exam question 3
- M1 for listing multiples of 12 and of 18, or using prime factors.
- A1 for 36 minutes.
- A1 for 9:36 am.
Exam question 4 (2 marks · non-calculator · about 2 minutes)
(a) Write down all the prime numbers between 20 and 40. (1 mark)
(b) Kim says every prime number is odd. Give an example to show that Kim is wrong. (1 mark)
Mark guidance for exam question 4
- B1 for 23, 29, 31 and 37, with no extra numbers.
- B1 for 2, with a reason such as 2 is even and prime.
Recap
Recap and next step
- A factor divides into a number exactly. A multiple is in its times table.
- A prime has exactly two factors, so 1 is not prime and 2 is the only even prime.
- Every number greater than 1 has one prime factorisation. Find it with a factor tree and write it in index form.
- The HCF is the product of the shared primes. The LCM is the product of every prime in the Venn diagram.
- Use the LCM for things that repeat together, and the HCF for splitting into the largest equal groups.
Next chapter: 4, Fractions. You will use common multiples to add and subtract fractions, and common factors to simplify them.
For your exam board
Factors, multiples and primes are examined by every board at both tiers.
- Pearson Edexcel 1MA1: specification reference N4.
- AQA 8300: specification reference N4.
- OCR J560: specification section 1.02, whole number theory.
Everything in this chapter is Foundation content, so it is also assumed knowledge on Higher papers.