Placement AptitudeVery hardTCS Digital · Infosys SP · Accenture

With how many zeros does 100! end when it is written in base 12?

  1. A. 49
  2. B. 24
  3. C. 48
  4. D. 97

Correct answer: C. 48

12 = 2²·3. In 100!, the exponent of 2 is 97 and of 3 is 48. Zeros = min(⌊97/2⌋, 48) = min(48, 48) = 48; counting the 2s alone would wrongly give 97.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic