Take a test Sign in 中文
← Exercise 576 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Digits (23)
Primes (14)
Divisors, GCD, and LCM (28)
Divisibility (22)
Fractions, Decimals, and the Floor Function (14)
Bases (19)
Modular Arithmetic (30)
Integer Equations (29)

Exercises and their solutions

Exercise 576
Let $N$ be the number of consecutive 0's at the right end of the decimal representation of the product $1!2!3!4!\cdots79!80!.$ Find the remainder when $N$ is divided by 1000.
← Back to Problem 576
Solution
  1. Count factors of $5$: the number $j$ appears in $k!$ for $k=j,\dots,80$, i.e.\ $81-j$ times.
  2. So $N=\sum_{5\mid j}(81-j)+\sum_{25\mid j}(81-j)=(76+71+\cdots+1)+(56+31+6)=616+93=709$.
  3. The answer is $\boxed{709}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1996 (1 problems)
1991 (1 problems)