haskell, euler 7. 10001st prime.

very inefficient soln.