原题目:
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?
a=1;
b=0;
i=1;
n=0;
while i
a=a+1;
b=double(isprime(a));
n=n+b;
if n==10001
i=0;
end
end
a
最后输出结果是104743