SPI Mathematics · Number System
Divisibility, Primes and Factorisation
Divisibility rules tell you quickly what divides a number, a prime has no factors but 1 and itself, and every whole number above 1 is one fixed product of primes.
Why this matters
Eleven questions in the bank, ten EASY and one MODERATE, and one is from the 2022 paper. Most ask you to split a number into primes and read off the powers; the rest test a divisibility rule or whether a number is prime.
Concept 1 of 3: Divisibility rules
Definition
- To count the multiples of in a range, list the first and the last multiple and count in steps of .
- 'Between 11 and 50' leaves out 11 and 50 themselves.
- To count numbers divisible by but not by , count the multiples of and take away the multiples of the LCM of and .
| Divisor | Rule | Example |
|---|---|---|
| 2 | Last digit is 0, 2, 4, 6 or 8 | 3576 |
| 3 | Sum of the digits is divisible by 3 | 741: |
| 4 | Last two digits form a number divisible by 4 | 5316: 16 |
| 5 | Last digit is 0 or 5 | 8935 |
| 6 | Divisible by both 2 and 3 | 912: even, |
| 8 | Last three digits form a number divisible by 8 | 71240: 240 |
| 9 | Sum of the digits is divisible by 9 | 6534: |
| 11 | Alternating sum of the digits is 0 or a multiple of 11 | 3729: Add and subtract the digits in turn. The plain digit sum says nothing about 11. |
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 1 · Number System · Divisibility, Primes and Factorisation
Taking away multiples of the product, not the LCM
Testing 6 with one rule
Concept 2 of 3: Prime and composite numbers
Definition
- A prime has exactly two factors. A composite number has more than two.
- 1 is neither prime nor composite.
- 2 is the only even prime, so every other prime is odd.
- The smallest composite number is 4 and the smallest odd composite number is 9.
- To test , divide by the primes 2, 3, 5, 7, 11, 13, ... up to . If none divides, is prime.
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a practice question:
Example 2 · Number System · Divisibility, Primes and Factorisation
Calling 1 a prime
Numbers that look prime
Concept 3 of 3: Prime factorisation
Definition
- Divide by 2 as long as you can, then by 3, then 5, 7, 11, and so on.
- Fundamental Theorem of Arithmetic: every whole number above 1 is a product of primes in exactly one way, apart from order.
- If a prime divides , then divides .
- Each zero at the end of a number needs one 2 and one 5 (), so the number of end zeros is the smaller of the powers of 2 and 5.
Prime factorisation and end zeros
- p₁, p₂, ..., pₖthe different primes that divide n
- a₁, a₂, ..., aₖhow many times each prime appears
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a practice question:
Example 3 · Number System · Divisibility, Primes and Factorisation
Stopping at a composite piece
Adding the powers of 2 and 5 for end zeros
Squaring the divisor
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (1)
- Prime factorisation
Prime factorisation and end zeros
Reference tables (1)
Divisibility rules8 rows
| Divisor | Rule | Example |
|---|---|---|
| 2 | Last digit is 0, 2, 4, 6 or 8 | 3576 |
| 3 | Sum of the digits is divisible by 3 | 741: |
| 4 | Last two digits form a number divisible by 4 | 5316: 16 |
| 5 | Last digit is 0 or 5 | 8935 |
| 6 | Divisible by both 2 and 3 | 912: even, |
| 8 | Last three digits form a number divisible by 8 | 71240: 240 |
| 9 | Sum of the digits is divisible by 9 | 6534: |
| 11 | Alternating sum of the digits is 0 or a multiple of 11 | 3729: Add and subtract the digits in turn. The plain digit sum says nothing about 11. |
Watch out for (7)
- Taking away multiples of the product, not the LCM→ Divisibility rules
- Testing 6 with one rule→ Divisibility rules
- Calling 1 a prime→ Prime and composite numbers
- Numbers that look prime→ Prime and composite numbers
- Stopping at a composite piece→ Prime factorisation
- Adding the powers of 2 and 5 for end zeros→ Prime factorisation
- Squaring the divisor→ Prime factorisation
Test yourself on a real paper
Sit a past SPI paper, timed and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.