Take a test Sign in 中文
← Exercise 439 →
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 439
Call a permutation $a_1, a_2, \ldots, a_n$ of the integers $1, 2, \ldots, n$ ''quasi-increasing'' if $a_k \leq a_{k+1} + 2$ for each $1 \leq k \leq n-1$. For example, $53421$ and $14253$ are quasi-increasing permutations of the integers $1, 2, 3, 4, 5$, but $45123$ is not. Find the number of quasi-increasing permutations of the integers $1, 2, \ldots, 6$.
← Back to Problem 439
Solution
  1. Build a quasi-increasing permutation of $1,\dots,n$ by inserting $n$ into one of $1,\dots,n-1$, so $n$ can only go at the end or just before $n-1$ or $n-2$, so there are $3$ choices once $n\ge3$.
  2. The count is $2\cdot3^{n-2}$, which is $162$ for $n=6$.
  3. The answer is $\boxed{162}$.
Search Go to Prev      Next

Contact Us

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