numtheory/factorset(deprecated) - Help

numtheory

 factorset
 prime factors of an integer

 Calling Sequence factorset(n)

Parameters

 n - integer

Description

 • Important: The numtheory[factorset] command 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

 > $\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)