Practice30Create account

For how many positive integers n does n! end in exactly three zeros?

Competition practiceNumber & Arithmetic
  • A1
  • B4
  • C0
  • D5

Step-by-Step Solution

The number of trailing zeros of n! is ⌊n/5⌋ + ⌊n/25⌋ + …, because 5s are scarcer than 2s. This count is 2 for n = 14, becomes 3 at n = 15, and stays 3 for n = 16, 17, 18 and 19, jumping to 4 at n = 20 (which brings a fourth 5). So exactly five values work: 15, 16, 17, 18 and 19. Answering 1 spots only n = 15 and forgets that the count stands still until the next multiple of 5.
Answer: D) 5

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

Find |−7| − |−3| × (−2), remembering that multiplication comes before subtraction.Which is the smallest positive integer having exactly 12 positive divisors?Rationalise each term and add: 1/(1 + √2) + 1/(√2 + √3) + 1/(√3 + √4) = ?How many three-digit numbers are divisible by 17?The squares of two consecutive whole numbers add up to 365. What is the larger of the…