Using a calculator I can see that the sequence $$ a_n =\left(\frac{1}{n}\right)^{\frac{1}{n}} $$ converges to $1$ as $n$ approaches infinity.
I would like to know the correct way to prove this.
It can also be seen that it approaches $0^0$, is that enough to say that it approaches $1$? As anything to the power $0$ is $1$?
Edit: My logic regarding $0^0$ doesn't work as suggested by @Henning Makholm as the exponential function is not continuous at (0,0)