What is the probability of rolling three twenty-sided dice and having at least two of the same number appear?
I thought that the probability would be:
$$1 - \bigg(1 - \frac{1}{20}\bigg) \bigg(1 - \frac{1}{20}\bigg) \bigg(1 - \frac{1}{20}\bigg) = 1 - \frac{19^3}{20^3}$$
That is one in twenty is the probability of rolling two of the same number in two dice, and then simply sub it into the formula for the probability of at least one of three unrelated events occurring. This leaves an answer of $14.2625\%$, but the experimental probability is consistently around $14.1449\%$. What is wrong with my calculation?
Edit: The probability of one of any unrelated events occurring is $$Pt=1 -\bigg( 1-P1 \bigg)\bigg( 1-P2 \bigg)\bigg(1- P3 \bigg) ...\bigg(1- Pn \bigg)$$
So it would seem that the probability would be as visualized above, where one in twenty is the probability of any two die rolls being the same. Does this mean that the three probabilities are not unrelated as I previously believed?
You're very close. Once the first one is rolled, there is a $(1-1/20)$ chance it is not replicated by the second die. Once the second has also been rolled, assuming it did not replicate the first, there is a $(1-2/20)$ that the third die replicates neither of the original two. Thus the probability is $$1 - (1-1/20)(1-2/20).$$ This gives an exact result of $29/200 = 0.145$.