Websink Prep UKKS2 MathsYear 6 chaptersMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
Primary Maths · Year 6Chapter 3 · Common factors, multiples and primes
Year 6 · HCF, LCM and Prime Numbers · Lesson 3.5

Year 6: HCF and LCM using prime factors

Part of the Year 6 hcf, lcm and prime numbers chapter. Chapter overview · whole chapter on one page

3.5

HCF and LCM using prime factors

Year 6
Find the HCF and LCM of two or more numbers using prime factors, Use prime factors to check a HCF or LCM, Use the HCF and LCM to solve problems

Prime factors give us another way to find the HCF and the LCM. Write each number as a product of prime factors in index form. Then:

HCF: take the primes that every number shares, using the smallest power of each.
LCM: take every prime that appears in any number, using the largest power of each.

The Venn diagram shows the prime factors of 72 and 84. The numbers in the middle are the prime factors they share. The shared part gives the HCF. For the LCM, multiply everything in the diagram once: the middle, then the parts outside it.

72842 × 32 × 2 × 37
Prime factors of 72 and 84. Middle: shared primes 2 × 2 × 3 = 12, the HCF. Left: 2 × 3 only in 72. Right: 7 only in 84. Multiply all the parts together for the LCM: 12 × 6 × 7 = 504.

Key ideas

  • HCF (prime factors): the primes that every number shares, each with the smallest power.
  • LCM (prime factors): every prime that appears in any number, each with the largest power.
  • The HCF is never bigger than either number. The LCM is never smaller than either number.
  • In index form the shared prime is easy to spot: 22 × 3 and 23 both use 2, so the HCF uses 22, the smaller power.
Worked example 3.5.1
Use prime factors to find the HCF of 24 and 60.

Key words. Writing a number as a product of prime factors is called prime factorisation. When we use prime factors, the HCF uses the smallest power of each shared prime, and the LCM uses the largest power of every prime.

Method. Write each number as prime factors. The HCF uses only the primes they share, each with the smallest power.

  1. Write each number in index form. Break each number into prime factors. Use a power for a prime used more than once.
    24 = 23 × 3
    60 = 22 × 3 × 5
  2. Find the primes that every number has. A prime must be in every number to be in the HCF.
    Shared primes: 2, 3
  3. Take the smallest power of each shared prime. The HCF can use a prime only as many times as the number that uses it the fewest times.
    2: powers 3, 2, so use 22
    3: powers 1, 1, so use 3
  4. Multiply them together. This product is the HCF.
    HCF = 22 × 3 = 12

Check. 24 and 60 are both divisible by 12. ✓

Watch out. Use the smallest power, not the largest. The HCF can never be bigger than any of the numbers.

Worked example 3.5.2
Use prime factors to find the LCM of 24 and 60.

Key words. Writing a number as a product of prime factors is called prime factorisation. When we use prime factors, the HCF uses the smallest power of each shared prime, and the LCM uses the largest power of every prime.

Method. Write each number as prime factors. The LCM uses every prime, each with the largest power.

  1. Write each number in index form. Break each number into prime factors. Use a power for a prime used more than once.
    24 = 23 × 3
    60 = 22 × 3 × 5
  2. Take the largest power of every prime. The LCM needs each prime as many times as the number that uses it the most.
    2: largest power 23
    3: largest power 3
    5: largest power 5
  3. Multiply them together. This product is the LCM.
    LCM = 23 × 3 × 5 = 120

Check. 120 ÷ 24 = 5 and 120 ÷ 60 = 2. ✓

Watch out. Use the largest power of each prime, and do not multiply the same prime twice.

Worked example 3.5.3
Find the HCF of 12, 30 and 45, using prime factors.

Key words. Writing a number as a product of prime factors is called prime factorisation. When we use prime factors, the HCF uses the smallest power of each shared prime, and the LCM uses the largest power of every prime.

Method. Write each number as prime factors. The HCF uses only the primes they share, each with the smallest power.

  1. Write each number in index form. Break each number into prime factors. Use a power for a prime used more than once.
    12 = 22 × 3
    30 = 2 × 3 × 5
    45 = 32 × 5
  2. Find the primes that every number has. A prime must be in every number to be in the HCF.
    Shared primes: 3
  3. Take the smallest power of each shared prime. The HCF can use a prime only as many times as the number that uses it the fewest times.
    3: powers 1, 1, 2, so use 3
  4. Multiply them together. This product is the HCF.
    HCF = 3

Check. 12 and 30 and 45 are both divisible by 3. ✓

Watch out. Use the smallest power, not the largest. The HCF can never be bigger than any of the numbers.

Watch out

Do not mix up the two rules. The HCF uses the smallest power, the LCM uses the largest power. Do not multiply every prime in the HCF: only the primes that every number has are used.

Exercise 3E  HCF and LCM using prime factors

Non-calculator
1
FFind the HCF of each pair of numbers, using prime factors.
(a)20 and 30
(b)28 and 42
(c)36 and 48
(d)45 and 75
(e)33 and 44
2
FFind the LCM of each pair of numbers, using prime factors.
(a)6 and 8
(b)10 and 15
(c)12 and 18
(d)14 and 21
(e)20 and 35
3
FThe Venn diagram shows the prime factors of 36 and 60.
366032 × 2 × 35
(a)What is the HCF of 36 and 60?
(b)What is the LCM of 36 and 60?
4
FThe prime factors of one number are 22 × 3 × 7. The prime factors of another number are 2 × 3 × 5. What is the LCM of the two numbers?
5
FFind the HCF of 12, 18 and 24.
6
FFind the LCM of 12, 18 and 24.
7
PSA machine prints a label every 18 seconds. A second machine prints a label every 24 seconds. They start printing together. After how many seconds do they next print together?
8
PSFind the HCF and the LCM of 42 and 70. Multiply them together, then compare your answer with 42 × 70.
9
PSTwo numbers have an HCF of 4 and an LCM of 60. One of the numbers is 12. What is the other number?
10
PSWrite all the numbers less than 50 that have an HCF of 9 with 36.
11
RAlways, sometimes or never?   For two numbers, the HCF multiplied by the LCM equals the two numbers multiplied together. Test it with 8 and 12, and 9 and 15.
12
RTwo numbers have an HCF of 6 and an LCM of 72. Their sum is 42. What are the two numbers?

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings