Largest Nth Power - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Number Theory : Largest Nth Power

NumberTheory

  

LargestNthPower

  

largest integer power divisor of a number

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

LargestNthPower(m, n)

Parameters

m

-

integer

n

-

positive integer

Description

• 

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.

Examples

withNumberTheory:

LargestNthPowerm2,1

m2

(1)

LargestNthPower1,expk

1

(2)

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

(3)

ifactor90

2325

(4)

Compatibility

• 

The NumberTheory[LargestNthPower] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

NumberTheory