Suppose $\lim_{n \to \infty} n^{\frac{1}{n}} = l \in \mathbb{R}$. The function $f(x) = x^n$ is continuous, then
$$l^n=\left (\lim_{n \to \infty} n^{\frac{1}{n}} \right)^n=\lim_{n \to \infty} \left ( \left (n^{\frac{1}{n}} \right)^n \right ) =\lim_{n \to \infty} n = \infty.$$
Then it follows that $l = \infty $. This is false, but I couldn't find which step is wrong. Could you please help me? Thank you for your time.