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

Online Help

All Products    Maple    MapleSim


GaussInt

  

GIprime

  

primality test

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GIprime(z)

Parameters

z

-

Gaussian integer

Description

• 

The function GIprime returns true in case z is a Gaussian prime, false otherwise.

• 

A Gaussian prime is a Gaussian integer which is not a unity or zero, and which is divisible only by numbers associated with itself or with 1.

Examples

withGaussInt:

GIprime751

true

(1)

GIprime4+9I

true

(2)

GIprime3+7I

false

(3)

See Also

isprime