본문 바로가기

problem solving/Project Euler

Problem 10 - Calculate the sum of all the primes below two million.

링크

The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.

Find the sum of all the primes below two million.


python - sieve of Eratosthenes