2017 AIME II Problems/Problem 9
Problem
A special deck of cards contains cards, each labeled with a number from to and colored with one of seven colors. Each number-color combination appears on exactly one card. Sharon will select a set of eight cards from the deck at random. Given that she gets at least one card of each color and at least one card with each number, the probability that Sharon can discard one of her cards and have at least one card of each color and at least one card with each number is , where and are relatively prime positive integers. Find .
Solution 1
Without loss of generality, assume that the numbers on Sharon's cards are , , , , , , , and , in that order, and assume the colors are red, red, and six different arbitrary colors. There are ways of assigning the two red cards to the numbers; we subtract because we cannot assign the two reds to the two 's. In order for Sharon to be able to remove at least one card and still have at least one card of each color, one of the reds have to be assigned with one of the s. The number of ways for this to happen is . Each of these assignments is equally likely, so desired probability is .
Solution 2
First note that out of the selected cards, one pair of cards have to share the same number and another pair of cards have to share the same color. Now, these pairs of cards can't be the same or else there will be cards which are completely same. Then, WLOG let the numbers be and and the colors be and . We therefore obtain only cases:
Case One: and In this case, we can discard . There are situations in this case.
Case Two: and In this case, we can't discard. There are situations in this case.
So the probability is , giving us the answer of .
Solution 3
There are ways to choose a set of 7 cards that have all the numbers from 1-7 and all 7 colors. There are then cards remaining. Thus, there are desired sets.
Now, the next thing to find is the number of ways to choose 8 cards where there is not a set of 7 such cards. In this case, one color must have 2 cards and one number must have 2 cards, and they can't be the same number/color card. The number of ways to pick this is equal to a multiplication of ways to pick 2 numbers, colors to assign them to, ways to pick 2 nonchosen colors, ways to pick a number to assign them to, and ways to assign the rest.
Thus, the answer is . Dividing out yields which is equal to which is equal to which is equal to giving a final answer of .
Solution 4
We can rewrite the problem as "What is the probability that, given 8 cards with numbers a, b, c, d, e, f, g, g and some assortment of seven colors A, B, C, D, E, F, G, G where G is repeated, one of the cards is Gg?" Note that this is a valid restatement because Sharon has to have two of one number and two of one color. She needs to be able to take away one of the cards with the duplicate number, but this also has to have the duplicate color. There are two cases.
Case I: One of the cards is Gg. This implies that the other card with color G can be placed in ways, and the rest of the colors can be paired with cards in ways.
Case II: None of the cards are Gg. This implies that the cards with color G can be chosen in ways, and the rest of the colors can be paired with cards in ways, with the divide by 2 because of the double-g.
Note that there is no case with Gg, Gg because all 49 cards are unique!
Therefore our answer is , so .
Solution 5
We count the two entities: The number of sets of eight cards that contain all seven numbers and all seven colors; and The number of sets of eight cards that contain all seven numbers and colors, and one card can be removed and the property still holds.
For the first: It is equivalent to counting: How many ways can (colors) be matched to (numbers) such that the two cannot both be matched to the two ones. (This would mean we've chosen two identical cards from the deck, both with color and number one.) We consider two cases:
1) Neither is matched with a one. Then there are ways to choose which two numbers are matched with the and ways to order the remaining numbers. (There are two one's, so we divide by two.)
2) One of the 's is matched with a one. There are ways to arrange the remaining color
Since there are seven ways to choose the extra color and likewise for the extra number, we have in total ways to choose eight cards satisfying the first condition.
For the second: View the cards as rooks on a seven by seven chess board. Seven cards that contain all colors and numbers is can be represented as placing seven rooks on the board so that no two rooks are attacking each other. There are ways to do this. For each arrangement, we can choose any of the other 42 positions on the board (cards) to add an extra rook. Thus, there are good sets of eight cards. Note that we are not overcounting.
Thus, the probability of getting a good set given the first condition is and the answer is
See Also
2017 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 8 |
Followed by Problem 10 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.