numtheory/nthpow(deprecated) - Help

numtheory

 nthpow
 find the largest nth power in a number

 Calling Sequence nthpow(m, n)

Parameters

 m - non-zero integer n - natural number

Description

 • Important: The numtheory[nthpow] command has been deprecated.  Use the superseding command NumberTheory[LargestNthPower] instead.
 • The function nthpow will return ${b}^{n}$ where b is the greatest natural number such that ${b}^{n}$ divides m.
 • The command with(numtheory,nthpow) allows the use of the abbreviated form of this command.

Examples

 > $\mathrm{with}\left(\mathrm{numtheory}\right):$
 > $\mathrm{nthpow}\left(4,2\right)$
 ${{}\left({2}\right)}^{{2}}$ (1)
 > $\mathrm{nthpow}\left(250,3\right)$
 ${{}\left({5}\right)}^{{3}}$ (2)