Placement AptitudeVery hardTCS Digital · Infosys SP

The number 100! is written in base 72. How many zeros does its base-72 representation end with?

  1. A. 32 trailing zeros
  2. B. 24 trailing zeros
  3. C. 48 trailing zeros
  4. D. 16 trailing zeros

Correct answer: B. 24 trailing zeros

72 = 2^3 x 3^2. In 100! the power of 2 is 97 and of 3 is 48, so the number of 72s is min(floor(97/3), floor(48/2)) = min(32, 24) = 24. Counting only 2s gives 32, only 3s gives 48.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic