2006 AIME I Problem 4
Problem 4 of 15EasierAlgebraNumber TheoryArithmetic
Let be the number of consecutive ’s at the right end of the decimal representation of the product Find the remainder when is divided by
Your answer
Integer from 0 to 999
Show solution
Solution
Factors of are plentiful, so is the exponent of in the product. Each integer with appears as a factor in exactly of the factorials, namely
Every multiple of contributes one factor of per appearance, and every multiple of contributes one more. Over the appearances total and over they total
Hence and the remainder upon division by is
Tagged: trailing zeros · factorial · summation