Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Number of factors of a polynomial

Given a polynomial f, the command f.factor() gives the factorization of f. I want to find out the number of factors of f. Is there any command for that ?

Number of factors of a polynomial

Given a polynomial f, the command f.factor() gives the factorization of f. I want to find out the number of factors of f. Is there any command for that ?

The polynomial ring is assumed to be ZZ[x].