Mathematics Knowledge · 9 min lesson

What you will learn
Find the factors, multiples and prime factorization of a number and decide quickly whether it is prime.
The lesson
A factor of a number divides into it evenly, with no remainder. A multiple of a number is what you get when you multiply it by 1, 2, 3 and so on. The two ideas point in opposite directions: factors are the same size or smaller, and multiples are the same size or bigger.
÷ Factors of 36
1, 2, 3, 4, 6, 9, 12, 18, 36. A short list that stops at 36.
× Multiples of 6
6, 12, 18, 24, 30, … A list that never ends.
To list factors without missing any, find them in pairs that multiply to the number: 1 × 36, 2 × 18, 3 × 12, 4 × 9, 6 × 6. Stop when the pairs meet in the middle.
Prime and composite numbers
A prime number has exactly two factors: 1 and itself. The first primes are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29. A composite number has more than two factors, like 12 or 35. The number 1 is neither prime nor composite, because it has only one factor.
2 is the only even prime. Many odd numbers are composite: 9 = 3 × 3, 21 = 3 × 7, 25 = 5 × 5, 33 = 3 × 11.
To test whether a number is prime, try dividing by the primes 2, 3, 5, 7 and so on, but only up to its square root. For 97, the square root is a bit under 10, so test 2, 3, 5 and 7. None divide evenly, so 97 is prime. For 87, the digits add to 15, so 3 divides it: 87 = 3 × 29. It is composite.
Divisibility rules
| Divisible by | Rule | Example |
|---|---|---|
| 2 | Last digit is even | 258 |
| 3 | Digits add to a multiple of 3 | 258: 2 + 5 + 8 = 15 |
| 4 | Last two digits form a multiple of 4 | 316: 16 ÷ 4 = 4 |
| 5 | Last digit is 0 or 5 | 1,845 |
| 6 | Divisible by both 2 and 3 | 258 |
| 9 | Digits add to a multiple of 9 | 1,845: 1 + 8 + 4 + 5 = 18 |
| 10 | Last digit is 0 | 470 |
Prime factorization
Every whole number greater than 1 can be written as a product of primes in exactly one way (apart from order). That product is its prime factorization. A factor tree is the easiest way to find it: split the number into any two factors, then keep splitting until every branch ends in a prime.
Write repeated primes with exponents: 5 × 5 = 5². The distinct prime factors are the different primes that appear. For 150 they are 2, 3 and 5, so there are three distinct primes, even though 5 appears twice.
Factors divide in, multiples build up. A prime has exactly two factors. Break any number into primes with a factor tree, using divisibility rules to find the splits.
Worked example
Problem: What is the prime factorization of 252?
- Pick an easy splitThe last two digits, 52, are a multiple of 4, so 252 = 4 × 63.
- Split 44 = 2 × 2. Both are prime.
- Split 636 + 3 = 9, so 9 divides it: 63 = 9 × 7, and 9 = 3 × 3.
- Collect the primes2 × 2 × 3 × 3 × 7 = 2² × 3² × 7.
Answer: 252 = 2² × 3² × 7
Multiply back: 4 × 9 = 36, and 36 × 7 = 252. On a multiple-choice question, also check that every number in your answer is actually prime.
Practice with a hint
Hint: Run each choice through the divisibility rule for 3 first. Any choice that passes has a factor besides 1 and itself.
Try it on your own
Build a factor tree, then count how many different primes appear at the ends of the branches.
Common mistakes
- Mixing up factors and multiples. 7 is a factor of 35. 35 is a multiple of 7. A factor list ends; a multiple list does not.
- Thinking odd means prime. 45 is odd, but 45 = 5 × 9. Test it before you call it prime.
- Calling 1 prime. 1 has only one factor, so it is not prime. The smallest prime is 2.
- Stopping a factor tree too early. Writing 150 = 2 × 3 × 25 is not finished. 25 = 5 × 5.
- Counting repeats as distinct primes. 2² × 3² × 7 has three distinct primes (2, 3, 7), not five.
Next step
- Factors divide a number evenly. Multiples come from multiplying it.
- A prime has exactly two factors. 2 is the only even prime, and 1 is not prime.
- Test for primes by dividing by primes up to the square root.
- A factor tree gives the prime factorization. Write repeats with exponents.
Practice this with the free Mathematics Knowledge practice test, then review key ideas with the Mathematics Knowledge flashcards.