document.write( "Question 1111875: Find the number of trailing zeroes in the product of the first n factorials \n" ); document.write( "
Algebra.Com's Answer #726911 by ikleyn(52908)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "Calculate the highest degree of 5 in the product: it will give you the number of zeroes.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The highest degree of 5 is equal to\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "[n/5] + [n/5^2] + [n/5^3] + . . . + [n/5^m],\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "where [x] means the \"integer part\" of the number x  (do not ask me what is it - you must know it); \r\n" );
document.write( " \r\n" );
document.write( "the index \"m\" is the highest degree the number  \"5%5Em\"  still divides n.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );