Does there exist any closed form for the following sum?
$$\sum_{k=0}^{l}\binom{k}{n}\binom{k}{m}$$
Where $l \in \mathbb N$ and $m,n \in \mathbb Z$
My try:
$$ \sum_{k=\max\left(m,n\right)}^{l}\binom{k}{n}\binom{k}{m}=\sum_{k=0}^{l}\binom{k}{k-n}\binom{k}{k-m}$$$$=\left(-1\right)^{\left(-n-m\right)}\sum_{k=0}^{l}\binom{-n-1}{k-n}\binom{-m-1}{k-m}$$$$=\left(-1\right)^{\left(-n-m\right)}\sum_{k=0}^{l}\binom{-n-1}{-1-k}\binom{-m-1}{k-m}$$$$=\left(-1\right)^{\left(-n-m\right)}\binom{-n-m-2}{-m-1}$$
$$=\left(-1\right)^{\left(-n-m\right)}\binom{-n-m-2}{-n-1}=\left(-1\right)^{\left(-m-1\right)}\binom{m}{-n-1}$$$$=\left(-1\right)^{\left(-m-1\right)}\binom{m}{m+n+1}=\left(-1\right)^{n}\binom{n}{m+n+1}$$
I'm not sure whether it's right, so can someone verify the solution, and if it's not right then please provide a closed form (of course if that's exist).
I guess the best that you can get when $0 \le n \le m$ is in table III, page 15, eq. (4.9) of Gould's combinatorial identities:
$$\sum_{k=0}^{l}{k \choose n}{k \choose m} = \sum_{k=0}^{n}{n \choose k}{m \choose k}{l+k+1 \choose n+m+1}$$
I don't know whether that can be extended to $m,n \in \mathbb Z$.
As remarked there, the original source is “The class of the free metabelian group with exponent $p^2$”, by S. Bachmuth and H. Y. Mochizuki, Communications on Pure and Applied Math., Vol. 21 (1968), pp. 385-399.