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.
with⁡NumberTheory:
LargestNthPower⁡m2,1
m2
LargestNthPower⁡−1,exp⁡k
1
LargestNthPower⁡0,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.
LargestNthPower⁡22⁢34⁢53,2
90
ifactor⁡90
2⁢32⁢5
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