Question Number
10
Project Euler Question

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

Solution Found
True

File Status: Solution File found. Code from the function code_solution_10 will be used

Solution: 142913828922

Solution Code:

      <?php

  function code_solution_10() {
    $prime_list = get_primes_upto_n(2000000);

    return array_sum($prime_list);
  }