Prime number module

SBrunning at trisystems.co.uk SBrunning at trisystems.co.uk
Mon Sep 29 11:00:22 EDT 2003


> From:	Dag [SMTP:dag at velvet.net]
> Is there a python module that includes functions for working with prime 
> numbers?  I mainly need A function that returns the Nth prime number and 
> that returns how many prime numbers are less than N, but a prime number 
> tester would also be nice.  I'm dealing with numbers in the 10^6-10^8
> range  
> so it would have to fairly efficient
 
http://www.nmt.edu/~shipman/soft/clean/prime.html any good?

Cheers,
Simon Brunning,
http://www.brunningonline.net/simon/blog/
--LongSig





-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.





More information about the Python-list mailing list