If we had a 4 sided dice (numbers 1,2,3,4 on the faces) and rolled it 6 times and recorded the results. What would be the probability that we rolled the same number 3 or more times? (Such as rolling 1,1,1,4,3,2 or 1,1,1,1,4,4 etc). I need to avoid the problem of counting some results twice. For example, if I rolled 1,2,1,2,1,2 I want to count this only once, not twice.
My attempted solution went as follows.
Probability of getting exactly 3 of the same number
$${6 \choose 3}×(4/4×1/4×1/4×1/4×3/4×3/4×3/4) = .5273$$
Probability of getting exactly 4 of the same number
$${6 \choose 4}×(4/4×1/4×1/4×1/4×1/4×3/4×3/4) = .1319$$
Probability of getting exactly 5 of the same number
$${6 \choose 5}×(4/4×1/4×1/4×1/4×1/4×1/4×3/4) = .0176$$
Probability of getting exactly 6 of the same number
$${6 \choose 6}×(4/4×1/4×1/4×1/4×1/4×1/4×1/4) = .0010$$
Since we have found the individual probabilities of exactly each number, we can sum this up to find the probability of "at least". Which we get .6778.
The answer as I have come to find out through computer programs however is closer to .648 I am unsure of where I went wrong in my logic.
Are you double counting the issue you brought up? (Counting 1,2,1,2,1,2 twice)
How many ways can that happen? ${4\choose2}=6$ ways to pick the two numbers. $\frac{6!}{3!3!}=20$ ways the two numbers can be arranged. So that is $\frac{120}{4^6}$ that was double counted. If you subtract that from your answer it seems close to the simulated result.