An urn contains $29$ red, $18$ green, and $12$ yellow balls. Draw two balls without replacement What is the probability that the number of red balls in the sample is exactly $1$ or the number of yellow balls in the sample is exactly $1$ (or both)? What about with replacement?
I can't seem to figure this out. My closest attempt
${\frac{29 \choose 1}{59 \choose 2}} + {\frac{12 \choose 1}{59 \choose 2}} + {\frac{29 \choose 1 }{59 \choose 2}} * {\frac{29 \choose 1}{59 \choose 2}}$
I'm pretty much a rookie in combinatorics but I'd like to leave my attempt (it will also count as an exercise for me so why not).
The number of ways you can fail at picking only one yellow, one red, or one yellow and one red, is by picking either two green, two yellow or two red balls. This can be done:
So the probability that you fail is $\frac{{18 \choose 2}{41 \choose 0} + {12 \choose 2}{47 \choose 0} + {29\choose 2}{30 \choose 0}}{ {59\choose 2}} = \frac{625}{1711}\approx 0.365 $
The probability of success is $ 1 - \frac{625}{1711} = \frac{1086}{1711} \approx 0.635$
In case of replacement inside the urn, the fact that you extract for instance two yellow becomes such that there's no influence of knowing that you already picked up a yellow one in the probability to pick it up again, so the probability of picking two yellow balls will be $(\frac{12}{59})^2$ for independence. Just reproduce keeping this in mind the same reasoning, cfr. this can be a good reading.