In my work I ran across the following binomial coefficient sum:
$$ S=\sum_{a=0}^{n-1-l} (-1)^a \binom{n}{l+1+a} \binom{l+a}{l} $$
where $n\geq 0$ and $0\leq l \leq n-1$.
I browsed the web and found (thanks to this question) the formula (5.24) in „Concrete Mathematics“ which looks like this:
$$ \sum_k \binom{l}{m+k} \binom{s+k}{n} (-1)^k = (-1)^{l+m} \binom{s-m}{n-l}$$
I went ahead and thought about the summation index. If $a<0$ then $\binom{l+a}{l}=0$ and if $a>n-1-l$ then $\binom{n}{l+1+a}$. So the summation should not be a problem. Using the formula on $S$ gives me
$$ S = (-1)^{n+l+1}\binom{l - (l+1)}{l-n}.$$
Since $l<n$ this would mean $S=0$. But numericals experiments and giving the sum to Mathematica resulted in $S=1$. What am I missing here?
Edit: Do I have to consider $a < -l$, because then $\binom{l+a}{l}\neq 0$ again?