I am trying to prove
$$\frac{n^n}{e^{n-1}}<n!<\frac{(n+1)^{n+1}}{e^{n}} \text{ for all }n > 2.$$
Here is the original source (Problem 1B, on page 12 of PDF)
Can this be proved by induction?
The base step $n=3$ is proved: $\frac {27}{e^2} < 6 < \frac{256}{e^3}$ (since $e^2 > 5$ and $e^3 < 27$, respectively).
I can assume the case for $n=k$ is true: $\frac{k^k}{e^{k-1}}<k!<\frac{(k+1)^{k+1}}{e^{k}}$.
For $n=k+1$, I am having trouble:
\begin{align} (k+1)!&=(k+1)k!\\&>(k+1)\frac{k^k}{e^{k-1}}\\&=e(k+1)\frac{k^k}{e^{k}} \end{align} Now, by graphing on a calculator, I found it true that $ek^k >(k+1)^k$ (which would complete the proof for the left inequality), but is there some way to prove this relation?
And for the other side of the inequality, I am also having some trouble: \begin{align} (k+1)!&=(k+1)k!\\&<(k+1)\frac{(k+1)^{k+1}}{e^{k}}\\&=\frac{(k+1)^{k+2}}{e^k}\\&<\frac{(k+2)^{k+2}}{e^k}. \end{align} I can't seem to obtain the $e^{k+1}$ in the denominator, needed to complete the induction proof.
Let's try an inductive proof from the original inquality for $n$, let's prove for $n+1$
$$ \frac{n^n}{e^{n-1}}<n!<\frac{(n+1)^{n+1}}{e^{n}} $$
Okay, multiply both sides by $n+1$. At least the middle is correct
$$ (n+1)\frac{n^n}{e^{n-1}}<(n+1)!<\frac{(n+1)^{n+2}}{e^{n}} $$
and we have to make the left and right sides look more appropriate
$$ \left(\color{red}{\frac{n}{n+1}} \right)^\color{red}{n}\frac{(n+1)^{n+1}}{e^{n-1}}<(n+1)!<\frac{(n+2)^{n+2}}{e^{n}} \left(\color{blue}{\frac{n+1}{n+2}}\right)^{\color{blue}{n+2}} $$
Our induction is complete if we can prove two more inequalities:
$$ \frac{1}{e} < \left(\frac{n}{n+1} \right)^n \text{ and } \left(\frac{n+1}{n+2}\right)^{n+2}< \frac{1}{e}$$
These two inequalities can be combined into one and we can take reciprocals. At least it is well-known.
$$ \bigg(1 + \frac{1}{m}\bigg)^{m+1}> \mathbf{e} > \bigg(1 + \frac{1}{n} \bigg)^n $$
This is true for any $m, n \in \mathbb{N}$.
You shave off a little bit too much when you said $(k+1)^{k+2} < (k+2)^{k+2}$. Instead, you needed the more delicate:
$$ (k+1)^{k+2} < \frac{1}{e} (k+2)^{k+2} $$