Ask Your Question

alexana's profile - activity

2022-04-25 14:45:31 +0200 received badge  Famous Question (source)
2018-04-24 21:50:12 +0200 received badge  Popular Question (source)
2018-04-24 21:50:12 +0200 received badge  Notable Question (source)
2012-07-04 10:59:49 +0200 received badge  Supporter (source)
2012-07-04 10:25:29 +0200 asked a question Polynomial: find the common factor

Hello, assuming I have a polynomial like this:

sage: var('y, x')
(y, x)
sage: y = x^2 + 6*x^3 + 3*x^4

When I use collect_common_factors(), I get:

(3*x^2 + 6*x + 1)*x^2

Now, is there a way to know which are the common_factors collected?

In this case, I'm expecting this output:

x^2

Thank you everyone!