Because in the symbolic ring 3*(2*x+1) is immediately expanded again. Try 
yourself:

sage: 2*(1+3*x)
6*x + 2

But see also https://trac.sagemath.org/ticket/21067

Regards,

On Thursday, April 6, 2017 at 5:47:28 PM UTC+2, Chris Seberino wrote:
>
> Why factor(6*x+3) doesn't give 3*(2*x+1) ?
>
> Thanks!
>
> cs
>

-- 
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