4 Triangles › Worksheets › HCF and LCM using prime factors

HCF and LCM using prime factors

KS3Year 9 · 63 questions · about 50 minutes · start at A and work through as far as you can · no calculator

NameDate

Ready? You need these first.

✓1Write 12 as a product of prime factors
✓2Work out 2³ × 5
✓3Find the HCF of 8 and 12

Stuck on these? Start with factors, multiples and primes first.

A. HCF from prime factors Fluency Each number is written as a product of primes. Find the HCF: multiply the primes that both lists share.

↗ Pair up each prime that is in both lists. One shared prime first, then two or three.

A16 = 2 × 3
14 = 2 × 7
A210 = 2 × 5
15 = 3 × 5
A312 = 2 × 2 × 3
28 = 2 × 2 × 7
A416 = 2 × 2 × 2 × 2
20 = 2 × 2 × 5
A516 = 2 × 2 × 2 × 2
56 = 2 × 2 × 2 × 7
A636 = 2 × 2 × 3 × 3
90 = 2 × 3 × 3 × 5

B. LCM from prime factors Fluency Find the LCM: take the shared primes once, then multiply by the primes left over in each list.

↗ Cross out a prime from the second list each time it is shared, then multiply everything left.

B14 = 2 × 2
14 = 2 × 7
B215 = 3 × 5
35 = 5 × 7
B330 = 2 × 3 × 5
50 = 2 × 5 × 5
B412 = 2 × 2 × 3
42 = 2 × 3 × 7
B518 = 2 × 3 × 3
30 = 2 × 3 × 5
B630 = 2 × 3 × 5
42 = 2 × 3 × 7

C. Read the Venn diagram Fluency The Venn diagram shows the prime factors of the two numbers. Write down the HCF and the LCM.

↗ HCF: multiply the middle. LCM: multiply everything in both circles.

C112182233
C2610325
C38122223
C430425237
C5366032235
C690120323522

D. Worked examples Worked examples Read the first one. Fill the gaps in the second. Do the third on your own the same way.

↗ Each example does a little less for you.

D1Read this oneHCF and LCM of 8 and 20
8 = 2 × 2 × 2 and 20 = 2 × 2 × 5
Shared: 2, 2. They go in the middle.8202225HCF = the middle = 2 × 2 = 4
LCM = everything = 2 × 2 × 2 × 5 = 40
D2Fill the gapsHCF and LCM of 24 and 84
24 = 2 × 2 × 2 × 3 and 84 = 2 × 2 × 3 × 7
Shared (the middle):
24 only:   84 only:
HCF =   LCM =
D3On your ownHCF and LCM of 24 and 36
Write each as a product of primes, draw the Venn diagram, then multiply.

E. Fill the Venn diagram Reasoning Put the prime factors of the two numbers in the Venn diagram. Then write down the HCF and the LCM.

↗ Write each number as a product of primes first. Each shared pair goes in the middle once.

E11830
E2812
E390126
E42436

F. HCF in index form Fluency Find the HCF. Take each prime that BOTH numbers have, with the LOWER power. Write it in index form and as a number.

↗ Two primes first, then a prime that only one number has: leave it out.

F12³ × 3² and 2² × 3²
F22³ × 3³ and 2³ × 3
F32 × 3² and 2² × 3²
F42² × 3³ and 2² × 3²
F52 × 3³ and 2⁴ × 3 × 7²
F62² × 3 and 2³ × 3 × 5²

G. LCM in index form Fluency Find the LCM. Take EVERY prime, with the HIGHER power. Write it in index form and as a number.

↗ Two primes first, then a prime that only one number has: keep it in.

G12² × 3² and 2 × 3²
G22⁴ × 3³ and 2 × 3³
G33 × 5² and 3² × 5
G42 × 7 and 2⁴ × 7
G52⁴ × 5² and 2 × 3³ × 5
G62² × 3 × 5² and 2⁴ × 5²

H. Spot the pattern Spot the pattern Find the HCF and the LCM in index form. Only one power changes each time: predict first. What do you notice?

↗ First the power of 2 goes up by one each time, then another power does.

H12 × 3 and 2² × 3² × 5
H22² × 3 and 2² × 3² × 5
H32³ × 3 and 2² × 3² × 5
H42⁴ × 3 and 2² × 3² × 5
H52³ and 2 × 5²
H62³ × 5 and 2 × 5²
H72³ × 5² and 2 × 5²
H82³ × 5³ and 2 × 5²

I. Spot the mistake Reasoning Each pupil has made a mistake. Find the right answer and say what they did wrong.

↗ HCF: shared primes, lower powers. LCM: every prime, higher powers.

I1Dev says the HCF of 2² × 5 and 2 × 5 is 2² × 5.
I2Grace says the LCM of 2³ × 3² and 2² × 3² is 2² × 3².
I3Ben says the LCM of 2² × 7² and 2 × 7 is 2³ × 7³.
I4Ella says the HCF of 2⁴ × 5² and 2⁴ × 3 × 5 is 2⁴ × 3 × 5.

J. Which is right? Which is right? Choose A, B, C or D. Then say what mistake each wrong answer makes.

↗ Hold up A, B, C or D.

J112 = 2² × 3 and 18 = 2 × 3². What is the HCF?A36B2C216D6
J2What is the LCM of 2³ × 5 and 2 × 5 × 7?A2800B10C280D40
J312302235What is the LCM of 12 and 30?A10B60C6D360

K. Problems Problem solving Use prime factors to answer each one.

K1One lighthouse flashes every 2² × 3 seconds and another every 2 × 3² seconds. They flash together now. After how many seconds do they next flash together?
K2A baker has 48 = 2⁴ × 3 rolls and 36 = 2² × 3² buns. She packs them into identical boxes with none left over. What is the greatest number of boxes, and what is in each?
K3Write 84 and 120 as products of prime factors. Use them to find the HCF and the LCM of 84 and 120.
K4The HCF of 2ᵃ × 3² and 2⁴ × 3ᵇ is 2² × 3. Find a and b.
K5Is 2² × 3 × 5 a common multiple of 2 × 3 and 2² × 5? Is it the LCM? Explain.

L. Make your own Open task Everyone can start this. How far can you take it?

L1Find two numbers whose HCF is 6 and whose LCM is 60. Draw the Venn diagram for each pair you find. How many pairs are there?
L2Draw a Venn diagram for two numbers whose HCF is 1. What does it look like? Make up three pairs like this.

M. Deeper Deeper For when you have finished.

M1Work out HCF × LCM for 12 and 18. Compare it with 12 × 18. Use the Venn diagram to explain.
M2Two numbers have an HCF of 12 and an LCM of 72. One of them is 24. Find the other.
M3Find the HCF and the LCM of 2⁵ × 3² × 7 and 2³ × 3⁴ × 5. Leave the LCM in index form.
M4Find the HCF and the LCM of 30, 42 and 70.

✓ Every answer on every version is worked out by the computer and checked again a second way. Last checked 3 December 2026. Report a problem · Pupils: check your answers · Teachers: a do now from this sheet, with new numbers, for checking back in a week or two