By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10 001st prime number?
highlight below for my solution:
#using a prime number set datastructure - https://gist.github.com/aausch/6709819 p = PrimeSet() i = 10001 while (len(p)<10001): i in p i += i print sorted(list(p))
(see also my solution to problem #5)