Factor
Description
The command factor(a) returns the factorization of $a$.
Sage Cell
Code
a = 2600
a.factor()
Options
None
Tags
Primary Tags: number theory
Secondary Tags: prime factorization
Related Cells
- The Modulus Operator
- The Quotient-Remainder Method
- The Divides Method
- The Greatest Common Divisor Command
- The Extended Greatest Common Divisor Command
- The Is-Prime Method
- The Random Prime Command
- The Prime Range Command
- The Next Prime Command
- The Previous Prime Command
Attribute
Permalink: http://abstract.ups.edu/aata/integers-sage.html
Author: R. Beezer
Date: 15 Jul 2017 09:03
Submitted by: Tom Judson