Project Euler Problem 10: Summation of Primes

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

Solution

The sum of all primes below 10 is 17

The sum of all primes below 2 million is 142,913,828,922