Trailing zeros of 100!
Need a hint?
Each zero comes from a factor 10 = 2 Β· 5. Which prime is scarcer in 100!?
100! ends with exactly 24 zeros.
How to work it out
A trailing zero needs a factor 10 = 2 Β· 5. There are far more factors 2 than 5 in 100!, so the number of zeros is the number of factors 5.
Count them: multiples of 5 give one each, multiples of 25 give one more, multiples of 125 would give another (none up to 100):
(1)
LaTeX source of the formulas on this page
\[ 24 \]
\[ \left\lfloor\frac{100}{5}\right\rfloor+\left\lfloor\frac{100}{25}\right\rfloor=20+4=24 \]Questions
What is the answer to: Trailing zeros of 100!?
100! ends with exactly 24 zeros.
What is the key idea?
Count the factors of 5 (including those hidden in 25, 50, 75, 100).
Is there a hint?
Each zero comes from a factor 10 = 2 Β· 5. Which prime is scarcer in 100!?