Quantitative AptitudeVery hardCAT · Infosys DSE

Among the integers 1, 2, 3, …, 30, how many can NOT be the number of trailing zeros of n! for any positive integer n?

  1. A. 5
  2. B. 4
  3. C. 7
  4. D. 6

Correct answer: D. 6

The zero count of n! jumps by 1 at most multiples of 5, but by 2 at 25, 50, 75, 100, and by 3 at 125, skipping values. Listing the counts shows the unreachable values up to 30 are 5, 11, 17, 23, 29, 30: 6 in all.

More Number System, LCM and HCF questions

Exams that ask this topic