Placement AptitudeHardTCS NQT · Infosys · Accenture

What is the smallest positive integer n such that n! is divisible by 2^10?

  1. A. 11
  2. B. 14
  3. C. 10
  4. D. 12

Correct answer: D. 12

The exponent of 2 in n! is floor(n/2)+floor(n/4)+floor(n/8)+…: for n = 11 it is 8 and for n = 12 it reaches 10.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic