[sage-support] Re: Polynomial factorization over modular ring

2017-08-15 Thread Ralf Stephan
On Tuesday, August 15, 2017 at 4:21:03 PM UTC+2, chandra chowdhury wrote: > > x = var('x') > factor(x^5-x, IntegerModRing(25)['x']) > Look at the output of `factor??`. A ring argument is not supported. So you have to create the ring first (var gives you only the symbolic ring). Then create the

Re: [sage-support] Re: Sage Crash Report

2017-08-15 Thread William Stein
On Tue, Aug 15, 2017 at 7:47 PM John H Palmieri wrote: > One of the very last lines of the report says > >> >> ImportError: libgfortran.so.3: cannot open shared object file: No such file >> or directory >> >> > You need to install gfortran on your computer. > We should

[sage-support] Re: Sage Crash Report

2017-08-15 Thread John H Palmieri
One of the very last lines of the report says > > ImportError: libgfortran.so.3: cannot open shared object file: No such file > or directory > > You need to install gfortran on your computer. On Tuesday, August 15, 2017 at 6:15:01 PM UTC-7, kats...@gmail.com wrote: > > Sage Crash Report > --

[sage-support] Sage Crash Report

2017-08-15 Thread katsu95i
Sage Crash Report -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to

Re: [sage-support] Re: Polynomial factorization over modular ring

2017-08-15 Thread John Cremona
On 15 August 2017 at 18:42, Nils Bruin wrote: > On Tuesday, August 15, 2017 at 7:21:03 AM UTC-7, chandra chowdhury wrote: >> >> Is it possible to factor polynomials completely over modular ring? >> >> Like >> x = var('x') >> factor(x^5-x, IntegerModRing(25)['x']) >> gives >> >>

[sage-support] Re: Polynomial factorization over modular ring

2017-08-15 Thread Nils Bruin
On Tuesday, August 15, 2017 at 7:21:03 AM UTC-7, chandra chowdhury wrote: > > Is it possible to factor polynomials completely over modular ring? > > Like > x = var('x') > factor(x^5-x, IntegerModRing(25)['x']) > gives > > (x-1)*(x+1)*(x^2+1)*x > The second argument is simply ignored here, by

[sage-support] Polynomial factorization over modular ring

2017-08-15 Thread chandra chowdhury
Is it possible to factor polynomials completely over modular ring? Like x = var('x') factor(x^5-x, IntegerModRing(25)['x']) gives (x-1)*(x+1)*(x^2+1)*x but the actual factorization is x*(x-1)*(x+1)*(x-7)*(x+7) -- You received this message because you are subscribed to the Google Groups