AoPSWiki
Want to learn how to tackle those tough AMC/AIME/Olympiad counting and probability problems? Check out Art of Problem Solving's NEW Intermediate Counting & Probability by David Patrick.
Personal tools

1992 AIME Problems/Problem 15

From AoPSWiki

Problem

Define a positive integer to be a factorial tail if there is some positive integer such that the decimal representation of ends with exactly zeroes. How many positiive integers less than are not factorial tails?

Solution

The number of zeros at the end of is f(m) = \left\lfloor \frac{m}{5} \right\rfloor + \left\lfloor \frac{m}{25} \right\rfloor + \left\lfloor \frac{m}{125} \right\rfloor + \left\lfloor \frac{m}{625} \right\rfloor + \left\lfloor \frac{m}{3125} \right\rfloor + \cdots.

Note that if is a multiple of , f(m) = f(m+1) = f(m+2) = f(m+3) = f(m+4).

Since f(m) \le \frac{m}{5} + \frac{m}{25} + \frac{m}{125} + \cdots  = \frac{m}{4}, a value of such that is greater than . Testing values greater than this yields .

There are distinct positive integers, , less than . Thus, there are positive integers less than than are not factorial tails.

See also

1992 AIME (ProblemsResources)
Preceded by
Problem 14
Followed by
Last Question
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
NEW! Hard Problems DVD
A documentary about the 2006 US IMO team. Features many current and past AoPS members!
Click here for more details and to order
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us