The product of all integers from 1 to 100 is 100!. The formula actually counts the number of factors 5 in n!, but since there are at least as many factors 2, this is equivalent to the number of factors 10, each of which gives one more trailing zero.May 15, 2020