MathDB
2017 PUMaC Team 8

Source:

September 20, 2019
combinatorics

Problem Statement

Tristan is eating his favorite cereal, Tiger Crunch, which has marshmallows of two colors, black and orange. He eats the marshmallows by randomly choosing from those remaining one at a time, and he starts out with 1717 orange and 55 black marshmallows. If pq\frac{p}{q} is the expected number of marshmallows remaining the instant that there is only one color left, and pp and qq are relatively prime positive integers, find p+qp + q.