Prove $$\sum_{k = 0}^{n}(-1)^{n - k} \binom{n}{k} \cdot k^n = n! \qquad\text{and}\qquad \sum_{k = 0}^{n}(-1)^{n - k} \binom{n}{k} \cdot k^m = 0,$$ where $m \in \{0, 1, 2, \cdots, n - 1\}$.
To be honest, I tried to use some combinatorial ideas but was not able to see interconnections. Also, I had an idea to prove it using induction but failed to do that either.
Help will be much appreciated! I just got stuck and don't see any continuation of solution for this problem
Here are some hints:
So you can think of the term $\binom{n}{k}k^n$ as the number of functions from $\{1,\dots,n\} \to \{1,\dots,n\}$ whose image is contained in a chosen $k$-element subset of the codomain.