N4NumberFoundation & HigherGrades 2–5

Factors, Multiples & Primes

Factors divide into a number exactly; multiples are the number's times table; primes have exactly two factors. Every whole number greater than 1 can be built from primes in exactly one way, and that single fact gives a fast, reliable method for the highest common factor (HCF) and lowest common multiple (LCM).

40 min Video by Maths Genie AQA GCSE Maths

The big picture

Primes are the building blocks of multiplication, the way atoms are the building blocks of matter. Writing 360=23×32×5360 = 2^3 \times 3^2 \times 5 tells you everything about 360's factors at a glance.

HCF and LCM questions on AQA papers are often disguised as problems: tiles fitting exactly, buses leaving together, packs of items that must match up. Spotting "largest that divides both" (HCF) versus "first time they coincide" (LCM) is half the marks.

Factors, Multiples and PrimesCurated by Kepler, not produced by us. Watch it, then read the notes below.
Open on YouTube

What you'll learn

  • Identify factors, multiples and prime numbers
  • Write a number as a product of prime factors in index form
  • Find the HCF and LCM of two numbers
  • Solve problems involving HCF and LCM
1

Factors, multiples and primes

A factor\textbf{factor} of nn divides nn exactly. Find them in pairs: 1×361 \times 36, 2×182 \times 18, 3×123 \times 12, 4×94 \times 9, 6×66 \times 6.

A multiple\textbf{multiple} of nn is in its times table: multiples of 7 are 7,14,21,…7, 14, 21, \ldots

A prime\textbf{prime} has exactly two factors, 1 and itself. The primes under 30 are 2,3,5,7,11,13,17,19,23,292, 3, 5, 7, 11, 13, 17, 19, 23, 29. 1 is not prime, and 2 is the only even prime.

Example 1From the list 15,17,21,24,27,2915, 17, 21, 24, 27, 29, write down (a) the prime numbers (b) the multiples of 3 (c) a factor of 48.
1(a) 17 and 29 have only two factors.
2(b) 15,21,24,2715, 21, 24, 27 are in the 3 times table.
3(c) 48÷24=248 \div 24 = 2 exactly.
Answer
(a) 17,2917, 29 (b) 15,21,24,2715, 21, 24, 27 (c) 2424
Your turnSame method, new numbers — try it before moving on.

How many factors does 36 have?

Show hint

List them in pairs: 1×361 \times 36, 2×182 \times 18, …

Show worked solution
Solution
  1. 1Pairs: 1×361 \times 36, 2×182 \times 18, 3×123 \times 12, 4×94 \times 9, 6×66 \times 6.
  2. 2Factors: 1,2,3,4,6,9,12,18,361, 2, 3, 4, 6, 9, 12, 18, 36 — that is 9 (6 is counted once).

Answer: 99

Tip — Square numbers are the only numbers with an odd number of factors — one factor pairs with itself.

2

Prime factorisation

Use a factor tree: split the number into any factor pair, and keep splitting until every branch ends in a prime. Circle the primes.

Write the answer as a product using powers for repeated primes, in ascending order: 360=23×32×5360 = 2^3 \times 3^2 \times 5.

Circled primes: 2,2,2,3,3,52, 2, 2, 3, 3, 5, so 360=23×32×5360 = 2^3 \times 3^2 \times 5.
Example 1Write 84 as a product of its prime factors in index form.
184=2×42=2×2×21=2×2×3×784 = 2 \times 42 = 2 \times 2 \times 21 = 2 \times 2 \times 3 \times 7.
Answer
84=22×3×784 = 2^2 \times 3 \times 7
Your turnSame method, new numbers — try it before moving on.

Write 150 as a product of its prime factors in index form.

Type it like 2^2 x 3 x 7 (ascending order).

Show worked solution
Solution
  1. 1150=2×75=2×3×25=2×3×5×5150 = 2 \times 75 = 2 \times 3 \times 25 = 2 \times 3 \times 5 \times 5.
  2. 2In index form: 2×3×522 \times 3 \times 5^2.

Answer: 2×3×522 \times 3 \times 5^2

3

HCF and LCM

The HCF\textbf{HCF} is the largest number that divides both. The LCM\textbf{LCM} is the smallest number that both divide into.

Using prime factors: the HCF multiplies the primes the numbers share\textbf{share} (lowest power of each shared prime). The LCM multiplies every\textbf{every} prime that appears (highest power of each). A Venn diagram shows this neatly.

60=22×3×560 = 2^2 \times 3 \times 5 and 72=23×3272 = 2^3 \times 3^2. HCF = middle =2×2×3=12= 2 \times 2 \times 3 = 12. LCM = everything =5×2×2×3×2×3=360= 5 \times 2 \times 2 \times 3 \times 2 \times 3 = 360.
Example 1Find the HCF and LCM of 60 and 72.
160=22×3×560 = 2^2 \times 3 \times 5; 72=23×3272 = 2^3 \times 3^2.
2HCF: shared primes, lowest powers: 22×3=122^2 \times 3 = 12.
3LCM: all primes, highest powers: 23×32×5=3602^3 \times 3^2 \times 5 = 360.
Answer
HCF 1212, LCM 360360
Your turnSame method, new numbers — try it before moving on.

Find the LCM of 18 and 30.

Show worked solution
Solution
  1. 118=2×3218 = 2 \times 3^2 and 30=2×3×530 = 2 \times 3 \times 5.
  2. 2LCM =2×32×5=90= 2 \times 3^2 \times 5 = 90.

Answer: 9090

Example 2One bus leaves every 12 minutes and another every 20 minutes. They both leave at 9:00 am. When do they next leave together?
1"Next leave together" is a common multiple — the LCM of 12 and 20.
212=22×312 = 2^2 \times 3, 20=22×520 = 2^2 \times 5, so LCM =22×3×5=60= 2^2 \times 3 \times 5 = 60.
Answer
10:00 am
Your turnSame method, new numbers — try it before moving on.

A room measures 240 cm by 390 cm. It is covered with square tiles, the largest possible size that fit exactly with no cutting. What is the side length of a tile, in cm?

Show hint

The largest number dividing both lengths exactly is the HCF.

Show worked solution
Solution
  1. 1240=24×3×5240 = 2^4 \times 3 \times 5 and 390=2×3×5×13390 = 2 \times 3 \times 5 \times 13.
  2. 2HCF =2×3×5=30= 2 \times 3 \times 5 = 30 cm.

Answer: 3030 cm

A hidden check

For any two numbers, HCF×LCM=\text{HCF} \times \text{LCM} = the product of the numbers: 12×360=4320=60×7212 \times 360 = 4320 = 60 \times 72. The shared primes are counted once in each, and every prime is counted exactly twice overall.

Think like an examiner

  • "Give your answer in index form" means powers are required: 2×2×2×32 \times 2 \times 2 \times 3 loses a mark; 23×32^3 \times 3 scores.
  • Show your prime factor trees or lists — method marks are available even if the final multiplication slips.
  • In problem questions, write whether you are finding the HCF or LCM and why.

Key ideas

360=23×32×5360 = 2^3 \times 3^2 \times 5
Prime factorisation in index form.
HCF: shared primes, lowest powers\text{HCF: shared primes, lowest powers}
Largest number dividing both.
LCM: all primes, highest powers\text{LCM: all primes, highest powers}
Smallest number both divide into.

Watch out for these

Counting 1 as a prime number.
1 has only one factor, so it is not prime.
Giving the product of primes as 2+2+3+72 + 2 + 3 + 7.
It is a product: 22×3×72^2 \times 3 \times 7.
Mixing up HCF and LCM: the HCF of 12 and 20 is 60.
HCF is at most the smaller number: 4. LCM is 60.
Stopping a factor tree at a non-prime: 84=4×2184 = 4 \times 21.
Keep going: 2×2×3×72 \times 2 \times 3 \times 7.

Stretch yourself

A=23×3×52A = 2^3 \times 3 \times 5^2 and B=2×32×5B = 2 \times 3^2 \times 5. (a) Find the HCF of AA and BB. (b) Find the smallest whole number kk such that AkAk is a square number.

Hint — A square number has every prime raised to an even power.

Reveal solution
Solution(a) Shared primes, lowest powers: 2×3×5=302 \times 3 \times 5 = 30. (b) A=23×31×52A = 2^3 \times 3^1 \times 5^2. To make every power even we need one more 2 and one more 3, so k=6k = 6 and 6A=24×32×52=3600=6026A = 2^4 \times 3^2 \times 5^2 = 3600 = 60^2. ■\blacksquare

Questions students ask

Is there a quick way to test if a number is prime?
Try dividing by each prime up to its square root. For 97, test 2, 3, 5 and 7 (97<10\sqrt{97} < 10). None divide exactly, so 97 is prime.
Does it matter which factor pair I start my tree with?
No. Every route ends with the same primes — that is the uniqueness of prime factorisation.
Can I find the HCF by listing factors instead?
Yes, for small numbers. Prime factors are faster and more reliable for larger numbers, and are required when the numbers are given in index form.

Key takeaways

  • Factors divide exactly; multiples are in the times table; primes have exactly two factors.
  • Use a factor tree to write a number as a product of primes in index form.
  • HCF: multiply the shared primes (lowest powers).
  • LCM: multiply all the primes (highest powers).
  • "Largest that fits into both" → HCF; "first time together" → LCM.

Exam-style questions

Practise it the way it is examined

3 original questions · 8 marks, written to match the style and mark allocation of the real papers. Work on paper, then open the mark scheme and tick the marks you earned — method marks count even if the final answer slips.

Question 1Grade 33 marks
  1. Write 180 as a product of prime factors. Give your answer in index form.[3]
    Show mark scheme

    Answer: 22×32×52^2 \times 3^2 \times 5

Answer on paper first, then mark it.
Question 2Grade 43 marks

Burgers come in packs of 12. Buns come in packs of 18. Kai wants exactly the same number of burgers and buns.

  1. What is the smallest number of packs of burgers he can buy?[3]
    Show mark scheme

    Answer: 3 packs

Examiner note

The LCM (36) is not the final answer — the question asks for the number of packs.

Answer on paper first, then mark it.
Question 3Grade 52 marks
  1. X=24×32×7X = 2^4 \times 3^2 \times 7 and Y=22×33×5Y = 2^2 \times 3^3 \times 5. Find the HCF of XX and YY, and the LCM of XX and YY. Leave your answers in index form.[2]
    Show mark scheme
Answer on paper first, then mark it.

Unlimited practice

Skill drill

A new question every time, marked instantly, with a full worked solution. Aim for a streak of five, then move up a level.

0 / 0 first-time correct Streak 0Best at this level: 0

Generating a question…

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. Which of these is a prime number?

    • 3131
    • 2121
    • 2727
    • 11
    Show answer and explanation

    Answer: 3131

    31 has only the factors 1 and 31.

  2. Which of these is a factor of 42?

    • 1414
    • 8484
    • 44
    • 88
    Show answer and explanation

    Answer: 1414

    42÷14=342 \div 14 = 3.

  3. What is the HCF of 16 and 24?

    • 88
    • 44
    • 4848
    • 22
    Show answer and explanation

    Answer: 88

    8 is the largest number dividing both.

  4. What is the LCM of 6 and 8?

    • 2424
    • 4848
    • 22
    • 1414
    Show answer and explanation

    Answer: 2424

    6,12,18,246, 12, 18, 24 and 8,16,248, 16, 24.

  5. 7272 as a product of prime factors is…

    • 23×322^3 \times 3^2
    • 22×332^2 \times 3^3
    • 8×98 \times 9
    • 2×362 \times 36
    Show answer and explanation

    Answer: 23×322^3 \times 3^2

    8×9=23×328 \times 9 = 2^3 \times 3^2.

  6. How many prime numbers are there between 20 and 40?

    • 44
    • 33
    • 55
    • 66
    Show answer and explanation

    Answer: 44

    23,29,31,3723, 29, 31, 37.

  7. The HCF of two numbers is 6 and their LCM is 72. One number is 18. What is the other?

    • 2424
    • 1212
    • 3636
    • 44
    Show answer and explanation

    Answer: 2424

    HCF × LCM = product: 432÷18=24432 \div 18 = 24.

  8. What is the smallest kk so that 12k12k is a square number?

    • 33
    • 22
    • 1212
    • 44
    Show answer and explanation

    Answer: 33

    12=22×312 = 2^2 \times 3 needs another 3: 36=6236 = 6^2.

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 11 lessons