Factorials • Topic 3 of 3

Factorial Properties

Several factorial facts and the highest-power-of-a-composite technique recur in CAT. For a composite divisor, split it into prime powers, find each prime’s exponent in n! by Legendre, then take the limiting one. For 6 = 2 × 3 the answer is min(power of 2, power of 3); since 3 is always scarcer than 2, the power of 3 wins. For a prime square like 9 = 3², first find the power of 3, then take ⌊that/2⌋. Other staples: for n ≥ 5, n! always ends in zero, so the units digit of any sum like 5! + 6! + … is fixed by the small terms; n! + 1 and consecutive factorials show up in remainder questions; and ratios n!/(n−r)! collapse to a short product, which is how factorials feed permutations. Knowing 1! through 7! by heart (up to 5040) saves real time.

✅ Solved examples

1. Find the highest power of 6 that divides 50!.
6 = 2 × 3. Power of 3 in 50! = 16 + 5 + 1 = 22; power of 2 is far larger (47). Limiting prime is 3 ⇒ answer 22.
2. What is the highest power of 9 dividing 100!?
9 = 3². Power of 3 in 100! = 33 + 11 + 3 + 1 = 48. So power of 9 = ⌊48/2⌋ = 24.
3. Find the units digit of 1! + 2! + 3! + … + 100!.
From 5! onward every term ends in 0. Units of 1!+2!+3!+4! = 1+2+6+24 = 33 ⇒ units digit 3.
4. Simplify 8! / 5! and hence evaluate it.
8!/5! = 8 × 7 × 6 = 336.

✏️ Practice — try these, take hints as needed

1. Highest power of 6 dividing 100!?
6 = 2 × 3; take the scarcer prime.
Power of 3 in 100! = 48.
That is the limiter.
48
2. Highest power of 12 dividing 100!? (12 = 2² × 3)
Power of 2 = 97, power of 3 = 48.
12 needs 2²; so ⌊97/2⌋ = 48 from the 2-side.
min(48 from 2², 48 from 3).
48
3. Units digit of 3! + 4! + 5! + … + 50!?
Terms from 5! end in 0.
Units of 3! + 4! = 6 + 24.
6 + 4.
0
4. Evaluate 10! / 8!.
Cancel 8!.
10 × 9.
Multiply.
90
5. Highest power of 8 dividing 20!? (8 = 2³)
Power of 2 in 20! = 18.
⌊18/3⌋.
Divide by 3.
6

📝 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…