HMMT 二月 2007 · COMB 赛 · 第 7 题
HMMT February 2007 — COMB Round — Problem 7
题目详情
英文原题
- [ 5 ] Forty two cards are labeled with the natural numbers 1 through 42 and randomly shuffled into astack. One by one, cards are taken off of the top of the stack until a card labeled with a prime numberis removed. How many cards are removed on average?
解析
英文解析
- [ 5 ] Forty two cards are labeled with the natural numbers 1 through 42 and randomly shuffled into astack. One by one, cards are taken off of the top of the stack until a card labeled with a prime numberis removed. How many cards are removed on average?
Answer: . Note that there are 13 prime numbers amongst the cards. We may view these as 43
separating the remaining 29 cards into 14 groups of nonprimes - those appearing before the first prime,14
between the first and second, etc. Each of these groups is equally likely to appear first, so 29 / 14
nonprimes are removed on average. We are done since exactly one prime is always drawn.