HMMT 十一月 2025 · 冲刺赛 · 第 31 题
HMMT November 2025 — Guts Round — Problem 31
题目详情
英文原题
- [17] Gumdrops come in 7 different colors. Mark has two boxes of gumdrops, each containing one gumdropof each color. He repeats the following process 7 times: he removes one gumdrop uniformly at randomfrom each box, then eats one of the two removed gumdrops uniformly at random and throws away the other. Compute the probability Mark eats one gumdrop of each color. n
解析
英文解析
- [17] Gumdrops come in 7 different colors. Mark has two boxes of gumdrops, each containing onegumdrop of each color. He repeats the following process 7 times: he removes one gumdrop uniformlyat random from each box, then eats one of the two removed gumdrops uniformly at random and throwsaway the other. Compute the probability Mark eats one gumdrop of each color.
Proposed by: Jason Mao
Answer:1
Solution 1: We consider the general problem where there are n different colored gumdrops. Without 16
loss of generality, fix the order of gumdrops that Mark removes from the first box. There are n ! waysto arrange the order that Mark removes gumdrops from the second box with respect to the first, andn n
2 ways for Mark to decide the gumdrops that he eats, for a total of n ! · 2 possible combinations.
© 2025 HMMT
To count the scenarios in which Mark eats all different colored gumdrops, assume Mark eats k gumdropsnfrom the first box and n − k gumdrops from the second box. There are ways to select which kkcolors of gumdrops from the first box are eaten. This uniquely determines the set of positions andcolors of the n − k gumdrops that Mark must eat from the second box. As for ordering the colors inthe second box, there are ( n − k )! ways to permute the eaten gumdrops and k ! ways to permute thenuneaten gumdrops. This is a total of · ( n − k )! · k ! = n ! ways Mark can eat n different coloredkgumdrops for a given k .
Since k can be any integer from 0 to n , the total number of ways is ( n + 1) · n ! = ( n + 1)!, so the probability that Mark eats n different colored gumdrops is
( n + 1)! n + 1 = .
n nn ! · 2 2
For n = 7, this gives an answer of .1
Solution 2: We consider the general problem where there are n different colored gumdrops. Label the 16
gumdrop colors 1 , 2 , . . . , n , and suppose that gumdrop colored i from the first box is paired gumdropcolored σ ( i ) in the second box.
We claim that condition on a fixed value of σ , the probability that Mark eats one gumdrop of each colorc ( σ ) − n 2 k − 1
is 2 , where c ( σ ) is the number of cycles in σ . To see this, consider a cycle i, σ ( i ) , σ ( i ) , . . . , σ ( i ).
Then in order for Mark to eat one gumdrop of each color, Mark has exactly two ways to eat the gumdropof these colors:
• Eat all gumdrop of colors i, σ ( i ) , σ ( i ) , . . . from the first box.2
• Eat all gumdrop of colors i, σ ( i ) , σ ( i ) , . . . from the second box.2
c ( σ )
Therefore, the number of ways for Mark to eat one gumdrop of each color is 2 . Thus, the claimedc ( σ )
probability is 2 .
Therefore, the answer is
1Xc ( σ )
2 ,
2 n !nσ ∈ Swhere S is the set of all permutations of { 1 , 2 , . . . , n } . To evaluate the summation, we use the followingnnwell-known lemma, which is a property of Stirling numbers of first kind.
Lemma 1. For any n , we havec ( σ )Xx = x ( x + 1)( x + 2) . . . ( x + n − 1) .
σ ∈ Sn
Proof. We use induction on n , with the base case n = 1 being clear. For the induction step, assumethat the lemma is true for n − 1. We split an element σ ∈ S into two cases:
• If σ fixes n , then n is its own cycle, and we can remove n to get a permutation in S . Adding ann − 1
c ( σ )
lone cycle of n back multiply x by x , so by induction hypothesis, the contribution of this caseisx · x ( x + 1)( x + 2) . . . ( x + n − 2) .
• If σ does not fix n (i.e., n is a part of a cycle), then we remove n from the cycle and reglue thecycle by changing x → n → y to x → y . This gives a permutation in S . For each permutationn − 1
in S , there are n − 1 ways to insert n back, so the contribution of this case isn − 1
( n − 1) · x ( x + 1)( x + 2) . . . ( x + n − 2) .
Thus, the total sum is
( x + n − 1) · x ( x + 1)( x + 2) . . . ( x + n − 2) ,
completing the proof.
© 2025 HMMT
Plugging in x = 2 in the above lemma gives the answer
1 n + 1
· (2 · 3 · 4 · · · ( n + 1)) = ,
n n
2 n ! 2
and for n = 7, this evaluates to .1
n 16