Difference between revisions of "2018 AIME I Problems/Problem 3"
(→Solution) |
Masterd0206 (talk | contribs) (→Question) |
||
Line 1: | Line 1: | ||
==Question== | ==Question== | ||
− | Kathy has | + | Kathy has <math>5</math> red cards and <math>5</math> green cards. She shuffles the <math>10</math> cards and lays out <math>5</math> of the cards in a row in a random order. She will be happy if and only if all the red cards laid out are adjacent and all the green cards laid out are adjacent. For example, card orders <math>RRGGG, GGGGR,</math> or <math>RRRRR</math> will make Kathy happy, but <math>RRRGR</math> will not. The probability that Kathy will be happy is <math> \frac{m}{n}</math>, where <math>m</math> and <math>n</math> are relatively prime positive integers. Find <math>m + n</math>. |
− | |||
==Solution== | ==Solution== |
Revision as of 21:33, 7 March 2018
Question
Kathy has red cards and
green cards. She shuffles the
cards and lays out
of the cards in a row in a random order. She will be happy if and only if all the red cards laid out are adjacent and all the green cards laid out are adjacent. For example, card orders
or
will make Kathy happy, but
will not. The probability that Kathy will be happy is
, where
and
are relatively prime positive integers. Find
.
Solution
Light work
You have cases total.
The two are all red and all green. Then, you have 4 of one, 1 of other. 3 of one, 2 of other. 2 of one, 3 of other. 1 of one, 4 of other. Then flip the order, so times two.
Obviously the denominator is , since we are choosing a card without replacement.
Then, we have for the numerator for the two of all red and green:
For the 4 and 1, we have:
For the 3 and 2, we have:
For the 2 and 3, we have:
For the 1 and 4, we have:
Adding up and remembering to double the last four cases, since they can be reversed, we get, after simplifying:
To finish, we add .