PHP found 41538 primes up to 500000 in 0.38937711715698 seconds.