numtheory(deprecated)/factorset - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : numtheory(deprecated)/factorset

numtheory(deprecated)

 factorset
 prime factors of an integer

 Calling Sequence factorset(n)

Parameters

 n - integer

Description

 • Important: The numtheory package has been deprecated.  Use the superseding command NumberTheory[PrimeFactors] instead.
 • The function factorset will compute the set of prime factors of its integer argument n.
 • The command with(numtheory,factorset) allows the use of the abbreviated form of this command.

Examples

Important: The numtheory package has been deprecated.  Use the superseding command NumberTheory[PrimeFactors] instead.

 > $\mathrm{with}\left(\mathrm{numtheory}\right):$
 > $\mathrm{factorset}\left(10\right)$
 $\left\{{2}{,}{5}\right\}$ (1)
 > $\mathrm{ifactor}\left(96\right)$
 ${\left({2}\right)}^{{5}}{}\left({3}\right)$ (2)
 > $\mathrm{ifactors}\left(96\right)$
 $\left[{1}{,}\left[\left[{2}{,}{5}\right]{,}\left[{3}{,}{1}\right]\right]\right]$ (3)
 > $\mathrm{factorset}\left(96\right)$
 $\left\{{2}{,}{3}\right\}$ (4)

 See Also