Suppose I have an infinite mix of marbles, each of which can be one of 16 colors. You pick 16 marbles at random. How do you calculate the probability of receiving, say, 12 different colors within the 16 you picked?(adsbygoogle = window.adsbygoogle || []).push({});

The probability of getting 1 color is pretty easy: 16/16^16

And the probability of getting all 16 colors is also easy: 16!/16^16

But the probability of getting something in the middle, I'm fuzzy on how to calculate. I wrote a script to test, so I know the rough probability of getting 12 colors is 13.04%, but I can't quite wrap my brain around how to calculate the more accurate probability, if (say) the number of picks changed, or if the number of colors changed.

DaveE

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Probability Calculation

**Physics Forums | Science Articles, Homework Help, Discussion**