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 ?

1 | initial version |

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 ?

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

.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.