FactorInt
FactorInt[n]
FactorInt[n] returns the prime factor decomposition of n as a list of primes and a list of powers.
| Example | in | out |
|---|---|---|
The prime factor decomposition of 90. |
FactorInt[ 90 ] |
{ {2,3,5},{1,2,1} } |
The prime factor decomposition of x, where x is defined as 35 in the script. |
FactorInt[x] |
{ {5,7},{1,1} } |