The procedure I am about to write is wrong, and I know why it is wrong yet it was the only one I could think of, so I will put it up anyway $$\lim_{n\to \infty} \frac{e^n}{\left(1+\frac 1n\right)^{n^2}}$$
For the denominator $$\begin{aligned}\lim_{n\to \infty} \left(1+\frac 1n\right)^{n^2} &=e^{\lim_{n\to \infty} (1+\frac 1n-1)n^2} \\ &=e^{\lim_{n\to \infty} n}\end{aligned}$$
And the same for the numerator, so their division should give $1$
As I said, I know this is wrong. The correct answer is $\sqrt e$. What is the right process?