2017 AIME II Problem 9
Problem 9 of 15IntermediateCombinatoricsProbability & StatisticsProblem-Solving Techniques
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 still 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
Your answer
Integer from 0 to 999
Show solution
Solution
Since the eight cards cover all seven numbers and all seven colors, exactly one number and exactly one color appear twice. Sharon can discard a card exactly when a single card carries both the repeated number and the repeated color: that card is then the unique discardable one, while if no card carries both, removing any card loses a number or a color.
Hands of the first type consist of a rainbow set of seven cards — one of each number and each color, which is one of permutation patterns — plus any of the remaining cards, and every such hand arises exactly once this way: hands. For the second type, choose the repeated number ( ways) and the two colors of its cards ( ways); the repeated color must be one of the other colors, and the numbers of its two cards come from the remaining numbers ( ways); finally match the last four numbers to the last four colors ( ways). That is hands.
The probability is so
Tagged: conditional probability · combinations · casework