
Iordan G. answered 05/22/24
Mathematics PhD with expertise in Probabililty
I'll deduce a general formula that works for all three balls, and then plug in the appropriate probabilities.
____________
Suppose a given color has probability p of being picked each of the 17 times. Let X be the discrete random variable counting the number of appearances of this color. Then X is a binomial random variable with n=17 and probability of success p. Therefore, the probability that X equals k is given by:
(*) Pr(X=k) = (17 choose k) pk (1-p)17-k
for k = 0, 1, ..., 17, where (17 choose k) is the binomial coefficient 17! / k! (17-k)!
Now, the probability that X is equal to at least two is the same as one minus the probability that X is equal to zero or one. In symbols:
Pr(X≥2) = 1 - Pr(X=0) - Pr(X=1)
Using formula (*), we obtain Pr(X=0) = (1-p)17 and Pr(X=1) = 17p(1-p)16. Plugging in these values and simplifying, we have:
Pr(X>=2) = 1 - (1-p)17 - 17p(1-p)16 = 1 - (1 + 16p)(1-p)16
___________
With the general formula in hand, we plug in p=1/8 for red, p=1/16 for blue, and p=1/32 for green, and obtain:
Red : Pr(X>=2) = 1 - 3*(7/8)16 ≈ 0.646
Blue : Pr(X>=2) = 1 - 2*(15/16)16 ≈ 0.288
Green : Pr(X>=2) = 1 - (3/2)*(31/32)16 ≈ 0.098
Hope this helps and let me know if you'd like more clarification on any step!

Iordan G.
Glad I was able to help!05/23/24
Jim D.
Thank you for the explanation. Good to read your commentary and how you arrive at the formulas. Much appreciated!05/23/24