document.write( "Question 248731: Determine how many zeros are at the end of the numeral for the following in base 10:
\n" ); document.write( "1000!
\n" ); document.write( "Please explain how we can find the number of zeros for any factorial.
\n" ); document.write( "

Algebra.Com's Answer #804376 by CubeyThePenguin(3113)\"\" \"About 
You can put this solution on YOUR website!
number of zeros = number of factors of 10 = number of factors of 5 (Factors of 5 are less common than factors of 2.)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Keep dividing the result by 5 until you can't.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "1000/5 = 200
\n" ); document.write( "200/5 = 40
\n" ); document.write( "40/5 = 8
\n" ); document.write( "8/5 = 1.6 --> 1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "1000! ends with 200 + 40 + 8 + 1 = 249 zeros.
\n" ); document.write( "
\n" );