I have a question related to Vandermonde's identity:
From Vandermonde's identity, we have: $$ \binom{n+m}{r}=\sum_{k=0}^r \binom{n}{k}\binom{m}{r-k} $$ Now, I have an extra term $x^k$ inside the sum, i.e. $$ f(x)=\sum_{k=0}^r \binom{n}{k}\binom{m}{r-k}x^k $$
Is there any closed form solution available for $f(x)$? I would be grateful for any hint?
Thanks.
Hint: A closed form is presumably not available. But, we can write it as the coefficient of a polynomial, which might be useful. Note, that $f(x)$ is dependent on $r$ and should be parametrized with it.