Prime number module

SBrunning at SBrunning at
Mon Sep 29 17:00:22 CEST 2003

> From:	Dag [SMTP:dag at]
> 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 any good?

Simon Brunning,

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