Remarkable results with psyco and sieve of Eratosthenes

Beliavsky beliavsky at aol.com
Wed Nov 29 23:36:31 CET 2006


Will McGugan wrote:
> Steve Bergman wrote:
> > Just wanted to report a delightful little surprise while experimenting
> > with psyco.
> > The program below performs astonoshingly well with psyco.
> >
> > It finds all the prime numbers < 10,000,000
>
> Actualy, it doesn't. You forgot 1 and 2.

The number 1 is not generally considered to be a prime number -- see
http://mathworld.wolfram.com/PrimeNumber.html .




More information about the Python-list mailing list