FactorInteger - Maple Help

Online Help

All Products    Maple    MapleSim

MmaTranslator[Mma]

 FactorInteger
 return a list of prime factors for an integer with its exponents

 Calling Sequence FactorInteger(arguments)

Parameters

 arguments - Maple translation of the Mathematica command arguments

Description

 • The FactorInteger command returns a list of prime factors for a specified integer with its exponents.

Examples

 > $\mathrm{with}\left(\mathrm{MmaTranslator}\left[\mathrm{Mma}\right]\right):$

Use the command with the Maple translation.

 > $\mathrm{FactorInteger}\left(248951\right)$
 $\left[\left[{103}{,}{1}\right]{,}\left[{2417}{,}{1}\right]\right]$ (1)

Alternatively, you can use the FromMma command with the evaluate option specified.

 > $\mathrm{with}\left(\mathrm{MmaTranslator}\right):$
 > $\mathrm{FromMma}\left(\mathrm{FactorInteger\left[248951\right]},\mathrm{evaluate}\right)$
 $\left[\left[{103}{,}{1}\right]{,}\left[{2417}{,}{1}\right]\right]$ (2)

 See Also