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 mod⁢b, and −1 if a is a quadratic non-residue mod⁢b.
The number a is a quadratic residue of b where a and b are coprime if a has a square root mod⁢b, that is, there exists a Gaussian integer c such that c2 is congruent to amodb.
with⁡GaussInt:
GIquadres⁡−1,3+7⁢I
1
GIquadres⁡47364374−48434834⁢I,84734834−3434347⁢I
−1
See Also
GaussInt[GIgcd]
NumberTheory[QuadraticResidue]
Download Help Document