trailing 0's in factorial hundred
The solution is wrong. The correct answer is 21 becuase the factors of squares of 5 ( 25,50,75) are already covered in the factors of 5.
I guess that 24 is correct .. Because 5 is only taken once when u consider the factors of 5 .... in 25,50 and 75
Just to add to discussion, there is a mechanical way for calculating trailing zeroes in a n!.There is a explicit formula for that....
The correct answer is 23! The reason is that the zeros generated by 50 are alreday accounted for.
Fog Creek Home