Project Euler
Problem 10: Sumation 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.


I counted up to 2,000,000 doing a primality test on the numbers.

Numbers that were prime were added to a running sum.