Number System
🔒 Log in to trackFactors, prime factorisation & trailing zeros
🔒 Log in to trackWrite (prime factorisation). Everything about factors comes from the exponents.
- Number of factors
- Odd factors: ignore the power of 2. Even factors = total − odd (or give 2 an exponent from 1 to its max).
- Perfect-square factors: each exponent can only take even values 0, 2, 4, …
- Sum of factors: multiply for each prime.
Trailing zeros of a product = number of (2, 5) pairs = number of 5s (5s are scarcer). In n!, count 5s by successive division by 5.
Detailed notes
Factors and multiples
A factor (divisor) of a number divides it exactly. Factors of 12 are 1, 2, 3, 4, 6, 12. A multiple is the opposite: 12, 24, 36 … are multiples of 12. Every question on "how many factors" starts with prime factorisation — writing the number as a product of primes.
Prime factorisation
Keep dividing by the smallest prime that works. . Write it in power form: .
Number of factors
A factor of can take the power of 2 as 0, 1, 2, 3 or 4 (5 choices), the power of 3 as 0, 1 or 2 (3 choices), and the power of 5 as 0 or 1 (2 choices). For 720: factors.
Odd, even and special factors
- Odd factors: ignore the 2 completely. → odd factors .
- Even factors = total − odd. For 3600: .
- Factors that are multiples of : divide by and count the factors of . For 1440 and : → .
- Perfect-square factors: each power can only be even (0, 2, 4 …). Perfect-cube factors: powers 0, 3, 6 …
Sum of factors
For : . Sum of even factors: drop the 1 from the bracket of 2:
Product of factors
If has factors, the product of all its factors is . Factors pair up as — each pair multiplies to .
Writing N as a product of two factors
- Number of ways (if is not a perfect square), or if it is (the square root pairs with itself).
- As a product of two co-prime factors: , where = number of different primes in .
Trailing zeros
A zero at the end comes from a factor 10 = 2 × 5. In there are always more 2s than 5s, so count the 5s: 125! → 25 + 5 + 1 = 31 zeros. Quick way: keep dividing by 5 and add the quotients. Careful with products like : here 5s are plenty and 2s are fewer, so count both and take the smaller.
Highest power of a prime in n!
Same successive division, but by the prime : power of 3 in 100! . For a composite like 12 = : find the power of 2 (divide by 2 because of the square) and the power of 3; the answer is the smaller.
Quick revision
- Factors: ; odd factors → drop 2.
- Multiples of among factors → factors of .
- Sum: product of brackets.
- Product of factors .
- Zeros in = successive division by 5.
- Highest power of in = successive division by .
Types of questions asked
Every way this subtopic shows up in exams — how to recognise it, the formula or logic to use, and a solved example.
Type 1: Number of factors (total, odd, even)very common2 practice Q
'How many factors / divisors does 720 have?', 'how many odd (or even) factors …'.
- Prime-factorise .
- Total: multiply (each power + 1).
- Odd: leave out the power of 2. Even: total − odd.
Why: each factor is built by choosing a power for every prime independently.
Example: How many factors does 252 have?
→ factors.
Type 2: Special factors: perfect squares/cubes, multiples of kcommon2 practice Q
'How many factors of N are perfect cubes?', 'how many factors of 1440 are divisible by 12?'.
- Perfect squares: count only even powers for each prime (0, 2, 4, …). Cubes: 0, 3, 6, …
- Multiples of : divide by and count the factors of the quotient.
Why: a factor divisible by is times a factor of .
Example: How many factors of are perfect squares?
Powers of 2: 0, 2, 4 (3 choices). Powers of 3: 0, 2 (2 choices). Answer .
Type 3: Sum of factors (all, odd or even)common2 practice Q
'Find the sum of all factors of 360', 'sum of even factors of 72'.
- Prime-factorise.
- Write a bracket for each prime and multiply.
- Even factors: bracket for 2 starts from 2. Odd factors: drop the bracket of 2.
Why: expanding the product gives every factor exactly once.
Example: Find the sum of all factors of 60.
→ .
Type 4: Trailing zeros in a factorial or productvery common2 practice Q
'How many zeros are there at the end of 125!?' or at the end of a product like .
- For : divide by 5, divide the quotient by 5 again, … and add all quotients.
- For other products: count 2s and 5s separately; zeros = the smaller count.
Why: each zero needs one 2 and one 5.
Example: How many zeros are at the end of 80!?
, . Zeros .
Type 5: Highest power of a prime (or composite) dividing n!common2 practice Q
'Find the largest n such that divides 100!', or 'highest power of 12 in 50!'.
- For a prime : successive division of by , add quotients.
- For a composite, split into prime powers (), find each exponent, divide by the power needed, take the smallest.
Why: counts multiples of , adds the extra from multiples of , and so on.
Example: Highest power of 7 in 100!?
, . Answer .
Type 6: Product of factors; ways to write N as a product of two factorsoccasional3 practice Q
'Find the product of all factors of 36', 'in how many ways can 360 be written as a product of two (co-prime) factors?'.
- Count factors .
- Product of factors .
- Ways as a product of two factors ( for a perfect square).
- Co-prime pairs: each distinct prime goes wholly to one side → ordered splits, unordered.
Why: factors pair up as .
Example: Find the product of all factors of 12.
has 6 factors → product . Check: ✓.
Formulas
when p = 2 with exponent a
Shortcut tricks
⚡ Even factors: force one 2
If , even factors (factors of odd part).
Example: How many even factors does 360 have?
⇒ even factors .
⚡ Successive division by 5
Keep dividing by 5 (dropping remainders) and add the quotients.
Example: How many zeros are at the end of 1000!?
. Sum .
⚡ Sum of factors as bracket product
Write one bracket per prime: (1 + p + p² + …). Multiply.
Example: Find the sum of all factors of 72.
⇒ .
Where students lose marks
Counting only n/5 for trailing zeros and missing the extra 5s from 25, 125, …
Adding exponents instead of multiplying (a + 1)(b + 1)(c + 1).
Forgetting that 1 and N are themselves factors.
For trailing zeros of a SUM (e.g. 100! + 200!) adding the zeros — the sum has the smaller count.
Practice sets — 17 questions
Sets of 10, mixed across the question types above. Each answer comes with a step-by-step explanation.
Topic test · 10 questions
Suggested time 8 min · wrong answers go to your mistake notebook automatically.