Factors Command
- Factors( <Polynomial> )
-
Gives a list of lists of the type {factor, exponent} such that the product of all these factors raised to the power of the corresponding exponents equals the given polynomial. The factors are sorted by degree in ascending order.
Factors(x^8 - 1)
yields {{x - 1, 1}, {x + 1, 1}, {x^2 + 1, 1}, {x^4 + 1, 1}}.
Not all of the factors are irreducible over the reals. |
- Factors( <Number> )
-
Gives matrix of the type (prime1exponent1prime2exponent2prime3exponent3) such that the product of all these primes raised to the power of the corresponding exponents equals the given number. The primes are sorted in ascending order.
-
Factors(1024)
yields ( 2 10 ), since 1024=210. -
Factors(42)
yields (213171), since 42=21・31・71.
See also PrimeFactors Command and Factor Command. |
In the |
Factors(a^8 - 1)
yields (a−11a+11a2+11a4+11).