A binary string of 2n digits consists of n 0s (zeros) and n 1s (ones). A successful string is one where at any digit position, the number of ones (counting from the left) does not exceed the number of zeros.
eg for n = 3
001101 is a successful string.
011001 is not, since after 3 digits, there are more ones than zeros.
If the string is randomly generated from n 0s and n 1s, show that the probability of generating a successful string is 1/(n+1).
2007-06-11
07:52:53
·
5 answers
·
asked by
Dr D
7
in
Science & Mathematics
➔ Mathematics
Just in case you're wondering where I got that question, I just stumbled upon it while working on another question.
http://answers.yahoo.com/question/index?qid=20070608125732AAkLUHV&r=w#NbUvWjS6VjUPI10CkR0I
2007-06-11
11:59:45 ·
update #1
For 2n = 6, these are the only 5 successful strings:
000111
001011
001101
010011
010101
Total possible strings = 6! / (3!)^2 = 20
So prob = 5/20 = 1/(3+1)
The formula works. The question is how to prove it.
2007-06-12
06:15:45 ·
update #2