Placement AptitudeHardTCS NQT Advanced · Capgemini

What is the smallest positive integer n such that n! is divisible by 2²⁰ · 3¹⁰?

  1. A. 21
  2. B. 22
  3. C. 24
  4. D. 27

Correct answer: C. 24

The power of 3 is the bottleneck: ⌊23/3⌋ + ⌊23/9⌋ = 7 + 2 = 9 < 10, but 24 gives 8 + 2 = 10. The power of 2 in 24! is 12 + 6 + 3 + 1 = 22 ≥ 20, so n = 24. 22 only satisfies the condition for 2.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic