NumberTheory
LargestNthPower
largest integer power divisor of a number
Calling Sequence
Parameters
Description
Examples
Compatibility
LargestNthPower(m, n)
m
-
integer
n
positive integer
The LargestNthPower(m, n) command computes the greatest positive integer b such that bn divides m.
Every positive integer is a divisor of 0, so there is no greatest positive integer b such that bn divides 0. For this reason, LargestNthPower(0, n) returns an error.
withNumberTheory:
LargestNthPowerm2,1
m2
LargestNthPower−1,expk
1
LargestNthPower0,k
Error, (in NumberTheory:-LargestNthPower) there is no largest integer which, raised to the power k, divides 0
The greatest integer power divisor can be seen from the prime factorization.
LargestNthPower223453,2
90
ifactor90
2325
The NumberTheory[LargestNthPower] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
Download Help Document