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

Online Help

Home : Support : Online Help : type/primepower

type/primepower

check for a rational prime power

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

type( expr, primepower )

Parameters

expr

-

any Maple expression

Description

• 

The type( expr, 'primepower' ) command returns true if expr is of type primepower, and false otherwise.

• 

An expression is of type primepower if it is a positive integer of the form p^k, for some prime number p and some non-negative integer k.

• 

Note that the number  is a prime power, as is each prime number.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

Compatibility

• 

The type/primepower command was updated in Maple 2020.

See Also

integer

iperfpow

type

type/prime

 


Download Help Document