Maximize Probability on a Weighted Coin

Daniel has a weighted coin that flips heads 2 5 \frac{2}{5} of the time and tails 3 5 \frac{3}{5} of the time. If he flips it 9 9 times, the probability that it will show heads exactly n n times is greater than or equal to the probability that it will show heads exactly k k times, for all k = 0 , 1 , , 9 , k n k=0, 1,\dots, 9, k\ne n .

If the probability that the coin will show heads exactly n n times in 9 9 flips is p q \frac{p}{q} for positive coprime integers p p and q q , then find the last three digits of p p .


The answer is 888.

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

The probability that it will show heads exactly n n times is

( 9 n ) ( 2 5 ) n ( 3 5 ) 9 n \binom{9}{n} * (\frac{2}{5})^{n} * (\frac{3}{5})^{9-n} .

Since 9 ( 2 5 ) = 18 5 9*(\frac{2}{5}) = \frac{18}{5} we can be certain that the value for n n we are looking for is either 3 3 or 4 4 . Now it just so happens that both of these values yield a probability of

p q = 489888 1953125 \dfrac{p}{q} = \dfrac{489888}{1953125} ,

so the desired solution is 888 \boxed{888} .

Changed. Thanks, I didn't realize that both yielded the same probability.

Daniel Liu - 6 years, 4 months ago

Log in to reply

Great. Yeah, I was surprised that the two yielded precisely the same probability. I'll delete the comment in my solution now that the change has been made.

Brian Charlesworth - 6 years, 4 months ago

Log in to reply

Here's a challenge: If I flip it x x times, what is the appropriate value of n n , in terms of x x ?

Daniel Liu - 6 years, 4 months ago

Log in to reply

@Daniel Liu I was thinking of the same generalization, including making the probability of heads p p , (and thus of tails 1 p 1 - p ). As we've seen for x = 9 x = 9 , we can't just take the closest integer to p x px as being the "obvious" solution. This is a challenge; I'll have to give it some thought. :)

Brian Charlesworth - 6 years, 4 months ago

@Daniel Liu O.k., what we're after here is the mode of the distribution, which is outlined in Proposition 1, item (5) of this paper .

Brian Charlesworth - 6 years, 4 months ago

Log in to reply

@Brian Charlesworth Dang, looks like someone else already wrote a paper on it. The general form of this problem is part of a paper I wrote (not yet published)

It addresses the coefficient of x x that is the maximum, in the expression ( m x + b ) n (mx+b)^n

Daniel Liu - 6 years, 4 months ago

Log in to reply

@Daniel Liu Sorry about that. I'm impressed, though, that you're already writing papers for submission.

Brian Charlesworth - 6 years, 4 months ago

Log in to reply

@Brian Charlesworth Not formally though, it's more of a hobby. Although, I've been trying to get AwesomeMath to publish my papers, but it's hard getting something accepted there.

Daniel Liu - 6 years, 4 months ago

Log in to reply

@Daniel Liu I hadn't heard of AwesomeMath before. I've just had a look; they have some great content, both articles and problems/solutions. Hope that you manage to get something accepted there someday. :)

Brian Charlesworth - 6 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...