<s>[INST] Compute $\lim\limits_{n\to\infty} \left(1+\frac{1}{n}\right)\left(1+\frac{2}{n}\right)^{{1}/{2}}\cdots\left(1+\frac{n}{n}\right)^{{1}/{n}}$ Compute the limit:
$$\lim_{n\to\infty} \left(1+\frac{1}{n}\right)\left(1+\frac{2}{n}\right)^{\frac{1}{2}}\cdots\left(1+\frac{n}{n}\right)^{\frac{1}{n}}$$
 [/INST] We want to calculate $$\lim_{n \to \infty} \prod_{1 \leqslant k \leqslant n} \left(1 + \frac {k} {n}\right)^{\frac {1} {k}}.$$ Denote it by $\ell$. Taking logarithms we have
$$\begin {eqnarray}
\log \ell & = & \lim_{n \to \infty} \sum_{1 \leqslant k \leqslant n} \frac {1} {k} \log \left(1 + \frac {k} {n}\right) \nonumber \\
& = & \lim_{n \to \infty} \sum_{1 \leqslant k \leqslant n} \frac {1} {k} \sum_{m \geqslant 1} (-1)^{m + 1} \frac {k^m} {m n^m} \nonumber \\
& = & \lim_{n \to \infty} \sum_{1 \leqslant k \leqslant n} \sum_{m \geqslant 1} (-1)^{m + 1} \frac {k^{m - 1}} {m n^m} \nonumber \\
& = & \lim_{n \to \infty} \sum_{m \geqslant 1} \sum_{1 \leqslant k \leqslant n} (-1)^{m + 1} \frac {k^{m - 1}} {m n^m} \nonumber \\
& = & \lim_{n \to \infty} \sum_{m \geqslant 1} \left(\frac {(-1)^{m + 1}} {m^2} + O \left(\frac {1} {n}\right) \right) \nonumber \\
& = & \sum_{m \geqslant 1} \frac {(-1)^{m + 1}} {m^2} \nonumber \\
& = & \frac {\pi^2} {12}.
\end {eqnarray}$$
Hence, $\ell = \exp \left(\frac {\pi^2} {12}\right)$.
Note that in step 2 we changed $\log \left(1 + \frac {k} {n}\right)$ with its Taylor expansion, and in step 5 we used the fact that $\sum_{1 \leqslant k \leqslant n} k^p = \frac {n^{p + 1}} {p + 1} + O (n^p)$ for any non-negative integer $p$.
</s>