$$\sum_{n=1}^\infty \left(1+\frac{1}{n}\right)^{n^2}\left(\frac{1}{e}\right)^n$$
With the Root Test I get: $e\times \frac{1}{e}=1$, which doesn't determine whether it converges or not.
With the Ratio Test I have to compute:
$$\lim_{n\to \infty}\left|\frac{\left(1+\frac{1}{n+1}\right)^{{(n+1)}^2}\left(\frac{1}{e}\right)^{n+1}}{\left(1+\frac{1}{n}\right)^{n^2}\left(\frac{1}{e}\right)^n}\right|=\lim_{n\to \infty}\left(1+\frac{1}{n}\right)^{2n+1}\left(\frac{1}{e}\right)$$ \begin{align} \lim_{n\to \infty}\left(1+\frac{1}{n}\right)^{2n+1}&=\exp\lim_{n\to \infty}\left(1+\frac{1}{n}-1\right)(2n+1)\\ &=\exp\lim_{n\to\infty}2+\frac{1}{n}\\ &=\exp2=e^2 \end{align}
$e^2\times \frac{1}{e}=e>1$, so it diverges
Is this correct? Im kinda new to this concept so I need a little help.
You limit computations are not exactly correct even though they give the final good answer. However to exactly compute the limit:
\begin{align} \lim_{n\to \infty} \left(1 + \frac1n\right)^{2n+1} &= \lim_{n\to \infty} \left(\left(1 + \frac1n\right)^n\right)^{2}\left(1+\frac1n\right) = e^2\times 1 = e^2 \end{align}