Problem:
Kathy has 5 red cards and 5 green cards. She shuffles the 10 cards and lays out 5 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 RRGGG, GGGGR, or RRRRR will make Kathy happy, but RRRGR will not. The probability that Kathy will be happy is nmβ, where m and n are relatively prime positive integers. Find m+n.
Solution:
Assume without loss of generality that the first card laid out is red. Then the arrangements that satisfy Kathy's requirements are RRRRR, RRRRG, RRRGG, RRGGG, and RGGGG. The probability that Kathy will lay out one of these arrangements is
94ββ
83ββ
72ββ
61β+94ββ
83ββ
72ββ
65β+94ββ
83ββ
75ββ
64β+94ββ
85ββ
74ββ
63β+95ββ
84ββ
73ββ
62β=12631β.
The requested sum is 31+126=157β.
OR
Assume without loss of generality that the first card laid out is red. The probability that k of the four remaining laid out cards are red, where 0β€kβ€4, is
(94β)(4kβ)(54βkβ)β
Given that there are exactly k red cards, the probability that they are laid out at the start is (k4β)1β. Hence the required probability is
k=0β4β(94β)(54βkβ)β=(94β)25β1β=12631β
The problems on this page are the property of the MAA's American Mathematics Competitions