A trailing zero is a factor of 10, and a factor of 10 needs one 2 and one 5. So the count is the smaller of the two, and in 100! the fives are scarcer: twenty multiples of 5, plus one extra each from 25, 50, 75 and 100, which carry two fives. The workbench adds 100/5 + 100/25 to 24. Nobody checks this by writing 100! out — it has 158 digits, which is more screen than any calculator here offers.
The twos run to 50 + 25 + 12 + 6 + 3 + 1 = 97 by the same recipe, so they are never the binding constraint, and 24 zeros is what the fives allow. The formula keeps going: 1000! would end in 200 + 40 + 8 + 1 = 249 zeros, and 100!/10²⁴ would still be a 134-digit number. Two screens, one division each, give the whole argument — the second link is the twenty multiples of five and the third is the four double-fives hiding among them.
Answer
24
How to read it
⌊100/5⌋ + ⌊100/25⌋ on the workbench. The second link is the twenty from the multiples of five, the third the four extra from the multiples of twenty-five.
Source
Legendre's formula for the exponent of a prime p in n!: for p = 5 and n = 100 the sum ⌊100/5⌋ + ⌊100/25⌋ = 20 + 4 = 24, against ⌊100/2⌋ + ⌊100/4⌋ + ⌊100/8⌋ + ⌊100/16⌋ + ⌊100/32⌋ + ⌊100/64⌋ = 97 twos; a standard examination question
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.