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 - The Fusion of Science and Community**

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

# Probability Calculation

Loading...

Similar Threads - Probability Calculation | Date |
---|---|

I Can you calculate probability with infinite sets? | Aug 11, 2017 |

B Calculation of probability | May 20, 2017 |

Calculating permutations for a normally distributed variable | Jun 6, 2015 |

Calculating log liklihood: Zero value of likelihood function | Apr 6, 2015 |

Calculating a probability given a point for a continuous distribution? | Jul 24, 2014 |

**Physics Forums - The Fusion of Science and Community**