GaussInt
GIquadres
quadratic residue and non-residue
Calling Sequence
Parameters
Description
Examples
GIquadres(a, b)
a, b
-
Gaussian integers
The function GIquadres returns 1 if a is a quadratic residue modb, and −1 if a is a quadratic non-residue modb.
The number a is a quadratic residue of b where a and b are coprime if a has a square root modb, that is, there exists a Gaussian integer c such that c2 is congruent to amodb.
withGaussInt:
GIquadres−1,3+7I
1
GIquadres47364374−48434834I,84734834−3434347I
−1
See Also
GaussInt[GIgcd]
NumberTheory[QuadraticResidue]
Download Help Document