Problem #7: 10001st prime (reduce type size)