|Bill Allombert on Mon, 06 Aug 2012 22:53:14 +0200|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: How to factor integer over Z[i]?|
On Mon, Aug 06, 2012 at 05:40:18PM +0300, Andrew Lelechenko wrote: > I can factor an integer over the ring of integers and I can factor a > Gaussian integer over the ring of Gaussian integers: > > ? factor(25) > %5 = > [5 2] > ? factor(5+I) > time = 0 ms. > %2 = > [ -I 1] > [ 1 + I 1] > [2 + 3*I 1] > > But how should I ask PARI/GP to factor an integer over Gaussian > integers? I tried for example factor(5+0*I), but it doesn't work well. factor(5+0*I) worked in PARI 2.3. Cheers, Bill.