Follow up.
Cubist sent me a private message last night saying that he thought my formula for r3 was correct and my formula for r2 was incorrect. I told him that I was way too tired to think it through and welcomed him to make corrections, which he very kindly did.
Let's think about r3. How many ways can we select 3 out of the 5 vessels, obviously 10: ABC, ABD, ABE, ACD, ACE, ADE, BCD, BCE, BDE, CDE. Each choice uniquely determine the p's and q's.
And quite obviously
[MATH]\sum_{j=1}^4 x_j \left ( \sum_{k=j+1}^5 x_k\right)[/MATH]
gives 4 + 3 + 2 + 1 = 10 summands. That is reassuring.
Now let's expand my original formula for r_3:
[MATH]r_3 = r_5 * \left \{ \sum_{j=1}^4 \dfrac{q_j}{p_j} * \left ( \sum_{k=j+1}^5 \dfrac{q_k}{p_k} \right ) \right \} = \left ( \prod_{i=1}^5 p_i \right ) *[/MATH]
[MATH]\left \{ \left (\dfrac{q_1}{p_1} * \sum_{k=2}^5 \dfrac{q_k}{p_k} \right ) + \left ( \dfrac{q_2}{p_2} * \sum_{k=3}^5 \dfrac{q_k}{p_k} \right ) + \left ( \dfrac{q_3}{p_3} * \sum_{k=4}^5 \dfrac{q_k}{p_k} \right ) + \dfrac{q_4}{p_4} * \dfrac{q_5}{p_5} \right \} =[/MATH]
[MATH]\left ( \prod_{i=1}^5 p_i \right ) * \left ( \dfrac{q_1q_2}{p_1p_2} + \dfrac{q_1q_3}{p_1p_3} + \dfrac{q_1q_4}{p_1p_4} + \dfrac{q_1q_5}{p_1p_5} + \dfrac{q_2q_3}{p_2p_3} + \dfrac{q_2q_4}{p_2p_4} + \dfrac{q_2q_5}{p_2p_5} +\dfrac{q_3q_4}{p_3p_4} + \dfrac{q_3q_5}{p_3p_5} + \dfrac{q_4q_5}{p_4p_5} \right ) =[/MATH]
[MATH]q_1q_2p_3p_4p_5 + q_1q_3p_2p_4p_5 + q_1q_4p_2p_3p_5 + q_1q_5p_2p_3p_4 + \\
q_2q_3p_1p_4p_5 + q_2q_4p_1p_3p_5 +q_2q_5p_1p_3p_4 + \\
q_3q_4p_1p_2p_5 + q_3q_5p_1p_2p_4 + \\
q_4q_5p_1p_2p_3.[/MATH]And that is what we want. And of course r2 will be similar in form. So, Cubist was correct, and I am most appreciative for his perception.
Thus the correct answers are
[MATH]r_0 = \prod_{j=1}^5 q_i;[/MATH]
[MATH]r_1 = r_0 * \sum_{j=1}^5 \dfrac{p_i}{q_i};[/MATH]
[MATH]r_2 = r_0 * \left \{ \sum_{j=1}^4 \dfrac{p_j}{q_j} * \left ( \sum_{k=j+1}^5 \dfrac{p_k}{q_k} \right ) \right \};[/MATH]
[MATH]r_3 = r_5 * \left \{ \sum_{j=1}^4 \dfrac{q_j}{p_j} * \left ( \sum_{k=j+1}^5 \dfrac{q_k}{p_k} \right ) \right \};[/MATH]
[MATH]r_4 = r_5 * \sum_{j=1}^5 \dfrac{q_i}{p_i}; \text { and}[/MATH]
[MATH]r_5 = \prod_{j=1}^5 p_i.[/MATH]
If all the p's are equal, then so are all the q's, and we get
[MATH]r_0 = \prod_{j=1}^5 q = q^5 = \dbinom{5}{0} * p^0q^5;[/MATH]
[MATH]r_1 = q^5 * \sum_{j=1}^5 \dfrac{p}{q} = 5pq^4 = \dbinom{5}{1} * p^1q^4;[/MATH]
[MATH]r_2 = q^5 * \left \{ \sum_{j=1}^4 \dfrac{p}{q} * \left ( \sum_{k=j+1}^5 \dfrac{p}{q} \right ) \right \} = 10p^2q^3 = \dbinom{5}{2} * p^2q^3;[/MATH]
[MATH]r_3 = p^5 * \left \{ \sum_{j=1}^4 \dfrac{q}{p} * \left ( \sum_{k=j+1}^5 \dfrac{q}{p} \right ) \right \} = 10p^3q^2 = \dbinom{5}{3} * p^3q^2;[/MATH]
[MATH]r_4 = p^5 * \sum_{j=1}^5 \dfrac{q}{p} = 5p^4q = \dbinom{5}{4} * p^4q^1; \text { and}[/MATH]
[MATH]r_5 = \prod_{j=1}^5 p = p^5 = \dbinom{5}{5} * p^5q^0.[/MATH]
It is really easy to implement this in excel. Using the OP's original example, we get for r0 through r5:
6.48%, 34.74%, 39.24%, 16.54%, 2.84%, and 0.16%, which adds up to 100.00.%
It is possible that we can come up with a recursive formula because the OP wants to go up to 10 vessels. I have not thought that through.
Again, thanks to Cubist for making me look at this more closely. I guess you should not do math while looking at election returns and drinking cognac.