Factors, multiples and primes
Divisibility rules, prime factorisation with a factor tree, and the two numbers every fraction question needs: the GCD and the LCM.
First, the rules
Primes are the atoms of numbers
Every whole number above 1 is a prime or a product of primes, in exactly one way. That one fact gives you divisibility, the GCD, the LCM — and later, every fraction you simplify.
See it
The sieve and the tree
Slide n. On the grid its multiples light up and the primes are outlined; on the right its factor tree splits it down to primes.
Step by step
Worked examples
Divisible by what?
divisibility testsWhich of 2, 3, 4, 5, 6, 8, 9, 10 divide 4 716?
Ask yourself: Use the tests — no division needed.
Show the solution
- Even → 2 ✓. Digit sum 4 + 7 + 1 + 6 = 18 → divisible by 3 ✓ and by 9 ✓. Last two digits 16 → 4 ✓. Last three digits 716 = 8 × 89.5 → not 8 ✗.
- Ends in 6 → not 5 ✗, not 10 ✗. Divisible by 2 and 3 → 6 ✓.
- So 2, 3, 4, 6, 9 divide it; 5, 8, 10 do not.
Answer 2, 3, 4, 6, 9
Factor trees and the GCD
prime factorisation · gcdWrite 180 and 168 as products of primes, then find their greatest common divisor.
Ask yourself: Split each number in any way you like — the primes at the leaves are always the same.
Show the solution
- 180 = 18 × 10 = (2 · 3 · 3) · (2 · 5) = 2² · 3² · 5.
- 168 = 8 × 21 = (2 · 2 · 2) · (3 · 7) = 2³ · 3 · 7.
- Common primes with the lower power: 2² and 3¹: gcd = 4 · 3 = 12.
Answer gcd = 12
LCM in a real question
lcmOne bus leaves every 12 minutes, another every 18. They leave together at 9:00. When do they next leave together?
Ask yourself: "Together again" means a common multiple — and the first time means the least one.
Show the solution
- 12 = 2² · 3, 18 = 2 · 3². Higher powers: 2² · 3² = 36.
- So they coincide every 36 minutes: next at 9:36.
- Check with the gcd: gcd(12, 18) = 6 and 12 × 18 ÷ 6 = 36 ✓.
Answer 9:36 — every 36 minutes
Practice: primes, GCD and LCM
0 / 0Prime factorisations, greatest common divisors, least common multiples, divisibility tests and prime checks. Your best score is kept in this browser only.
About this lesson
Factors, multiples and primes: divisibility rules for 2, 3, 4, 5, 6, 8, 9 and 10, prime numbers and the sieve, prime factorisation with a factor tree, and how to read the greatest common divisor and the least common multiple from the prime factors. A sieve and a factor tree you can control, worked examples and practice. Everything on this page runs in your browser; nothing you type is sent or stored. Spotted an error? Tell us.