# Factor

## Syntax

## Description

#### factor(Polynomial)

Factorizes a polynomial over .

#### factor(Polynomial, Ring | Field)

Factorizes a polynomial over the specified ring or field.

## Options

Option | Description | Format | Default value |
---|---|---|---|

count_multiplicities | We can choose count multiplicities or not. If `false` , multiples roots are treated as different roots and they are displayed in a list | `{count_multiplicities=false}` | `{count_multiplicities=true}` |

multiplicities | We can choose to show or not multiplicities. | `{multiplicities=false}` | `{multiplicities=true}` |