t h |t-h| is prime

A fair coin is flipped 10 times. What is the probability that the difference between the number of heads and the number of tails is a prime number ?

For example, if h h is the number of heads and t t is the number of tails, h t \left | h-t \right | is a prime number.

Give your answer to three decimal places.


More probability questions

For more Permutations quizzes.


The answer is 0.410.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Geoff Pilling
May 2, 2016

The difference between the number of heads and number of tails has to be an even number, and the only even prime is 2 2 . So, we'd need to have either 6 6 heads and 4 4 tails or 6 6 tails and 4 4 heads. The number of ways we can achieve each of these is given by ( 10 4 ) \binom{10}{4} .

So, the probability is given by 2 ( 10 4 ) 2 10 = 0.410 \frac{ 2 * \binom{10}{4} }{2^{10}} = \boxed{0.410}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...