Prove using combinatorics $\sum\limits_{k=0}^n (k-1)^2 D_n(k)=n!$.
$D_n(k)$ is the number of permutations of $n$ numbers that exactly $k$ numbers are in their place.
With some calculations I saw that it is not true for $n=1$ so the condition $n \ge 2$ should also be added.I got an algebric proof here.But I need one using combinatorics.For expressing $(k-1)^2$ maybe it is useful to extend it because we cant use $(k-1)^2$.So we got:
$\sum\limits_{k=0}^n k^2*D_n(k)-2*\sum\limits_{k=0}^n k*D_n(k)+2*\sum\limits_{k=0}^n D_n(k)$
It is easy to prove that the second one is $-2n!$ and the third is ,$n!$ so we have to prove:
$\sum\limits_{k=0}^n k^2*D_n(k)=2*n!$
But how should I do that?