[sage-devel] Re: Bug in integer factorization (or primality test)

2014-06-19 Thread Dima Pasechnik
On 2014-06-18, William Stein wrote: > On Jun 18, 2014 2:22 AM, "Dima Pasechnik" wrote: >> >> On 2014-06-18, John Cremona wrote: >> > I noticed an announcement on the flint-dev list which led me to try >> > this, and indeed we have the bug: >> > >> > sage: n=2007193456621 >> > sage: n.is_prime()

Re: [sage-devel] Re: Bug in integer factorization (or primality test)

2014-06-18 Thread William Stein
On Jun 18, 2014 2:22 AM, "Dima Pasechnik" wrote: > > On 2014-06-18, John Cremona wrote: > > I noticed an announcement on the flint-dev list which led me to try > > this, and indeed we have the bug: > > > > sage: n=2007193456621 > > sage: n.is_prime() > > False > > sage: n.factor()

[sage-devel] Re: Bug in integer factorization (or primality test)

2014-06-18 Thread Dima Pasechnik
On 2014-06-18, John Cremona wrote: > I noticed an announcement on the flint-dev list which led me to try > this, and indeed we have the bug: > > sage: n=2007193456621 > sage: n.is_prime() > False > sage: n.factor() # !! > 2007193456621 > sage: pari(n).factor() > [1001797, 1