Difference between revisions of "2015 AMC 10B Problems/Problem 23"
(Created page with "==Problem== Let <math>n</math> be a positive integer greater than 4 such that the decimal representation of <math>n!</math> ends in <math>k</math> zeros and the decimal repres...") |
(No difference)
|
Revision as of 18:38, 4 March 2015
Problem
Let be a positive integer greater than 4 such that the decimal representation of ends in zeros and the decimal representation of ends in zeros. Let denote the sum of the four least possible values of . What is the sum of the digits of ?
Solution
A trailing zero requires a factor of two and a factor of five. Since factors of two occur more often than factors of five, we can focus on the factors of five. We make a chart of how many trailing zeros factorials have:
We first look at the case when has zero and has zeros. If , has only zeros. But for , has zeros. Thus, and work.
Secondly, we look at the case when has zeros and has zeros. If , has only zeros. But for , has zeros. Thus, the smallest four values of that work are , which sum to . The sum of the digits of is