"Combination count" Fseq

Title Description

Here Insert Picture Description

answer

Now our problem into the next figure from the origin, the following two actions:

  • Plus abscissa 1 1 , the ordinate plus 1 1 , this case corresponds to a selected number of 1. 1.
  • Plus abscissa 1 1 , the ordinate Save 1 1 , this case corresponds to a selected number of 1. -1.

How many kinds of programs without Y = 1 y = -1 , reach ( n + m , n m ) . (n+m,n-m).
Here Insert Picture Description

There is a n + m n+m operations, a total of m times can be selected for operation down, so the answer is: C n + m m C_{n+m}^{m} .

Now consider after y = 1 y = -1 answer, this time from ( 0 , 0 ) (0,0) to y = 1 y = -1 can be called from ( 0 , 2 ) (0,-2) to y = 1 y = -1 , and therefore can be converted from line ( 0 , 2 ) (0,-2) to ( n + m , n m ) (n+m,n-m) the number of programs. compared to ( 0 , 0 ) (0,0) to ( n + m , n m ) (n+m,n-m) , the more opportunity to rise, the less the chance of a fall, so the answer is: C n + m m 1 C_{n+m}^{m-1} .

So in the end we are asking the probability should be: C n + m m C n + m m 1 C m n + m = 1 m n + 1 \frac{C_{n+m}^{m}-C_{n+m}^{m-1}}{C_{m}^{n+m}}=1-\frac{m}{n+1}

Then the conclusion is a problem, and expressed difficulty.

Guess you like

Origin blog.csdn.net/Ronaldo7_ZYB/article/details/94762860