返回题库

AIME 1994 · 第 9 题

AIME 1994 — Problem 9

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

A solitaire game is played as follows. Six distinct pairs of matched tiles are placed in a bag. The player randomly draws tiles one at a time from the bag and retains them, except that matching tiles are put aside as soon as they appear in the player's hand. The game ends if the player ever holds three tiles, no two of which match; otherwise the drawing continues until the bag is empty. The probability that the bag will be emptied is p/q,p/q,\, where pp\, and qq\, are relatively prime positive integers. Find p+q.p+q.\,

解析

Solution

Let PkP_k be the probability of emptying the bag when it has kk pairs in it. Let's consider the possible draws for the first three cards:

  • Case 1. We draw a pair on the first two cards. The second card is the same as the first with probability 12k1\frac {1}{2k - 1}, then we have k1k - 1 pairs left. So this contributes probability Pk12k1\frac {P_{k - 1}}{2k - 1}.
  • Case 2. We draw a pair on the first and third cards. The second card is different from the first with probability 2k22k1\frac {2k - 2}{2k - 1} and the third is the same as the first with probability 12k2\frac {1}{2k - 2}. We are left with k1k - 1 pairs but one card already drawn. However, having drawn one card doesn't affect the game, so this also contributes probability Pk12k1\frac {P_{k - 1}}{2k - 1}.
  • Case 3. We draw a pair on the second and third cards. This is pretty much the same as case 2, so we get Pk12k1\frac {P_{k - 1}}{2k - 1}.

Therefore, we obtain the recursion Pk=32k1Pk1P_k = \frac {3}{2k - 1}P_{k - 1}. Iterating this for k=6,5,4,3,2k = 6,5,4,3,2 (obviously P1=1P_1 = 1), we get 35119753=9385\frac {3^5}{11*9*7*5*3} = \frac {9}{385}, and p+q=394p+q=\boxed{394}.

Solution 2

Call the case that we begin with [ABCDEF]. It doesn't matter what letter we choose at first, so WLOG assume we choose A. Now there is BCDEFABCDEF remaining in the bag. We have two cases to consider here.

1. We pick the other A. There's a 111\frac{1}{11} chance for this to happen. We remain with the case [BCDEF] if this is the case.

2. We pick any other letter that is not an A. There's a 1011\frac{10}{11} chance for this to happen. WLOG, assume we pick the letter B. Now in order for us to continue the game, we must choose either the other A or B. There's a 210\frac{2}{10} chance for this to happen. WLOG, assume we choose A. Now we have BCDEFCDEF left.

Notice however that in the first case, the probability of emptying the bag with [BCDEF] is the same thing as with BCDEFCDEF, as the only difference is you've removed one of the letters (and it doesn't matter which you chose).

Hence for this case, there is a 111+1011210=311\frac{1}{11} + \frac{10}{11}*\frac{2}{10} = \frac{3}{11} * [BCDEF] chance to empty the bag.

Continuing this process, we get that:

[BCDEF] = 39\frac{3}{9} * [CDEF]

[CDEF] = 37\frac{3}{7} * [DEF]

[DEF] = 35\frac{3}{5} * [EF]

[EF] = 1 (clearly, since if we are only left with EFEF then we are going to empty the bag).

And hence [ABCDEF] = 1353739311=93851*\frac{3}{5}*\frac{3}{7}*\frac{3}{9}*\frac{3}{11} = \frac{9}{385} so our answer is 9+385=3949+385=\boxed{394}

Solution 3

Let am,na_{m,n} represent the situation in which nn tiles are in your hand and mm pairs have been removed; i.e., there are 2m2m tiles remaining in play. We know that am,0=am,1a_{m,0}=a_{m,1} to begin with, so we find some other recursions:

When the player has 11 tile in their hand with mm pairs remaining, there is a 12m1\frac{1}{2m-1} chance that the player finds the one matching tile and the game state changes to am1,0a_{m-1,0}. There is a 2m22m1\frac{2m-2}{2m-1} chance that the player does not find the matching tile and the game state changes to am,2a_{m,2}. As a result, am,1=12m1am1,0+2m22m1am,2a_{m,1}=\frac{1}{2m-1}a_{m-1,0}+\frac{2m-2}{2m-1}a_{m,2}.

When the player has 22 tiles in their hand with mm pairs remaining, there is a 1m1\frac{1}{m-1} chance that the player finds a matching tile and the game moves on to game state am1,1a_{m-1,1}. As a result, am,2=1m1am1,1a_{m,2}=\frac{1}{m-1}a_{m-1,1}.

We also know that a0=a1=a2=1a_0=a_1=a_2=1 (i.e., you are guaranteed to win with two tiles remaining), so we are able to find an end to the recursion.

Now we are left with four rules:

  1. am,0=am,1a_{m,0}=a_{m,1}
  2. am,1=12m1am1,0+2m22m1am,2a_{m,1}=\frac{1}{2m-1}a_{m-1,0}+\frac{2m-2}{2m-1}a_{m,2}
  3. am,2=1m1am1,1a_{m,2}=\frac{1}{m-1}a_{m-1,1}
  4. a0=a1=a2=1a_0=a_1=a_2=1

We then calculate the terms of the multi-variable recursion and arrive at a6,0=9385a_{6,0}=\frac{9}{385}, so the answer is 385+9=394385+9=\boxed{394}.

~eevee9406