Prime Numbers • Topic 2 of 3

Prime Factorization

Prime factorisation writes a number as a product of primes raised to powers: N = p₁^a × p₂^b × …. By the Fundamental Theorem of Arithmetic this form is unique (ignoring order), and it is the master key to most Number System problems. Once you have it, the number of factors is (a+1)(b+1)(c+1)…, because each prime can appear 0 up to its full power independently. The sum of factors multiplies the geometric series for each prime, ∏ (p^(e+1) − 1)/(p − 1). HCF takes the lowest power of each shared prime; LCM takes the highest power of every prime that appears. The highest power of a prime p dividing N! is found by Legendre’s rule — add ⌊N/p⌋ + ⌊N/p²⌋ + …. CAT loves "how many factors / even factors / factors that are perfect squares" — all answered straight from the exponents.

✅ Solved examples

1. How many factors does 360 have?
360 = 2³ × 3² × 5¹. Number of factors = (3+1)(2+1)(1+1) = 4 × 3 × 2 = 24.
2. Find the HCF and LCM of 84 and 120.
84 = 2² × 3 × 7, 120 = 2³ × 3 × 5. HCF = 2² × 3 = 12. LCM = 2³ × 3 × 5 × 7 = 840.
3. How many even factors does 360 have?
360 = 2³ × 3² × 5. Even factors must include at least one 2, so power of 2 ∈ {1,2,3} (3 choices) × (2+1) × (1+1) = 3 × 3 × 2 = 18.
4. Find the highest power of 5 in 100!.
Legendre: ⌊100/5⌋ + ⌊100/25⌋ + ⌊100/125⌋ = 20 + 4 + 0 = 24.

✏️ Practice — try these, take hints as needed

1. How many factors does 1,200 have?
Factorise: 1200 = 2⁴ × 3 × 5².
Add 1 to each exponent.
(4+1)(1+1)(2+1).
30
2. Find the LCM of 18 and 24.
18 = 2 × 3², 24 = 2³ × 3.
Take the highest power of each prime.
2³ × 3².
72
3. How many odd factors does 720 have?
720 = 2⁴ × 3² × 5.
Ignore the power of 2 (set it to 0).
(2+1)(1+1).
6
4. Highest power of 3 dividing 30!?
Use Legendre’s rule.
⌊30/3⌋ + ⌊30/9⌋ + ⌊30/27⌋.
10 + 3 + 1.
14
5. How many factors of 7,200 are perfect squares?
7200 = 2⁵ × 3² × 5².
Even exponents only: choose 0,2,4 for 2 (3 ways); 0,2 for 3 (2); 0,2 for 5 (2).
Multiply the counts.
12

📝 Topic test — 8 questions

Auto-graded with full solutions; saved to your dashboard. Use the calculator and formula sheet (top-right) any time.

Loading questions…