FRIDAY'S KILLER QUESTION: You have some biased coins...
Every Friday we'll be posting challenging and cryptic questions for you to answer, provided for us by 7city Learning. Post your answers in the comments box at the bottom of the page. Maximum kudos will be provided to the person who provides the correct answer first. We'll add the correct answer to the bottom of this article on Monday afternoon.
You have n biased coins with the kth coin having probability
1/(2k+1)
of coming up heads. What is the probability of getting an odd number of heads in total?
ANSWER:
Use Pn to denote the required probability. After n-1 tosses there is a probability of Pn-1 that there have been an odd number of heads. Therefore a probability of 1-Pn-1 of there having been an even number of heads. To get the probability of an even number of heads after another toss, n in total, you multiply the probability of an odd number so far by the probability of the next coin being tails, and add this to the product of the probability of an even number and the probability of getting a head next:
This becomes
Now we just have to solve this difference equation, with the starting value that before any tossing we have zero probability of an odd number, so Po=0.
If we write
then the difference equation for 'an' becomes the very simple
The solution of this with ao=0 is just n and so the required probability is



