GaussInt[GIprime] - primality test
|
Calling Sequence
|
|
GIprime(z)
|
|
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
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|