Q. There are 6 red balls and 6 green balls in a bag. Five balls are drawn out at random and placed in a red box. The remaining seven balls are put in a green box. If the probability that the number of red balls in the green box plus the number of green balls in the red box is not a prime number, is where and are relatively prime, then find the value of

 298  99 Probability - Part 2 Report Error

Answer: 37

Solution:

image
image
Let is event as desired then

hence