Take a test Sign in 中文
← Exercise 411 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Basic Counting (90)
---- (44)
Probability (91)

Exercises and their solutions

Exercise 411
Find the number of functions $f$ from $\{0, 1, 2, 3, 4, 5, 6, 7\}$ to the integers such that $f(0) = 0$, $f(7) = 11$, and \[|x - y| \leq |f(x) - f(y)| \leq 3|x - y|\] for all $x$ and $y$ in $\{0, 1, 2, 3, 4, 5, 6, 7\}$.
← Back to Problem 411
Solution
  1. As in the original problem, consecutive differences $f(k+1)-f(k)$ lie in $\{\pm1,\pm2,\pm3\}$, a negative step must be balanced appropriately, and the full condition must hold for all pairs.
  2. Enumerating the sequences of seven steps summing to $11$ that satisfy all pair conditions (by computer) gives $328$.
  3. The answer is $\boxed{328}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1985 (1 problems)
1984 (1 problems)