Well, to solve this question, let's find the 10001 Prime numbers and show the last member or the
same 10001th. To find the Prime number, we do not need to divide them by all the numbers, just
divide by the prime numbers smaller than themselves. Reason If a number is not divisible by any
prime, we add it to the list of prime numbers and repeat this until we reach the 10001st prime
number.
خب برای حل این سوال ما بیاید ۱۰۰۰۱ عدد اول را پیدا کنیم و اخرین عضو یا همون ۱۰۰۰۱ امی را نمایش
دهیم برای پیدا کردن عدد اول لازم نیست اون هارو به تمام اعداد تقسیم کنیم فقط کافیه بر اعداد اول
کوچک تر از خودشون تقسیم کنیم به همین دلیل درضورتی که عددی بر هیچ ععد اولی بخش پذیر نبود به لیست
اعداد اول اضافه میکنیمش و این کار را تکرار میکنیم تا به ۱۰۰۰۱ امین عدد اول برسیم.