How many zeroes?

Find the number of zeroes in 100! (factorial)


The answer is 24.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Chew-Seong Cheong
Dec 30, 2014

The number of trailing zeros z n z_n of n ! n! for n > 5 n>5 is given by:

z n = n 5 + n 5 2 + n 5 3 + . . . \quad z_n = \lfloor \frac {n}{5} \rfloor + \lfloor \frac {n}{5^2} \rfloor + \lfloor \frac {n}{5^3} \rfloor +...

where ˙ \lfloor \dot{} \rfloor is the greatest integer function.

Therefore the number of trailing zeros of 100 ! 100! is:

z 100 = 100 5 + 100 25 = 20 + 4 = 24 \quad z_{100} = \lfloor \frac {100}{5} \rfloor + \lfloor \frac {100}{25} \rfloor = 20 + 4 = \boxed {24}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...