Take a test Sign in 中文
← Exercise 354 →
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 354
An integer is called snakelike if its decimal representation $a_1a_2a_3\cdots a_k$ satisfies $a_i<a_{i+1}$ if $i$ is odd and $a_i>a_{i+1}$ if $i$ is even. How many snakelike integers between 100 and 999 have three distinct digits?
← Back to Problem 354
Solution
  1. We need $a_1<a_2>a_3$, so the middle digit is the largest of the three.
  2. For a set of three nonzero digits, the other two can be placed in $2$ orders: $2\binom93=168$.
  3. If $0$ is one of the digits it must be last: $\binom92=36$.
  4. Total $204$.
  5. The answer is $\boxed{204}$.
Search Go to Prev      Next

Contact Us

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