GaussInt - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : Numbers : Integer Functions : Gaussian Integers : GaussInt/GIprime

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

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam