Number · Foundation and Higher

Factors and multiples

Multiples, factors, primes, highest common factor and lowest common multiple: two views of the same times-table facts.

Where you will use this: sharing things into equal groups, cutting or tiling with no waste, and working out when two repeating events line up.

Warm-up: what do you already know?

Quick warm-up. No marks.

Skip to the lesson

Is 24 a multiple of 6?

  • Yes
  • No
  1. Is there a whole number that you can multiply 6 by to get 24?

Yes: 6 × 4 = 24.

Quick recap of earlier topics (skip if you are happy)

Last time: work out 8 × 7.

  1. Eight sevens.

8 × 7 = 56.

Work out 72 ÷ 9.

  1. 9 × 8 = 72.

72 ÷ 9 = 8.

Work out 144 ÷ 12.

  1. 12 × 12 = 144.

144 ÷ 12 = 12.

1. Multiples

A Multiple of a number is a number in its times table: what you get by multiplying it by 1, 2, 3, 4 … The multiples of 7 are 7, 14, 21, 28, 35 …

Key idea: the list of multiples never ends. The 5th multiple of 8 is 5 × 8 = 40. To test whether a number is a multiple, divide: it is a multiple of 7 if it divides by 7 with no remainder.

Worked example

Is 91 a multiple of 7?

  1. Divide: 91 ÷ 7 = 13 exactly.
  2. There is no remainder, so yes: 7 × 13 = 91.

Check your knowledge: multiples

What is the 5th multiple of 8?

  1. 5 × 8.
  • That is 5 + 8. A multiple is multiplied.

5 × 8 = 40.

Which of these is a multiple of 9?

  • 54
  • 56
  • 65
  1. Divide each by 9 and look for no remainder.
  2. Quick test: the digits of a multiple of 9 add up to a multiple of 9.

54 ÷ 9 = 6, and 5 + 4 = 9.

What is the first multiple of 12 that is bigger than 100?

  1. 12 × 8 = 96. Go one more.
  • That is a multiple of 12, but it is smaller than 100.
  • That is a multiple, but 108 is the first one over 100.

12 × 8 = 96 is too small; 12 × 9 = 108.

Is 119 a multiple of 7?

  • Yes: 7 × 17 = 119
  • No: 7 × 16 = 112 and 7 × 18 = 126
  1. Try 119 ÷ 7.

119 ÷ 7 = 17 exactly, so yes.

The 3rd multiple of a number is 21. What is the number?

  1. 3 × ? = 21.
  • That is 21 × 3. To go backwards, divide.

21 ÷ 3 = 7.

2. Factors

A Factor of a number is a whole number that divides into it exactly. Factors come in pairs that multiply to give the number, so find them in order: 1 × 12, 2 × 6, 3 × 4. The factors of 12 are 1, 2, 3, 4, 6 and 12.

Key idea: start at 1 and test each whole number in order. Stop when the numbers you are testing meet the partners you have already found. Each factor goes with its partner, so factors are multiples seen from the other side: 3 is a factor of 12, and 12 is a multiple of 3.

Worked example

Find all the factors of 20.

  1. 1 × 20 = 20: factors 1 and 20.
  2. 2 × 10 = 20: factors 2 and 10.
  3. 3 does not go into 20. 4 × 5 = 20: factors 4 and 5.
  4. The next number to test is 5, which we already have, so stop.
  5. Factors of 20: 1, 2, 4, 5, 10, 20.

Factors always come in pairs, except for square numbers, which have one factor paired with itself (6 × 6 = 36). That is why a square number has an odd number of factors, and every other number has an even number.

Quick divisibility tests save time: even numbers divide by 2; a number divides by 3 if its digit sum divides by 3, and by 9 if its digit sum divides by 9; by 5 if it ends in 0 or 5; by 10 if it ends in 0.

Why the tests for 3 and 9 work: 10 leaves remainder 1 when you divide by 9, so 100 and 1000 do too (99 and 999 are multiples of 9). So a number is its digit sum plus a multiple of 9. For example 4,563 = 4 × 999 + 5 × 99 + 6 × 9 + (4 + 5 + 6 + 3). The first three parts divide by 9, so only the digit sum, 18, decides. Since 3 divides 9, the same test works for 3.

Check your knowledge: factors

How many factors does 50 have?

  1. Find the factor pairs in order, starting with 1 × 50.
  • That counts the pairs. Each pair has two factors.
  • You missed one. Check every pair, then count both numbers in each.

1 × 50, 2 × 25, 5 × 10 give 1, 2, 5, 10, 25, 50: six factors.

Which of these is NOT a factor of 30?

  • 5
  • 6
  • 9
  • 10
  1. Divide 30 by each.

30 ÷ 9 = 3 remainder 3, so 9 is not a factor.

How many factor pairs does 18 have?

A rectangle with area 18A rectangle with area 18. Its two side lengths are unknown, each labelled with a question mark. Each pair of whole-number side lengths that multiply to 18 is a factor pair.area = 18??
  1. 1 × 18, 2 × 9, 3 × 6.
  • That counts the factors. Each pair is two of them.

Three pairs: 1 × 18, 2 × 9, 3 × 6.

What is the biggest factor of 45 that is smaller than 45?

  1. Factor pairs: 1 × 45, 3 × 15, 5 × 9.
  • 15 is bigger: 3 × 15 = 45.

The factors are 1, 3, 5, 9, 15, 45. The biggest below 45 is 15.

Is 4,563 divisible by 3?

  • Yes: the digit sum is 18
  • No: 4,563 is an odd number, so 3 cannot go into it
  • No: it does not end in 0 or 3, so 3 is not a factor
  1. Add the digits: 4 + 5 + 6 + 3.

4 + 5 + 6 + 3 = 18, which divides by 3, so 4,563 divides by 3 (and by 9).

3. Prime numbers

A prime number has exactly two factors: 1 and itself. The first few are 2, 3, 5, 7, 11, 13, 17, 19, 23. Every other whole number bigger than 1 is built from primes by multiplying, which is called its prime factorisation. The product of primes is the same every time, apart from the order of the primes.

Key idea: 1 is not prime (it has only one factor). 2 is the only even prime. Break any number into primes with a factor tree: split it into two factors, keep splitting until every branch ends in a prime.

To test whether n is prime you only need to try the primes up to √n. Factors come in pairs, and in every pair one factor is at most √n. So if n has no factor from 2 up to √n, it has no factors other than 1 and itself, so it is prime. Any factor bigger than 1 has a prime factor no bigger than it, so you only need to test primes.

Worked example

Write 84 as a product of prime factors.

  1. 84 = 2 × 42.
  2. 42 = 2 × 21.
  3. 21 = 3 × 7.
  4. All of 2, 2, 3, 7 are prime, so 84 = 2 × 2 × 3 × 7 = 2² × 3 × 7.

Check: 2 × 2 × 3 × 7 = 84. ✓

Check your knowledge: primes

Which of these is a prime number: 21, 23 or 27?

  • 21
  • 23
  • 27
  1. A prime has no factors other than 1 and itself. Try dividing each by 2, 3, 5.

23 has no factors except 1 and 23, so it is prime.

Is 1 a prime number?

  • Yes
  • No
  1. How many factors does 1 have?

1 has only one factor (itself), so it is not prime.

How many prime numbers are there between 10 and 20?

Number line from 10 to 20A number line with every whole number from 10 to 20 marked and labelled.1011121314151617181920
  1. 11, 13, 17, 19. Check 15 (5 × 3) and 12, 14, 16, 18 (even).
  • Check each: 15 = 3 × 5, so it is not prime.
  • You missed one. The primes are 11, 13, 17 and 19.

The primes are 11, 13, 17 and 19: four.

What is the smallest prime number?

  1. It is even.
  • 1 is not prime: it has only one factor.

2 is the smallest prime, and the only even one.

150 = 2 × 3 × 5 × 5. What is the largest prime factor of 150?

  1. Look at the primes in the product.
  • 150 is not prime. The prime factors are 2, 3 and 5.
  • 25 is 5 × 5, so it is not prime. Use 5.

The primes are 2, 3 and 5. The largest is 5.

To decide whether 89 is prime, you only need to test primes up to √89. What is the largest prime you need to test?

  1. √89 is between 9 and 10, because 9² = 81 and 10² = 100.
  2. Which primes are less than 9.4?
  • 9 = 3 × 3 is not prime. The primes up to 9 are 2, 3, 5, 7.
  • 11² = 121 is already bigger than 89, so 11 is not needed.

√89 = 9.43…, so test 2, 3, 5 and 7. The largest is 7. None divides 89, so 89 is prime.

How many prime factors does 36 have, counting repeats? (36 = 2 × 2 × 3 × 3)

  1. Count each prime in the product.
  • That counts the different primes (2 and 3). Counting repeats gives 4.

2, 2, 3, 3: four, counting repeats.

4. Highest common factor and lowest common multiple

The HCF of two numbers is the biggest number that is a factor of both. The LCM is the smallest number that is a multiple of both. To find them, list the factors of each number (for the HCF) or the multiples of each number (for the LCM).

Key idea: HCF answers “what is the biggest piece size that fits both exactly?” LCM answers “when do the two cycles line up next?” The HCF is never bigger than the smaller of the two numbers. The LCM is never smaller than the bigger of the two numbers.

Worked example: HCF

Find the HCF of 24 and 36.

  1. Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24.
  2. Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36.
  3. Common: 1, 2, 3, 4, 6, 12. The biggest is 12.

Worked example: LCM

Find the LCM of 6 and 8.

  1. Multiples of 6: 6, 12, 18, 24, 30 …
  2. Multiples of 8: 8, 16, 24 …
  3. The first in both lists is 24.

Worked example: HCF and LCM from prime factors

Find the HCF and LCM of 36 and 48. Listing works, but for big numbers prime factors are quicker.

  1. Write each as a product of primes: 36 = 2² × 3² and 48 = 24 × 3.
  2. HCF: take each prime that is in both numbers, at the lowest power. That is 2² and 3, so HCF = 2² × 3 = 12.
  3. LCM: take every prime that is in either number, at the highest power. That is 24 and 3², so LCM = 24 × 3² = 16 × 9 = 144.

Check: 12 goes into 36 and 48, and 144 = 36 × 4 = 48 × 3. ✓

Check your knowledge: HCF and LCM

Find the HCF of 12 and 18.

  1. List the factors of 12 and of 18. Which is the biggest factor in both lists?
  • 36 is the LCM (a common multiple). The HCF is a factor.

Common factors: 1, 2, 3, 6. The HCF is 6.

Find the LCM of 4 and 6.

  1. List the multiples of each number.
  • 24 is a common multiple, but not the lowest.
  • 2 is the HCF. The LCM is a multiple.

Multiples of 4: 4, 8, 12. Multiples of 6: 6, 12. First common: 12.

Find the HCF of 40 and 56.

  1. List the factors of each and look for the biggest one in both.
  • 4 is a common factor, but 8 is bigger.
  • 280 is the LCM, a multiple. The HCF is a factor.

Factors of 40: 1, 2, 4, 5, 8, 10, 20, 40. Factors of 56: 1, 2, 4, 7, 8, 14, 28, 56. The biggest in both is 8.

Find the LCM of 10 and 15.

  1. List multiples of the bigger number and check each against 10.
  • 60 is a common multiple, but 30 comes first.
  • 5 is the HCF. The LCM is a multiple.

Multiples of 15: 15, 30. 30 is also a multiple of 10, so the LCM is 30.

Find the LCM of 5 and 7.

  1. 5 and 7 have no common factor except 1.
  • That is 5 + 7. The LCM is a multiple.

When two numbers have no common factor except 1, their LCM is their product: 5 × 7 = 35.

Find the HCF of 15 and 28.

  1. Factors of 15: 1, 3, 5, 15. Factors of 28: 1, 2, 4, 7, 14, 28.
  • That is their LCM, a multiple. The HCF is a factor.

The only common factor is 1.

60 = 2² × 3 × 5 and 84 = 2² × 3 × 7. Use the prime factors to find the HCF of 60 and 84.

  1. Which primes are in both numbers?
  2. Take each shared prime at its lowest power, then multiply.
  • 420 is the LCM (all the primes). The HCF uses only the shared primes.
  • Both numbers have 2², so use 2 × 2, not one 2. 2 × 2 × 3 = 12.

Shared: 2² and 3. HCF = 4 × 3 = 12. Check: 60 ÷ 12 = 5 and 84 ÷ 12 = 7.

20 = 2² × 5 and 50 = 2 × 5². Use the prime factors to find the LCM of 20 and 50.

  1. List every prime that is in either number.
  2. Take each at its highest power, then multiply.
  • 10 is the HCF (the shared primes at their lowest power). The LCM takes the highest power.
  • That is 20 × 50. Shared primes are counted once in the LCM, at their highest power.

Highest powers: 2² and 5². LCM = 4 × 25 = 100. Check: 100 = 20 × 5 = 50 × 2.

Write 18 and 24 as products of primes, then find their LCM.

  1. 18 = 2 × 3 × 3 and 24 = 2 × 2 × 2 × 3.
  2. Take the highest power of 2 and the highest power of 3, then multiply.
  • 6 is the HCF. The LCM takes the highest power of every prime.
  • That is 18 × 24. The shared factors must be counted once only.

18 = 2 × 3² and 24 = 2³ × 3. LCM = 2³ × 3² = 8 × 9 = 72. Check: 72 = 18 × 4 = 24 × 3.

Flip it: factors and multiples are the same fact, two ways round

So far you have gone one way. Now run it backwards: this is where much of the real understanding comes from.

Forwards

Forwards: 3 is a factor of 12Three small boxes of four dots, making twelve dots in all. The small number 3 is circled.3 groups of 4 make 123 is a factorof 12

3 is a factor of 12.

Look at the small number.

Backwards

Backwards: 12 is a multiple of 3A row of steps counting in threes: 3, 6, 9, 12, with 12 highlighted.36912counting in 3s lands on 12

12 is a multiple of 3.

Look at the big number.

Key idea: one multiplication fact gives you four statements. 3 × 4 = 12 means 3 and 4 are factors of 12, and 12 is a multiple of both 3 and 4. Prime factorisation also goes both ways: break a number into primes, or multiply primes together to rebuild it.

Forwards

Forwards: a factor tree for 84A tree. 84 splits into 2 and 42, then 42 into 2 and 21, then 21 into 3 and 7. The prime numbers 2, 2, 3 and 7 are at the ends of the branches.8424222137break down

Break 84 into primes: 2 × 2 × 3 × 7.

A factor tree.

Backwards

Backwards: multiply the primes to rebuild 84The prime numbers 2, 2, 3 and 7 in boxes, with arrows joining them and a question mark for the number they build.2237×?

Multiply 2 × 2 × 3 × 7 to get 84.

Rebuild the number.

Check your knowledge: flip it

7 is a factor of 56. So 56 is a ___ of 7.

  • factor
  • multiple
  • prime
  1. 7 × 8 = 56.

56 is a multiple of 7.

What is the product of the prime factors 2 × 3 × 3 × 5?

  1. Multiply them in order: 2 × 3, then × 3, then × 5.
  • That is 2 + 3 + 3 + 5. Multiply the primes to rebuild the number.

2 × 3 = 6, 6 × 3 = 18 and 18 × 5 = 90.

I am a multiple of 8 and a factor of 48. I am bigger than 8. What is the smallest number I could be?

  1. Multiples of 8: 16, 24, … Which of them divide into 48?
  • 24 works too, but 16 is smaller.
  • The question says I am bigger than 8.

16 × 3 = 48, so 16 is a factor of 48 and a multiple of 8.

A number has exactly the factors 1, 2, 4 and 8. What is it?

  1. The biggest factor of a number is the number itself.
  • 16 has more factors: 1, 2, 4, 8, 16.

8 = 1 × 8 = 2 × 4. The factors are 1, 2, 4 and 8.

I am a prime number between 30 and 40. What could I be? (Either answer is fine.)

  1. Test 31, 33, 35, 37, 39. Even numbers are out.
  • 33 = 3 × 11, so it is not prime.
  • 35 = 5 × 7, so it is not prime.

31 and 37 are prime. (33 = 3 × 11, 35 = 5 × 7, 39 = 3 × 13.)

5. Using it in real situations

Two kinds of question come up again and again. “When will they next happen together?” is an LCM question. “What is the biggest equal piece or group?” is an HCF question.

Check your knowledge: in context

One bus leaves a station every 12 minutes and another leaves every 18 minutes. They both leave at 9:00. After how many minutes do they next leave together?

  1. A “next time together” question: LCM of 12 and 18.
  • 6 is the HCF. They next leave together at a multiple of both.

Multiples of 12: 12, 24, 36. Multiples of 18: 18, 36. LCM = 36 minutes.

Two ribbons, one 36 cm long and one 54 cm long, are cut into pieces that are all the same length, with no ribbon left over. What is the longest possible length of a piece, in centimetres?

Two ribbons to cut into equal piecesTwo bars. The shorter one is a ribbon 36 centimetres long and the longer one is 54 centimetres long. Both are to be cut into equal pieces of an unknown length, labelled with a question mark.36 cm54 cmcut into equal pieces of ? cm
  1. “Biggest piece that fits both”: HCF of 36 and 54.
  • 108 is the LCM. The pieces must fit into both ribbons, so use the HCF.
  • 9 fits both, but a longer piece also does.
  • 12 goes into 36 but not into 54.

HCF of 36 and 54 is 18 cm: 36 = 2 × 18 and 54 = 3 × 18.

Pencils are sold in packs of 10 and notebooks in packs of 8. What is the smallest number of notebooks you can buy so that you have exactly the same number of pencils and notebooks?

Packs of pencils and notebooksTwo rows of packs. The pencil row shows three packs of 10 and then dots to show it continues. The notebook row shows three packs of 8 and then dots. You need the totals in the two rows to match.101010...888...pencilsnotebooks
  1. The two numbers must match, so it is a common multiple of 10 and 8.
  • 80 works too, but 40 is smaller.
  • 2 is the HCF. The number bought is a multiple.
  • 24 is a multiple of 8 but not of 10.

LCM of 8 and 10 is 40. That is 5 packs of notebooks and 4 packs of pencils.

Spot the mistake

Sam says: “1 is a prime number because you can only divide it by itself.” What went wrong?

  • 1 has only one factor, but a prime needs two.
  • Nothing is wrong: 1 can only be divided by itself, so it is prime
  • 1 is prime but 2 is not, because 2 is even
  1. How many factors does 1 have? How many does a prime have?

A prime has exactly two factors; 1 has only one, so 1 is neither prime nor composite.

Lia says: “The LCM of 6 and 9 is 3.” What went wrong?

  • She found the HCF, not the LCM.
  • Nothing is wrong: 3 goes into both 6 and 9, so it is the LCM
  • The LCM is 54, because 6 × 9 = 54
  1. A multiple is at least as big as the number.

She found the HCF, not the LCM. Multiples of 6: 6, 12, 18. Multiples of 9: 9, 18. LCM = 18.

Max says: “The factors of 12 are 1, 2, 3, 4 and 6.” What went wrong?

  • He left out 12.
  • Nothing is wrong: 12 is too big to be a factor of 12
  • He left out 5, which also goes into 12
  1. Use the pairs: 1 × 12, 2 × 6, 3 × 4.

He left out 12: a number is always a factor of itself. The factors are 1, 2, 3, 4, 6 and 12.

Check your knowledge: mixed review

Write all the factors of 40 and count them. How many factors does 40 have?

  1. 1 × 40, 2 × 20, then keep going in order.
  • That counts the pairs. Each has two factors.
  • You missed one. Check every pair, then count both numbers in each.

1, 2, 4, 5, 8, 10, 20, 40: eight.

What is the 9th multiple of 6?

  1. 9 × 6.
  • That is 9 + 6.

9 × 6 = 54.

Find the HCF of 30 and 45.

  1. Factors of 30: 1, 2, 3, 5, 6, 10, 15, 30.
  • 90 is the LCM. The HCF is a factor.

15 × 2 = 30 and 15 × 3 = 45.

Find the LCM of 9 and 12.

  1. Multiples of 12: 12, 24, 36.
  • 3 is the HCF. The LCM is a multiple.

36 = 9 × 4 = 12 × 3.

Which of these numbers is a prime number: 51, 57 or 59?

  • 51
  • 57
  • 59
  1. Use the digit sum test for 3.

5 + 1 = 6 and 5 + 7 = 12 both divide by 3, so 51 and 57 are not prime. 59 is prime.

Exam style

Show your working on the questions worth 2 or more marks.

(a) [1 mark] Which of these shows 28 written as a product of prime factors?

Factor tree for 28 with missing numbersA factor tree. 28 splits into two numbers, both unknown. One of these splits again into two more unknown numbers. All the unknowns are labelled with question marks.28????
  • 2 × 2 × 7
  • 4 × 7
  • 2 × 14
  • 2 × 2 × 2 × 7
  1. Start a factor tree: 28 = 2 × ?
  2. Every number in the product must be prime, and the product must equal 28.

28 = 2 × 14 = 2 × 2 × 7. All three are prime and 2 × 2 × 7 = 28.

(b) [2 marks] Find the highest common factor (HCF) of 28 and 42.

  1. Factors of 28: 1, 2, 4, 7, 14, 28.
  2. Factors of 42: 1, 2, 3, 6, 7, 14, 21, 42.
  • 7 is a common factor but 14 is bigger.
  • 84 is the LCM. The HCF is a factor.

Factors of 28: 1, 2, 4, 7, 14, 28. Factors of 42: 1, 2, 3, 6, 7, 14, 21, 42. The biggest factor in both lists is 14.

  • M1 for listing the factors of 28 and of 42 (or their prime factors)
  • A1 for 14

(c) [2 marks] One bell rings every 28 seconds and another every 42 seconds. They ring together at noon. After how many seconds do they next ring together?

  1. LCM of 28 and 42.
  • 14 is the HCF. They next ring together at a common multiple.

Multiples of 28: 28, 56, 84. Multiples of 42: 42, 84. LCM = 84 seconds.

  • M1 for listing the multiples of 28 and of 42
  • A1 for 84, the first number in both lists

Going further

Spot a pattern: HCF and LCM

Find the HCF of 8 and 12 and the LCM of 8 and 12. Multiply them together. What do you get?

  1. List the factors of 8 and 12, then the multiples of 8 and 12.
  • That is 4 + 24. Multiply the HCF and the LCM.

HCF = 4 and LCM = 24, so 4 × 24 = 96. Notice that 8 × 12 is also 96.

Do the same for 6 and 15: work out HCF × LCM.

  1. Common factors of 6 and 15, then common multiples.
  • That is 3 + 30. Multiply the HCF and the LCM.

HCF = 3 and LCM = 30, so 3 × 30 = 90. And 6 × 15 = 90 as well.

Test the pattern on a third pair before you trust it. Find the HCF and LCM of 4 and 10, then work out HCF × LCM.

  1. Common factors of 4 and 10, then common multiples.
  • That is 2 + 20. Multiply the HCF and the LCM.

HCF = 2 and LCM = 20, so 2 × 20 = 40. And 4 × 10 = 40 as well.

What pattern do the last three questions suggest for any two whole numbers?

  • HCF × LCM equals the product of the two numbers
  • HCF + LCM equals the two numbers added together, each time
  • HCF × LCM equals the bigger number multiplied by itself
  1. Compare your three answers with 8 × 12, 6 × 15 and 4 × 10.

HCF × LCM equals the product of the two numbers: in all three cases it matched. This is true for every pair of whole numbers (it can be proved from prime factors). It is only a rule for two numbers: for 2, 2 and 3 the HCF is 1 and the LCM is 6, so HCF × LCM = 6, but the product is 12.

The HCF of two numbers is 4 and their LCM is 24. One of the numbers is 8. What is the other?

  1. Use the pattern you just found (it works for two numbers).
  • HCF(8, 24) = 8, not 4.
  • LCM(8, 4) = 8, not 24.

8 × ? = 4 × 24 = 96, so ? = 12. Check: HCF(8, 12) = 4 and LCM(8, 12) = 24.

Counting factors

How many numbers from 1 to 50 have an odd number of factors?

  1. Try a few: 9 has factors 1, 3, 9. 10 has 1, 2, 5, 10. Look for what the odd ones share.
  • That counts the odd numbers. Being odd does not decide the number of factors.
  • You missed one square number. Check the squares up to 50.

The numbers are the squares 1, 4, 9, 16, 25, 36 and 49: seven numbers.

Why do the square numbers have an odd number of factors?

  • Factors pair up, except when a number pairs with itself, like 6 × 6
  • Square numbers are always odd, so they always have an odd number of factors
  • Square numbers always have more factors than other numbers do, whatever their size
  1. Write the factors of 36 as pairs d and 36 ÷ d.

Each factor d of n pairs with n ÷ d. A pair collapses to one factor only when d = n ÷ d, which means n = d²: a square number.

Two whole numbers have HCF 6 and LCM 180. How many different pairs (smaller number, larger number) are possible?

  1. Both numbers are multiples of 6, so write them as 6p and 6q, where p and q have no common factor.
  2. Use the pattern for HCF × LCM to find p × q.
  • That counts each pair twice, once each way round. Count (smaller, larger) once.
  • You missed a pair. Check every way to split the number into p × q.

6p × 6q = 6 × 180, so p × q = 30 with no common factor: (1, 30), (2, 15), (3, 10), (5, 6). The pairs are (6, 180), (12, 90), (18, 60) and (30, 36): four pairs.

What is the smallest number with exactly 6 factors?

  1. Test numbers in order and count their factors.
  • 18 also has 6 factors but is not the smallest.
  • 32 has 6 factors, but a smaller number has too.
  • 6 has only four factors: 1, 2, 3 and 6.

12 has six factors: 1, 2, 3, 4, 6, 12. Checking each number from 1 to 11 shows none has 6 factors. Their numbers of factors are: 1 has 1, 2 has 2, 3 has 2, 4 has 3, 5 has 2, 6 has 4, 7 has 2, 8 has 4, 9 has 3, 10 has 4, 11 has 2. So 12 is the smallest.

Puzzles

There are 100 lockers in a row, all closed. Student 1 changes every locker (closed becomes open). Student 2 changes every 2nd locker (open becomes closed, closed becomes open). Student 3 changes every 3rd locker, and so on, up to student 100, who changes only locker 100. How many lockers are open at the end?

  1. Take locker 12. Which students change it?
  2. Locker n is changed once for every factor of n. When does a locker end up open: after an odd number of changes or an even number?
  3. So you need numbers with an odd number of factors. You met them earlier on this page. Which numbers up to 100 are they?
  • That is every locker. Most are changed an even number of times, so they end up closed again.
  • That counts the even numbers. What decides open or closed is whether the number of factors is odd.
  • Check the biggest square up to 100: 100 = 10² counts too.

Locker n is changed once by each factor of n, so it ends open only if n has an odd number of factors. Factors come in pairs, except when a number pairs with itself (as in 6 × 6), so only square numbers have an odd number of factors. The open lockers are 1, 4, 9, 16, 25, 36, 49, 64, 81 and 100: ten lockers.

25! (said “25 factorial”) means 25 × 24 × 23 × … × 2 × 1. It is a huge number. How many zeros does it end with?

  1. Which two prime factors multiply to make a 10, and so give one zero?
  2. There are plenty of 2s. Count the factors of 5 instead. Which of the numbers 1 to 25 have 5 as a factor?
  3. 5, 10, 15, 20 and 25 are the multiples of 5. Does each of them hold exactly one 5?
  • 25 = 5 × 5 holds two 5s, not one. Count it twice.
  • That is the number you started with. Each zero needs a 2 and a 5 multiplied together.

Each zero at the end comes from a factor 10 = 2 × 5, and there are more 2s than 5s, so count the 5s. 5, 10, 15 and 20 give one each (four 5s) and 25 = 5 × 5 gives two, making six 5s. So 25! ends in 6 zeros.

What is the last digit of 72025? (You cannot use a calculator for a number this big. Look for a pattern in the last digits of 7, 7², 7³ …)

  1. What are the last digits of 7, 49, 343 and 2401? Do they start to repeat?
  2. The last digits go 7, 9, 3, 1 and then repeat. The cycle has length 4. Which place in the cycle is the 2025th power?
  3. Divide 2025 by 4 and look at the remainder.
  • 1 is the last digit of 74, 78 … (multiples of 4). Check the remainder when 2025 is divided by 4.
  • 9 is the last digit of 7², 76 … Check the remainder when 2025 is divided by 4.

The last digits of 71, 72, 73, 74 are 7, 9, 3, 1, and then the cycle repeats because each step multiplies the last digit by 7. 2025 = 4 × 506 + 1, so 72025 is in the same place in the cycle as 71. The last digit is 7.

Find the smallest number that leaves remainder 1 when divided by 2, by 3, by 4, by 5 and by 6, and that is also a multiple of 7.

  1. If a number leaves remainder 1 on dividing by 2, 3, 4, 5 and 6, what must it be 1 more than?
  2. It is 1 more than a multiple of the LCM of 2, 3, 4, 5 and 6. Find that LCM, and list the numbers 1 more than its multiples.
  3. The numbers are 61, 121, 181 … Their remainders when divided by 7 are 5, 2, 6 … Keep going until you reach a remainder of 0.
  • 61 leaves remainder 1 when divided by 2, 3, 4, 5 and 6, but 61 ÷ 7 = 8 remainder 5. It must also be a multiple of 7.
  • 60 is a multiple of 2, 3, 4, 5 and 6, so it leaves remainder 0. You need 1 more.

The LCM of 2, 3, 4, 5 and 6 is 60, so the number is 60k + 1. Testing 61, 121, 181, 241 (remainders 5, 2, 6, 3 on dividing by 7) and then 301 = 7 × 43, the first one that is a multiple of 7 is 301. Check: 301 = 60 × 5 + 1.

[3 marks] Non-calculator Grade 8 n is a positive whole number. Show that n² + n is always even.

  1. Try n = 3, 4, 5. What do you notice about the two numbers you are adding?
  2. Can you write n² + n as a product of two brackets? Look at the two numbers you get.
  3. If you multiply two whole numbers that are next to each other, what do you know about at least one of them?

n² + n = n(n + 1).

n and n + 1 are consecutive whole numbers, so one of them is even. If n is even, n(n + 1) is even × something. If n + 1 is even, n(n + 1) is something × even. Even × any whole number is even, so n² + n is always even.

  • B1 for n² + n = n(n + 1)
  • M1 for saying that one of n and n + 1 must be even, because they are consecutive
  • C1 for concluding that a product with an even factor is even, so n² + n is always even

[4 marks] Non-calculator Grade 9 n is a whole number bigger than 1. Show that n³ − n is always a multiple of 6.

  1. Try n = 2, 3, 4. Do the answers look like multiples of 6?
  2. Factorise n³ − n. First take out n, then look at what is left: it is a difference of two squares.
  3. You get three whole numbers next to each other. Which of them must be a multiple of 2, and which a multiple of 3?

n³ − n = n(n² − 1) = (n − 1) × n × (n + 1), which is the product of three consecutive whole numbers.

Among any three consecutive whole numbers, at least one is even, so the product is a multiple of 2. Exactly one of them is a multiple of 3, so the product is a multiple of 3.

A number that is a multiple of both 2 and 3 is a multiple of 6 (2 and 3 share no factor except 1). So n³ − n is always a multiple of 6.

  • M1 for factorising to (n − 1) × n × (n + 1)
  • B1 for saying these are three consecutive whole numbers, so one is even
  • B1 for saying one of them is a multiple of 3
  • C1 for concluding the product is a multiple of both 2 and 3, so of 6

The numbers 3, 5 and 7 are all prime, and each is 2 more than the one before. Only one prime p has the property that p, p + 2 and p + 4 are all prime. Find p.

  1. Try p = 2, 3, 5, 7, 11, 13. For each, write down p, p + 2 and p + 4. What goes wrong?
  2. Look at the remainders when p, p + 2 and p + 4 are divided by 3.
  3. Among p, p + 2 and p + 4, one is always a multiple of 3. When can a multiple of 3 be prime?
  • 5, 7 and 9: but 9 = 3 × 3 is not prime.
  • 2, 4 and 6 are all even, so 4 and 6 are not prime.
  • 11 and 13 are prime but 15 = 3 × 5 is not.

p, p + 2 and p + 4 have three different remainders when divided by 3, so exactly one of them is a multiple of 3. A multiple of 3 can be prime only if it is 3 itself. If p = 3 then p + 2 = 5 and p + 4 = 7 are prime. If p = 2, then 4 is not prime. If p is bigger than 3, then whichever of the three is the multiple of 3 is bigger than 3 and so not prime. So p = 3.

How many 3-digit numbers have digits that add up to 9? (For example 108 and 333 count. 036 is not a 3-digit number.)

  1. What can the hundreds digit be? Could it be 0?
  2. Pick the hundreds digit first. Then the other two digits must add to what? List them for a hundreds digit of 8.
  3. Hundreds digit 9 gives 900 only. Hundreds digit 8 gives 801 and 810. Carry on the pattern and add up the counts.
  • That includes numbers that start with 0, like 090. They are not 3-digit numbers.
  • That is the number of choices for the hundreds digit. Each choice can have several matching numbers.

If the hundreds digit is a, the other two digits add to 9 − a, and there are 10 − a ways to do that (the tens digit can be 0 up to 9 − a). a = 1 gives 9 numbers, a = 2 gives 8, and so on down to a = 9, which gives 1. Total = 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 = 45. So there are 45 such numbers.

A student writes: “91 is not divisible by 2, 3 or 5, so 91 is prime.” Which sentence names the flaw?

  • She did not test 7, and 91 = 7 × 13.
  • She should have tested 4 and 6 as well.
  • She should have tested every number up to 91 before deciding.
  1. She tested three numbers. Which primes should she have tried? Start from 2, 3, 5, 7 and 11.
  2. Try dividing 91 by each prime in order, up to about 9.

She did not test 7, and 91 = 7 × 13, so 91 is not prime. Testing 2, 3, 5 and 7 (the primes up to about 9.5) is enough to decide whether a number near 91 is prime.

Why it works

  • One fact, two names. 3 × 4 = 12 makes 3 and 4 factors of 12 and 12 a multiple of both.
  • Primes are the building blocks. Every whole number above 1 is a product of primes, and that product is unique apart from order.
  • HCF and LCM answer different questions. HCF is the biggest equal piece; LCM is when cycles next line up.

Common traps

  • Calling 1 a prime number.
  • Mixing up factor and multiple.
  • Leaving the number itself (and 1) out of its factor list.
  • Giving the HCF when asked for the LCM, or the other way round.
  • Stopping a factor tree before every branch is prime.

I can…

Come back in a week and tick again, without looking.

Back to the pyramid Glossary

What next?

Next in the 12-week route: Squares and square roots See all the routes