Suppose you have a biased coin which comes up heads with probability and tails with probability . You then begin to toss the coin repeatedly, with heads worth 1 point and tails worth 2 points, and add up the points as you go along.
Let be the probability that at some stage you have accumulated precisely points. (For example, , etc..)
If , where and are positive coprime integers. Find .
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.
A quick outline of one solution method....
We have that p ( 0 ) = 1 , p ( 1 ) = 3 1 , and
p ( n ) = ( 3 1 ) p ( n − 1 ) + ( 3 2 ) p ( n − 2 ) for n ≥ 2 .
Assuming that p ( n ) = r n for non-zero r , we have that
r n = ( 3 1 ) r n − 1 + ( 3 2 ) r n − 2 ⟹ r = 1 , − 3 2 .
So p ( n ) = A ∗ ( 1 ) n + B ∗ ( − 3 2 ) n for some constants A , B . Plugging in the initial conditions p ( 0 ) = 1 , p ( 1 ) = 3 1 , we find that A = 5 3 and B = 5 2 .
Thus p ( n ) = 5 3 + ( 5 2 ) ∗ ( − 3 2 ) n , which as n → ∞ goes to 5 3 .
Thus a = 3 , b = 5 and a + b = 8 .