While doing research in computer system, I came across the following summation: $$S_n = \sum_{k=0}^{n} {n \choose k} k! = \sum_{k=0}^{n} \frac{n!}{(n-k)!}$$ where both $n$ and $k$ are integers.
$S_n$ has an intuitive meaning: Suppose we have $n$ distinct numbers. Each time we choose $k$ numbers and permute them. What is the total number of different permutations?
Though I only need the value of $S_2 = 5$ and $S_3 = 16$, I am interesting in its general form. I have tried myself and googled with keywords such as "counting permutations, Stirling numbers", however I still have no idea.
EDIT: I am quite satisfied with the accepted answer which, as one of the first answers, claims that $S_n = \lfloor n! e \rfloor$ and presents some numerical results. However, if you want to know how to prove it, please refer to the answer given by @Omran Kouba and give it an upvote.
The sum has a closed form for $n\ge 1$
$$e=\frac 1 {0!}+\frac 1 {1!}+\frac 1{2!}+\frac 1{3!}+...$$
What you want is : $$S=n!(\frac{1}{0!}+\frac{1}{1!}...\frac{1}{n!})$$
$$S= \lfloor n !e\rfloor$$
This works for many $n\ge1$ tested by me. If it decomposes at large $n$, error will be very less.
$S_1=2, \lfloor{1!e}\rfloor=2$
$S_2=5, \lfloor{2!e}\rfloor=5$
$S_3=16, \lfloor{3!e}\rfloor=16$
$S_{10}=9864101,\lfloor{10!e}\rfloor=9864101 $
$S_{20}=6613313319248080001=\lfloor{20!e}\rfloor $
Here is a plot of their difference by wolfram alpha :
Wolfram alpha is unable to draw graph correctly for their quotient, but here it is:
As you can see the $y$ axis has nothing but $1$. Maybe this is due to this very small scale.