Erik Max Francis wrote: > > jepler at unpythonic.net wrote: > > > [2, 3, 5, 7, 9, ...] > > would generate successive primes. > > Pretty lousy code, since 9 is not prime. :-) No, it just generates some things that are not primes as well. You have to admit, though, it _would_ generate all primes, given enough time... :-)