Take a test Sign in 中文
← Exercise 899 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 899
Suppose $a$, $b$, $c$ are positive integers with $a+b+c=300$, and $a!\,b!\,c!=m\cdot10^n$ with $m$ not divisible by $10$. What is the smallest possible value of $n$?
← Back to Problem 899
Solution
  1. Factors of $2$ are more plentiful than factors of $5$, so $n$ is the number of factors of $5$ in $a!\,b!\,c!$, which is $\sum_i\left(\lfloor a/5^i\rfloor+\lfloor b/5^i\rfloor+\lfloor c/5^i\rfloor\right)$.
  2. Since three fractional parts add to less than $3$, $\lfloor a/5^i\rfloor+\lfloor b/5^i\rfloor+\lfloor c/5^i\rfloor\ge\lfloor300/5^i\rfloor-2$. So $n\ge(60-2)+(12-2)+(2-2)=68$.
  3. $a=52$, $b=c=124$ attains it: $12+28+28=68$.
  4. So $n=\boxed{68}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year