1MA1 · N4NumberFoundation & HigherGrades 2–5

Factors, Multiples & Primes

Two buses leave the station together, one every 12 minutes and one every 18. When do they next leave together? A florist has 60 roses and 84 tulips and wants identical bouquets using every flower — how many bouquets? Both questions are about how numbers are built, and both are solved by breaking numbers into their prime factors.

45 min Number Fundamentals

The big picture

Every whole number greater than 1 is either prime or can be written as a product of primes in exactly one way. That product, the prime factor decomposition, is like a number’s fingerprint.

Once numbers are written as prime products, the highest common factor and lowest common multiple can be read off directly. Edexcel regularly sets these in context, so deciding which one a problem needs is as important as calculating it.

What you'll learn

  • Identify factors, multiples and prime numbers
  • Write a number as a product of prime factors using index notation
  • Find the HCF and LCM of two or three numbers
  • Decide whether a context needs the HCF or the LCM
1

Factors, multiples and primes

A factor\textbf{factor} of nn divides into nn exactly. Factors come in pairs: the factors of 3636 are 1×361 \times 36, 2×182 \times 18, 3×123 \times 12, 4×94 \times 9 and 6×66 \times 6.

A multiple\textbf{multiple} of nn is in the nn times table: 7,14,21,…7, 14, 21, \dots

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

Tip — To list factors systematically, test divisors from 1 upwards and stop once the pairs meet in the middle.

2

Prime factor decomposition

Use a factor tree: split the number into any two factors, keep splitting until every branch ends in a prime, then multiply the primes together.

Write the answer as a product using indices, in ascending order of primes: 360=23×32×5360 = 2^{3} \times 3^{2} \times 5.

Whichever split you start with, you always reach the same primes — that uniqueness is what makes the method reliable.

Example 1Write 540540 as a product of its prime factors.
1540=2×270=2×2×135540 = 2 \times 270 = 2 \times 2 \times 135.
2135=3×45=3×3×15=3×3×3×5135 = 3 \times 45 = 3 \times 3 \times 15 = 3 \times 3 \times 3 \times 5.
3Collect with indices.
Answer
540=22×33×5540 = 2^{2} \times 3^{3} \times 5
Your turnSame method, new numbers — try it before moving on.

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

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

Show worked solution
Solution
  1. 1360=2×180=2×2×90=2×2×2×45360 = 2 \times 180 = 2 \times 2 \times 90 = 2 \times 2 \times 2 \times 45.
  2. 245=3×3×545 = 3 \times 3 \times 5, so 360=23×32×5360 = 2^3 \times 3^2 \times 5.

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

Why this works

Prime factors reveal properties at a glance. A number is a perfect square exactly when every prime appears to an even power — so 22×33×52^{2} \times 3^{3} \times 5 is not a square, but multiplying by 3×53 \times 5 would make it one.

3

HCF and LCM

The highest common factor\textbf{highest common factor} (HCF) is the largest number dividing both. Take each prime the numbers share\textit{share}, to the lower\textit{lower} power.

The lowest common multiple\textbf{lowest common multiple} (LCM) is the smallest number both divide into. Take every\textit{every} prime that appears, to the higher\textit{higher} power.

A Venn diagram of the prime factors shows both at once: the overlap multiplies to the HCF, and everything in the diagram multiplies to the LCM.

Example 1Find the HCF and LCM of 8484 and 120120.
184=22×3×784 = 2^{2} \times 3 \times 7 and 120=23×3×5120 = 2^{3} \times 3 \times 5.
2HCF: shared primes 2 and 3, lower powers: 22×3=122^{2} \times 3 = 12.
3LCM: all primes, higher powers: 23×3×5×7=8402^{3} \times 3 \times 5 \times 7 = 840.
Answer
HCF =12= 12, LCM =840= 840
Your turnSame method, new numbers — try it before moving on.

Find the highest common factor of 72 and 90.

Show worked solution
Solution
  1. 172=23×3272 = 2^3 \times 3^2 and 90=2×32×590 = 2 \times 3^2 \times 5.
  2. 2Shared: 2×32=182 \times 3^2 = 18.

Answer: 1818

4

HCF or LCM in context?

If the question is about splitting\textbf{splitting} things into the largest equal groups, it is an HCF problem.

If it is about events repeating\textbf{repeating} and coinciding, or the smallest amount that works for several group sizes, it is an LCM problem.

Example 1Two buses leave together at 9:00. One runs every 12 minutes, the other every 18 minutes. When do they next leave together?
1Coinciding repeats: LCM.
212=22×312 = 2^{2} \times 3, 18=2×3218 = 2 \times 3^{2}; LCM =22×32=36= 2^{2} \times 3^{2} = 36.
Answer
At 9:36
Your turnSame method, new numbers — try it before moving on.

Two lights flash together. One flashes every 15 seconds, the other every 25 seconds. After how many seconds do they next flash together?

Show worked solution
Solution
  1. 1"Next together" means the LCM of 15 and 25.
  2. 215=3×515 = 3 \times 5, 25=5225 = 5^2, so LCM =3×52=75= 3 \times 5^2 = 75.

Answer: 7575 seconds

Example 2A florist has 60 roses and 84 tulips and makes identical bouquets with no flowers left over. What is the greatest number of bouquets?
1Largest equal groups: HCF.
260=22×3×560 = 2^{2} \times 3 \times 5, 84=22×3×784 = 2^{2} \times 3 \times 7; HCF =12= 12.
Answer
12 bouquets, each with 5 roses and 7 tulips

Tip — Finish context questions with a sentence that answers the actual question — a time, a number of bouquets — not just "LCM = 36".

Think like an examiner

  • Write prime factor decompositions with index notation and multiplication signs, not a list of primes.
  • Show the decompositions used to find the HCF or LCM.
  • State clearly whether the context needs the HCF or LCM.

Factors and multiples

HCF: shared primes, lowest powers\text{HCF: shared primes, lowest powers}
Highest common factor.
LCM: all primes, highest powers\text{LCM: all primes, highest powers}
Lowest common multiple.
a×b=HCF×LCMa \times b = \text{HCF} \times \text{LCM}
For two positive integers.

Watch out for these

Calling 1 a prime number.
A prime has exactly two factors; 1 has only one.
Giving the answer to a prime factor question as "2, 2, 3, 3, 3, 5".
Write it as a product: 22×33×52^{2} \times 3^{3} \times 5.
Using the highest powers for the HCF.
HCF uses the lowest powers of shared primes.
Using the HCF for "when will they next coincide?".
Coinciding events need the LCM.

Stretch yourself

The HCF of two numbers is 1818 and their LCM is 540540. One of the numbers is 108108. Find the other, and explain how you know it is correct.

Hint — For two positive integers, the product of the numbers equals the product of the HCF and LCM.

Reveal solution
SolutionThe other number is 18×540108=90\dfrac{18 \times 540}{108} = 90. Check with prime factors: 108=22×33108 = 2^{2} \times 3^{3} and 90=2×32×590 = 2 \times 3^{2} \times 5. Shared primes, lowest powers: 2×32=182 \times 3^{2} = 18 ✓. All primes, highest powers: 22×33×5=5402^{2} \times 3^{3} \times 5 = 540 ✓. ■\blacksquare

Questions students ask

Why is 2 the only even prime?
Every other even number has 2 as a factor, so it has at least three factors.
Can I find the HCF by listing factors?
Yes for small numbers, but prime factors are faster and more reliable for larger ones and are expected at GCSE.
How do I find the HCF of three numbers?
Take primes shared by all three, to the lowest power that appears in any of them.

Key takeaways

  • Primes have exactly two factors; 1 is not prime.
  • Every integer above 1 has a unique prime factor decomposition.
  • HCF: shared primes to lowest powers. LCM: all primes to highest powers.
  • Splitting into equal groups needs HCF; repeating events need LCM.
  • For two numbers, product == HCF ×\times LCM.

Exam-style questions

Practise it the way it is examined

3 original questions · 7 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 32 marks
  1. Write 1260 as a product of its prime factors.[2]
    Show mark scheme

    Answer: 22×32×5×72^2 \times 3^2 \times 5 \times 7

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

A=23×3×52A = 2^3 \times 3 \times 5^2 and B=2×33×5B = 2 \times 3^3 \times 5.

  1. (a)Find the HCF of AA and BB.[1]
    Show mark scheme (a)

    Answer: 3030

  2. (b)Find the LCM of AA and BB.[1]
    Show mark scheme (b)

    Answer: 54005400

Answer on paper first, then mark it.
Question 3Grade 53 marks

Pencils are sold in packs of 24. Rubbers are sold in packs of 40. Sam buys the same number of pencils and rubbers.

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

    Answer: 5 packs

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 number is prime?

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

    Answer: 2929

    29 has only the factors 1 and 29.

  2. Write 7272 as a product of prime factors.

    • 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}

    72=8×972 = 8 \times 9 and both split into primes.

  3. What is the HCF of 23×52^{3} \times 5 and 22×3×52^{2} \times 3 \times 5?

    • 2020
    • 120120
    • 1010
    • 4040
    Show answer and explanation

    Answer: 2020

    22×52^{2} \times 5.

  4. What is the LCM of 1515 and 2525?

    • 7575
    • 375375
    • 55
    • 150150
    Show answer and explanation

    Answer: 7575

    3×523 \times 5^{2}.

  5. Lights flash every 8 s and every 20 s. They flash together now. After how many seconds will they next flash together?

    • 4040
    • 160160
    • 44
    • 2828
    Show answer and explanation

    Answer: 4040

    LCM of 8 and 20.

  6. What is the smallest whole number you can multiply 23×3×522^{3} \times 3 \times 5^{2} by to make a square number?

    • 66
    • 22
    • 3030
    • 33
    Show answer and explanation

    Answer: 66

    Each power must be even: multiply by 2×32 \times 3.

Finished this lesson?

Loading your progress…

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 6 lessons