- #1
davee123
- 672
- 4
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?
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
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