Placement AptitudeModerateTCS NQT · Capgemini

How many zeros does 100! end with when it is written in base 7?

  1. A. 16
  2. B. 14
  3. C. 15
  4. D. 2

Correct answer: A. 16

Trailing zeros in base 7 equal the power of 7 in 100!: ⌊100/7⌋ + ⌊100/49⌋ = 14 + 2 = 16. 14 forgets the extra factor from 49 and 98.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic