AoPSWiki
Support local problem solving programs by contributing to the Art of Problem Solving Foundation.
Click here for more information about the Foundation.

1984 AIME Problems/Problem 7

From AoPSWiki

Problem

The function f is defined on the set of integers and satisfies f(n)=\begin{cases}n-3&\mbox{if}\ n\ge 1000\\f(f(n+5))&\mbox{if}\ n<1000\end{cases}

Find .

Solution

Define f^{h} = f(f(\cdots f(f(x))\cdots)), where the function is performed times. We find that f(84) = f(f(89) = f^2(89) = f^3(94) = \ldots f^{y}(1004). 1004 = 84 + 5(y - 1) \Longrightarrow y = 185. So we now need to reduce .

Let’s write out a couple more iterations of this function: \begin{align*}f^{185}(1004)&=f^{184}(1001)=f^{183}(998)=f^{184}(1003)=f^{183}(1000)\\&=f^{182}(997)=f^{183}(1002)=f^{182}(999)=f^{183}(1004)\end{align*} So this function reiterates with a period of 2 for . It might be tempting at first to assume that is the answer; however, that is not true since the solution occurs slightly before that. Start at : f^{3}(1004)=f^{2}(1001)=f(998)=f^{2}(1003)=f(1000)=\boxed{997}

See also

1984 AIME (ProblemsResources)
Preceded by
Problem 6
Followed by
Problem 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Looking for a challenging geometry text? Preparing for MATHCOUNTS or the AMC exams? Check out Art of Problem Solving's Introduction to Geometry by Richard Rusczyk.
© Copyright 2007 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us