I wanted to prove following equation $\binom{x+y+n-1}{n} = \sum_{k=0}^{n} \binom{x+n-k-1}{n-k} \binom{y+k-1}{k}$
Using Vandermonde's identity $\binom{a+b}{t} = \sum_{k=0}^{t} \binom{a}{t-k} \binom{b}{k}$
whereas $a=x+n-k-1$ and $b=y+k-1$ but it doesn't add up.
Where is my mistake? How do i proof it?
It seems that the identity is a repeated combination version of Vandermonde's identity. Let us denote the number of ways to choose $k$ objects out of $n$ objects allowing repetition as $_n H _k$. Recall that the formula for the repeated combination is given as $_n H_k = \binom{n+k-1}{k}.$ Now your identity is equivalent to $_{x+y} H_{n} = \sum_k ~_{x} H_{n-k} \cdot _{y} H_{k}$. This identity can be proved by reasoning as in the proof of Vandermonde's identity. Suppose that there are $x$ red balls and $y$ blue balls, and you choose $n$ balls among them allowing repetition. The number of ways to do so is clearly $_{x+y} H_n$. On the other hand, if you want to choose $n$ balls so that $(n-k)$ of them are red and $k$ of them are blue, there are $_x H_{n-k} \cdot _y H_{k}$ ways to do so. Summing over $k = 0 \cdots n$, you have the right-hand side.