in reply to The sieve of Xuedong Luo (Algorithm3) for generating prime numbers

Dana added sum_primes and print_primes in the Math::Prime::Util v.0.51 release.

The OP post was updated with results taken from v0.51 for the primeutil.pl example.

Thank you Dana for Math::Prime::Util.

Kind regards, Mario

  • Comment on Re: The sieve of Xuedong Luo (Algorithm3) for generating prime numbers