
Claudia L. answered 05/20/23
Experienced Math and Data Science Tutor
Let X be a random variable representing the number of heads out of 7 coin tosses.
Take the compliment of the given event, as it is faster and easier to calculate:
P(X >= 3) = 1 - P(X = 0, 1, or 2)
A coin toss is a Bernoulli trial, so 7 coin tosses would have a binomial distribution. Therefore, you can use the binomial formula to find P(X = 0, 1, or 2).
1 - 7C0(½)0(½)7 - 7C1(½)1(½)6 - 7C2(½)2(½)5
1 - 1/128 - 7/128 - 21/128
1- 29/128 = 99/128
99/128 is not further reducible so, 99 and 128 are coprime.
99/128 = a/b, so a = 99 and b = 128
99 + 128 = 227

Peter R.
05/22/23