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.
Each pair of a 5 and 2 that gets factored in is equivalent to factoring a 1 0 , or adding a trailing zero. But there are always more than enough 2 s, so the number of 5 s is all we need to consider. So divide 1 0 0 0 0 by 5 . It is still not enough, because that doesn't count cases like 2 5 , 5 0 , and 1 2 5 as many times as their power of 5 . The formula is Z T ( n ! ) = k = 1 ∑ ⌊ lo g 5 n ⌋ ⌊ 5 k n ⌋ In this case n = 1 0 0 0 0 so the sum is 2 4 9 9 . This formula only counts trailing zeros.