In the question link, one of the comments mentioned that $4 \cdot e \approx 10$, and indeed, $4^{9} < 9!$ according to Stirling's approximation. In other words, $9$ is very close to $\left\lfloor 4 \cdot e \right\rfloor$.
However, Stirling's approximation function is $ n! \sim \sqrt{2\pi n}\cdot \left( \frac{n}{e} \right)^{n}$ and not just $\left\lfloor n \cdot e \right\rfloor$
If it's $1000000 \cdot e$, the first value that satisfies the condition $1000000^{n} < n!$ is $2718274$, whereas $1000000 \cdot e = 2718282$
In other words, only 8 numbers below the result $2718282$, which is a quite satisfactory approximation.
I would like to know why $x\cdot e$ provides such a good approximation to satisfy the condition $z^{n} < n!$ considering that $z \cdot e \approx n!$ ?