NumberTheory
PrimeFactors
prime factors of an integer
Calling Sequence
Parameters
Description
Examples
Compatibility
PrimeFactors(n)
n
-
integer
The PrimeFactors(n) command computes the prime factors of the integer n.
Every prime number divides 0 evenly, but one cannot represent the set of all prime numbers as an enumerated set. Therefore, PrimeFactors(0) returns an error.
Error, (in NumberTheory:-PrimeFactors) cannot represent all prime factors of 0
The NumberTheory[PrimeFactors] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
ifactor
NumberTheory[NumberOfPrimeFactors]
Download Help Document