CombinatoricsDifficulty 4.5Find the answerHarvard-MIT Mathematics Tournament · United States
Problem: A candy company makes 5 colors of jellybeans, which come in equal proportions. If I grab a random sample of 5 jellybeans, what is the probability that I get exactly 2 distinct colors?
Official solution
Solution: There are (25)=10 possible pairs of colors. Each pair of colors contributes 25−2=30 sequences of beans that use both colors. Thus, the answer is 10⋅30/55=12/125.
Answer: 12512.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.