Skip to content

Trailing zeros of 100 factorial

Question

How many zeros does 100!100! end in?

Short answer

24. Each trailing zero needs a factor 10=2⋅510=2\cdot5, and factors of 55 are scarcer. Multiples of 55 up to 100100 contribute 2020, and multiples of 2525 contribute 44 more, for ⌊100/5⌋+⌊100/25⌋=24\lfloor100/5\rfloor+\lfloor100/25\rfloor=24.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question