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

Online Help

All Products    Maple    MapleSim


iperfpow

determine if an integer is a perfect power

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

iperfpow( n )

iperfpow( n, 'p' )

Parameters

n

-

expression

p

-

name

Description

• 

If  is a positive integer and , where  and  are positive integers with , then iperfpow( n ) returns r. If the second argument, p, is specified in the calling sequence, then it is assigned the value e.

• 

It is an error for n to evaluate to a numeric which is not a positive integer.

• 

This command returns FAIL if it is not able to establish that n is a perfect power of an integer.

• 

In all other cases, the command returns unevaluated.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

Error, (in iperfpow) first argument must be a positive integer

See Also

integer

iroot

 


Download Help Document