[EMAIL PROTECTED] schrieb:
> How about:
> 
> [2]+[x for x in range(1,99) if 2**x%x==2]

If the range goes beyond 340, it also gives non-primes...

-- Christoph
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to