Topic N.1 · Lesson 3 of 7
Factors, multiples, primes and counting
Factors, multiples and primes
A factor of a number divides into it exactly, with nothing left over. The factors of 12 are 1, 2, 3, 4, 6 and 12; they come in pairs that multiply to 12 (, , ), which is the quickest way to find them all. A multiple of a number is in its times table: the multiples of 6 are 6, 12, 18, 24 and so on forever.
A prime number has exactly two factors: 1 and itself. The primes start 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37. The number 1 is not prime because it has only one factor, and 2 is the only even prime, since every other even number has 2 as a factor.
Primes are the building blocks of all whole numbers. Every whole number greater than 1 can be written as a product of primes, and there is only one way to do it (apart from the order). This fact is called the unique factorisation theorem, and it is why prime factorisation is so useful.
How to write a number as a product of prime factors
- Step 1: Split the number into any two factors (dividing by a small prime such as 2, 3 or 5 is easiest).
- Step 2: Keep splitting each branch until every end is a prime. Circle the primes.
- Step 3: Multiply all the circled primes together, writing repeated primes as powers, smallest prime first.
The factor tree below does this for 360. Whatever split you start with, you always end up with the same primes.
So . Writing it "in index form" means using the powers like this.
HCF and LCM
The highest common factor (HCF) of two numbers is the biggest number that divides into both. The lowest common multiple (LCM) is the smallest number that both divide into. For small numbers you can list: factors of 12 are 1, 2, 3, 4, 6, 12 and of 18 are 1, 2, 3, 6, 9, 18, so the HCF is 6; multiples of 12 are 12, 24, 36, … and of 18 are 18, 36, …, so the LCM is 36. For bigger numbers, use prime factors.
How to find the HCF and LCM with a Venn diagram
- Step 1: Write each number as a product of primes.
- Step 2: Put the primes the numbers share in the overlap of a Venn diagram, and the rest in each number's own part.
- Step 3: HCF: multiply the primes in the overlap.
- Step 4: LCM: multiply every prime in the whole diagram.
This works because the HCF must be built only from primes both numbers have, while the LCM must contain all the primes of each number.
Worked example
HCF and LCM
Find the HCF and LCM of 84 and 90.
Show solutionHide solution
- Prime factors: and .
- They share one 2 and one 3, so those go in the overlap, as in the diagram below. 84 has a 2 and a 7 left over; 90 has a 3 and a 5.
- HCF .
- LCM .
- Check: for two numbers, HCF × LCM equals the product of the numbers. and . ✓
With index form you can skip the diagram: the HCF takes each shared prime to the lower power, and the LCM takes every prime to the higher power. For and : HCF , LCM .
In word problems, look for the clue. Splitting things into the largest possible equal groups with nothing left over is an HCF question. Things that repeat and "line up again" (buses every 12 and 18 minutes, lights flashing every 20 and 45 seconds) is an LCM question.
Listing outcomes and the product rule for counting
When a question asks you to list every possible outcome, work systematically: fix the first choice, run through every option for the second, then change the first choice. That way you never miss or repeat one.
If you have to count rather than list, there is a shortcut, the product rule (Higher tier). The diagram shows a café with 3 starters and 4 mains: each starter can go with all 4 mains, so there are meals.
This is the product rule for counting: if one choice can be made in ways and a second choice in ways, the pair can be made in ways. It extends to any number of choices. When items cannot be reused, the number of options falls by one each time. For example, 5 people can stand in a line in ways: 5 choices for first place, then only 4 left for second, and so on.
Worked example
Counting codesgrade 8–9
A code is 2 different letters from A to F followed by 3 digits from 0 to 9. The last digit must be odd. How many codes are possible?
Show solutionHide solution
- First letter: 6 choices. Second letter: only 5, because it must be different. Letters: .
- The first two digits can be anything: 10 choices each. The last must be odd (1, 3, 5, 7, 9): 5 choices. Digits: .
- Every letter pair goes with every digit pattern, so multiply: codes.
Practise this topic
Both are part of Premium.