Take a test Sign in 中文
← Exercise 427 →
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 427
Ed has six identical green marbles, and a large supply of identical red marbles. He arranges the green marbles and some of the red ones in a row and finds that the number of marbles whose right hand neighbor is the same color as themselves is equal to the number of marbles whose right hand neighbor is the other color. An example of such an arrangement is GGRRRGGRGG. Let $m$ be the maximum number of red marbles for which such an arrangement is possible, and let $N$ be the number of ways he can arrange the $m+6$ marbles to satisfy the requirement. Find the remainder when $N$ is divided by $1000$.
← Back to Problem 427
Solution
  1. Surround every green with reds (RGRGRGRGRGRGR) to get $12$ color changes; then add reds to the existing red runs to create $12$ same-color pairs: $m=7+12=19$, with $25$ marbles.
  2. The $12$ extra reds go into the $7$ red runs: $\binom{12+6}6=18564$ ways.
  3. The remainder is $564$.
  4. The answer is $\boxed{564}$.
Search Go to Prev      Next

Contact Us

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