My Combinatorics notes mention the theorem Orthogonality of Binomial Coefficients which states: $$\sum_0^n{{n \choose k}{(-1)}^kp(k)} = 0$$ where $n \in \mathbb{N}$ and $p(k) \in \mathbb{R}_{n-1}[k]$
The proof given is to differentiate $$(1-t)^n = \sum_0^n{{n \choose k}{(-1)}^kt^k}$$ $r$ times, where $r<n$ and then evaluate at $t=1$, which is where I get stuck, since all terms in the sum where $k\geq r$, the inside of the sum is $\frac{k!}{(k-r)!}$ inside the sum, while for $k<r$, the $t^k$ term becomes $0$, so I'm left with $$0 = \sum_r^n{{n \choose k}{(-1)}^k\frac{k!}{(k-r)!}}$$ which would be enough to finish the proof if the sum indices ran from $0$ as I could just use linear combinations of this sum with different values of $r$ to get any polynomial of degree at most n-1
What I want to know is how am I meant to take this derivative to keep the sum index from $0$ to $n$, or is there another step after having taken the derivative to show the equality is true for all $n-1$ degree polynomials?