Project Euler 007

10001st Prime

By listing the first six prime numbers: 2, 3, 5, 7, 11 and 13, we can see that the 6th prime is 13.

Find the 10001st Prime Number as well as the nth Prime Number.