Problem 838: (1984 AIME, 7)
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 $f(84)$.
- $f(1000)=997$, $f(999)=f(f(1004))=f(1001)=998$, $f(998)=f(f(1003))=f(1000)=997$, $f(997)=f(f(1002))=f(999)=998$.
- By induction, for $n<1000$, $f(n)=997$ if $n$ is even and $998$ if $n$ is odd (since $f(n)=f(f(n+5))$ and $n+5$ has the other parity).
- $84$ is even, so $f(84)=997$. The answer is $\boxed{997}$.
The function $f$ is defined on the set of integers and satisfies \[ f(n)= \begin{cases} n-4 & \mbox{if }n\ge 800 \\ f(f(n+7)) & \mbox{if }n<800 \end{cases} \] Find $f(73)$.