Last Updated 04/18/2017

Sage Essentials
Section 1: Numerical Calculations

Doing Exact Arithmetic with Sage

Example 9

Sage has many special purpose commands for working with numbers. You will learn these as you need them in your math course. Here is one last example for now. If we have an integer and want to factor it into primes we can use Sage's factor() command.

Try this! Feel free to experiment by changing the number within the factor() command.


← Previous Example Next Example →