Number of pairs = 99+98+97+...+2+1+0 = 99/2*100 = 4950
Number of shakes = 4900
Let arrange cats by happiness increasing.
P(first cat is practical) = 1
P(2nd cat is practical) = 50/4950 (1 definite shake didn't happen)
P(3rd cat is practical) = 50*49/(4950*4949) (2 definite shakes didn't happen)
...
P(51th cat is practical) = 50*49*..*1/(4950*4949*...*4941) (50 definite shakes didn"t happen)
P(nth cat is practical) = 50!/(50-(n-1))!/(4950!/(4950-(n-1))!)
The expected value of the number of practical cats =
"\\sum_{n=0}^{50}50!\/(50-n)!\/(4950!\/(4950-n)!)=\\sum_{n=0}^{50}50!*(4950-n)!\/((50-n)!*4950!)" =
=4951/4901
m=4951
n=4901
100m+n = 495100+4901=500001
Comments
Leave a comment