been stuck with this question for the last few hours, any help would be appreciated.
$$ {\large n! = \sum_{k = 0}^{n}\left(-1\right)^{k}{\,n\, \choose \,k\,} \left(\,n - k\,\right)^{n}} $$
what I did:
$\sum_{k=0}^n(-1)^k\binom{n}{k}(n-k)^n=n!\sum_{k=0}^n\frac{(-1)^k(n-k)^n}{k!(n-k)!}.$
So we are left to prove $\sum_{k=0}^n\frac{(-1)^k(n-k)^n}{k!(n-k)!}=1$. tried doing so using induction, or treating the sum as geometric sequence (which turned out poorly)
Suggestions?
If $(Δp)(x)=p(x)−p(x-1)$ denotes the step-one difference operator, one gets by repeated application $$ (Δ^np)(x)=\sum_{k=0}^n\binom{n}{k} (-1)^{k} p(x-k) $$ and your expression is equal to $$ n!=(Δ^np)(n) $$ where $p(x)=x^n$.
Now in general, the degree decreases by one in each application of the difference operator, $\deg(Δ^np)=\deg(p)-n$, so that by starting with $\deg p=n$ the result is a constant which only depends on the leading coefficient of $p$. Since $$ Δ(x^m)=x^m-(x-1)^m=mx^{m-1}-\binom{m}2 x^{m-1}+... $$ the leading coefficient of $Δ^kp$ is $p_n\cdot n(n-1)...(n-k+1)$ and thus the leading coefficient of $Δ^np$ is $n!\cdot p_n$.