A die is rolled 12 times. Find the probability of rolling no more than 4 fives.
This means we either rolll no fives, one five, two fives, three fives or 4 fives
The probability of rolling no fives is C(12,0)(1/6)^0*(5/6)^12 = 0.1121566547846151
The probability of rolling one five is C(12,1)(1/6)^1*(5/6)^11 = 0.0000000044516784
The probability of rolling two fives is C(12,2)(1/6)^2*(5/6)^10 = 0.2960935686313838
The probability of rolling three fives is C(12,3)(1/6)^3*(5/6)^9 = 0.1973957124209225
The probability of rolling four fives is C(12,4)(1/6)^4*(5/6)^8 = 0.0888280705894151
And summing these we have......about 69.4% chance of rolling no more than 4 fives
P(no more thatn 4 fours) = P(no fours)+P(1four)+P(2 fours)+P(3 fours)+P(4 fours)
(56)12+12C1(16)1(56)11+12C2(16)2(56)10+12C3(16)3(56)9+12C4(16)4(56)8