$$n\in\mathbb{N}^{*}; S_{n}=\sum_{k=1}^{n}k!(k^2+1)$$
I need to find $S_n$
I started like this: $S_{n}=\sum_{k=1}^{n}(k+2)!-3(k+1)!+2k!$
How to continue?I tried to give the k values but the terms don't vanish.
$$n\in\mathbb{N}^{*}; S_{n}=\sum_{k=1}^{n}k!(k^2+1)$$
I need to find $S_n$
I started like this: $S_{n}=\sum_{k=1}^{n}(k+2)!-3(k+1)!+2k!$
How to continue?I tried to give the k values but the terms don't vanish.
$$ \sum_{k=1}^{n}\bigg((k+2)!-3(k+1)!+2k!\bigg)=\sum_{k=1}^{n}\bigg(\bigg[(k+2)!-(k+1)!\bigg]-2\bigg[(k+1)!-k!\bigg]\bigg) $$ and telescope.