Probability question involving drawing balls from an urn
Few votes (3) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Suppose there's an urn containing \(r\) red balls and \(b\) blue balls. At each trial, I'm drawing a ball at random from the urn, without replacement. Let \(R\) denote the event of drawing a red ball, and let \(B\) denote the event of drawing a blue ball. I'm conducting \(r+b\) trials of this experiment. So, there are a total of \(r+b \choose r\) equally likely possibilities.
Each of the \(r+b \choose r\) possibilities can be considered as a string of \(R\)s and \(B\)s. Each such string has \(r+b-2\) substrings (strings formed from the original string from consecutive \(R\)s or \(B\)s) of length \(3\).
For example, if \(r = 7\) and \(b = 3\), then \(RRBBRRBRRR\) (which may be denoted by \(R_2B_2R_2B_1R_3\)) is one of the \(10 \choose 3\) possibilities.
It has \(8\) substrings of length \(3\), which are \(RRB\), \(RBB\), \(BBR\), \(BRR\), \(RRB\), \(RBR\), \(BRR\) and \(RRR\).
Now, given the premise of \(r\) red balls and \(b\) blue balls, …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.