A spinner has 6 equal sectors; A,B,C,D,E,F. All have equal probability of 1/6. Find the probability of A and B and C exactly once if the spinner is spined 10 times. Also similarly find probability of getting A or B or C after spinning the spinner 25 times.
I did the enter image description here
I treated these as Bernoulli trials, probability of A exactly once comes to be 0.32 (rounded to 2 decimal), it would be same for B and C. I got the answer to first question as 0.57, but its wrong. This question is from a Python Hackathon online.
Part 1
This doesn't look like a good candidate Bernoulli trials because the definition of success/failure doesn't remain consistent throughout the 10 trials. In one trial you want A, B in some other and C in a third. These are different outcomes, even if they happen to have the same probability.
Here's one approach to solve this part.
We need A, B, and C each to appear exactly once. So, we are very particular about three spins - any three.
We can choose $3$ out of $10$ trials in $\left ( ^{10} _{\,3} \right) = 120$ ways.
The probability of getting A, then B, then C in one set of 3 trials would be
$$\left( \frac{1}{6} \right)^3$$
But we don't care in what order A, B, and C will appear. So all permutations of A, B, and C are good. So the total probability of getting A, B, and C (in any order) would be
$$ \begin{align*} 3! \times \left( \frac{1}{6} \right)^3 = \frac{1}{36} \end{align*}$$
Now the probability of not getting A, B , or C in one spin is the same as getting D, E, or F. And that would be
$$3 \times \frac{1}{6} = \frac{1}{2}$$
This must happen in all the seven remaining spins (leaving out the three reserved earlier). The probability would be
$$\left( \frac{1}{2} \right)^7 = \frac{1}{128}$$
So for one particular set of three spins (selected earlier), the probability of A, B, and C each appearing only once is
$$\frac{1}{36} \times \frac{1}{128}$$
Now, this is for only one set of three spins but it could be any of the $120$ possible combinations mentioned earlier. So total required probability is
$$ \begin{align*} 120 \times \frac{1}{36} \times \frac{1}{128} \approx 0.026 \end{align*}$$
Part 2
So the point is we must not get A, B or C in any of the first $25$ trials. That's all.
Here success is getting A or B or C. Every other outcome is a failure. The definition remains consistent and the two outcomes are mutually exclusive and exhaustive. We can go ahead with Bernoulli trials.
Also, probability of success is the same as that of failure, $1/2$.
Now, the probability of having $0$ successful trials in $25$ would be
$$ \begin{align*} P(X = 0) &= \, ^{25}C_{0} \times \left( \frac{1}{2}\right)^0 \times \left( \frac{1}{2}\right)^{25} \\[0.3cm] &= \frac{1}{2^{25}} \end{align*}$$