Practice30Create account

The four factorials 5!, 10!, 15! and 20! are all multiplied together. How many zeros does the resulting product end with?

Competition practiceNumber & Arithmetic
  • A40
  • B10
  • C4
  • D9

Step-by-Step Solution

A trailing zero needs a factor , and inside a factorial the 5s are always the scarce ones, so count those. Using ⌊n/5⌋ + ⌊n/25⌋ + …, the four factorials carry 1, 2, 3 and 4 fives, a total of 1 + 2 + 3 + 4 = 10. The 2s are far more plentiful — 3 + 8 + 11 + 18 = 40 of them — so only 10 pairs can be formed and the product ends in exactly 10 zeros. The trap 40 counts the 2s instead of the 5s. Answering 4 uses the largest factorial alone and forgets the other three, and 9 drops 5! as 'too small to matter', although 5! = 120 already ends in a zero.
Answer: B) 10

Master this topic in 30 minutes a day.

Don't just memorise the answer — build a daily practice habit.

Practice 5 Similar Questions Free →

All Number & Arithmetic practice questions

More Number & Arithmetic practice

The number 40! is divided by 18, the answer is divided by 18 again, and so on for as…How many of the whole numbers from 1 to 84 have no factor greater than 1 in common with…The digits of 2¹⁰⁰⁰ are added together; the digits of that answer are added together;…Many whole numbers can be broken up into a run of two or more consecutive whole numbers…A perfect square is written down, but only its last two digits can still be read. Which…