factor_expression
Factor mathematical expressions or integers into irreducible factors with SageMath's symbolic algebra engine.
Instructions
Factor a mathematical expression or integer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Named workspace to use. Workspaces have independent variables; omit for 'default'. | default |
| expression | Yes | Expression to factor (e.g., 'x^2 - 1' or '60') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||