I am trying to simplify the following expression:
$$ {m\choose l}^{-1}\sum_ii^p{n\choose i}{m-n\choose l-i} $$
where the sum is over all allowed $i$ values, i.e. $\max(0,l-m+n)\le i\le l$ and all variables are non-negative integers. I know that the expression has a value of 1 for $p=0$ from the Chu–Vandermonde identity, but I am wondering if I can simplify the sum away for $p=1$ and $p=2$. Thank you!
For $p=1$ we have
$$\sum_ii\binom{n}i\binom{m-n}{\ell-i}=n\sum_i\binom{n-1}{i-1}\binom{m-n}{\ell-i}=n\binom{m-1}{\ell-1}\;.$$
With a bit more work we can use the ame idea to dispose of the case $p=2$:
$$\begin{align*} \sum_ii^2\binom{n}i\binom{m-n}{\ell-i}&=n\sum_ii\binom{n-1}{i-1}\binom{m-n}{\ell-i}\\ &=n\sum_i(i-1)\binom{n-1}{i-1}\binom{m-n}{\ell-i}+\\ &\quad\quad+n\sum_i\binom{n-1}{i-1}\binom{m-n}{\ell-i}\\ &=n(n-1)\sum_i\binom{n-2}{i-2}\binom{m-n}{\ell-i}+n\binom{m-1}{\ell-1}\\ &=n(n-1)\binom{m-2}{\ell-2}+n\binom{m-1}{\ell-1}\;. \end{align*}$$