Maths Olympiad Prep

Library / /23 of 71

Combinatorics Difficulty 5.0 AIME Prove it United States

Problem:

Forty two cards are labeled with the natural numbers 11 through 4242 and randomly shuffled into a stack. One by one, cards are taken off of the top of the stack until a card labeled with a prime number is removed. How many cards are removed on average?

Solution

Solution:

Answer: 4314\frac{43}{14}. Note that there are 1313 prime numbers amongst the cards. We may view these as separating the remaining 2929 cards into 1414 groups of nonprimes - those appearing before the first prime, between the first and second, etc. Each of these groups is equally likely to appear first, so 29/1429/14 nonprimes are removed on average. We are done since exactly one prime is always drawn.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.