Hi, On 23 Feb 2009, at 09:29, Fabian Seoane wrote: > responding to myself, I think 1 should not be considered prime, > since prime numbers are defined for n>=2 (as isprime from > sympy.ntheory correctly says), so Integer(1).is_prime is wrong
One is much more special than a prime :) See: http://primes.utm.edu/notes/faq/one.html So saying that 1.0 or 1 is a prime number is most likely a bug. Regards, Freddie. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---
