Quantitative AptitudeVery hardInfosys SP · TCS NQT Prime
How many trailing zeros does the product 1! × 2! × 3! × … × 30! have?
- A. 81
- B. 87
- C. 7
- D. 93
Correct answer: B. 87
Powers of 2 are plentiful, so count 5s: the exponent of 5 in k! is ⌊k/5⌋ + ⌊k/25⌋. Summing for k = 1 to 30 gives 81 from ⌊k/5⌋ and 6 from ⌊k/25⌋ (k = 25 to 30), total 87.
More Number System, LCM and HCF questions
- How many zeros does the number 1¹ × 2² × 3³ × … × 20²⁰ end with?
- Among the integers 1, 2, 3, …, 30, how many can NOT be the number of trailing zeros of n! for any positive integer n?
- How many trailing zeros does the binomial coefficient C(200, 80) have?
- How many five-digit numbers divisible by 3 can be formed using the digits 0, 1, 2, 3, 4, 5, 6 with no digit repeated?
- What is the smallest positive multiple of 12 whose decimal digits are all 0 or 5?
- What is the sum of all four-digit numbers that can be formed using each of the digits 0, 2, 3 and 5 exactly once?