On Tuesday, July 19, 2016 at 8:46:36 PM UTC+2, John Cremona wrote:
>
> On 19 July 2016 at 19:37, saad khalid <saad...@gmail.com <javascript:>> 
> wrote: 
> >  50 
> > 
> > 
> > Why won't it factor it? 
>
> Because your number is in the symbolic ring: 
>
> sage: n = SR(50) 
> sage: factor(n) 
> 50 
>

Yes, and because the symbolic factor() converts the argument to
a polynomial ring element of a ring which doesn't do integer factorisation.
I consider this a bug of the symbolic factor().

https://trac.sagemath.org/ticket/21067

-- 
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 sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to