Here is the question
Suppose we roll 5 standard fair dice and sum the upfaces of the largest 3 values showing. Find the probability that the sum is 18.
I tried an easier version of this question using Inclusion Exclusion and it worked
Suppose we roll 3 standard fair dice and sum the upface of the largest value showing. Find the probability that the sum is 6.
$\frac{1}{6}\cdot3-\frac{1}{6}^{2}\cdot3+\frac{1}{6}^{3}$
So first we count getting at least one six and multiply by 3 choose 1, then subtract getting two sixes and mutliply by 3 choose 2, and the finally add back getting 3. I think this only works because the PIE is revolving around only one die.
Here is me applying the same logic but to at least 3 out 5, instead of at least 1 out of 3.
$\frac{1}{6}^{3}\cdot\operatorname{nCr}\left(5,3\right)-\frac{1}{6}^{4}\cdot\operatorname{nCr}\left(5,4\right)+\frac{1}{6^{5}}$
I calculated the right answer a different way using cases, so I know this answer is wrong and is overcounting.
@callculus42 This is by cases (3 6s, 4 6s, 5 6s), I guess this is fine. I just want to know how the PIE works in a case like this.
– Marko Jul 27 '23 at 02:28