Re: Prime numbers



There is a correctly calculated list of the prime number under 1,000,000 on my website.

Calculate the prime numbers.
http://dreamfrequency.com/primes.html

Test a number for primality.
http://dreamfrequency.com/prime.html

Calculate the factors of a number.
http://dreamfrequency.com/factors.html

The Perl scripts are available as freeware from my website:
http://dreamfrequency.com

Jerome K Maule McKean
Dream Frequency .com
http://dreamfrequency.com



On 11/04/2005 16:11, robin wrote:
Some of these numbers are not prime mumbers,
and - as others have pointed out - there are primes that are missing.

e.g., 81, 93, 141, 171, 189 etc are divisible by 3.


.



Relevant Pages

  • Re: Tests a number for primality
    ... > The attached Perl script of mine tests a number for primality. ... > Jerome K Maule McKean ... Even numbers will be detected in the very first run of the loop, ...
    (comp.lang.perl.moderated)
  • Re: Tests a number for primality
    ... Though I didn't do any real in-depth testing, try comparing the time it ... > The attached Perl script of mine tests a number for primality. ... > Jerome K Maule McKean ... > sub Prime { ...
    (comp.lang.perl.moderated)
  • Tests a number for primality
    ... Dream Frequency .com ... #Tests a number for primality ... chomp; ...
    (comp.lang.perl.moderated)

Quantcast