quadratic residue and non-residue - Maple Help

Online Help

All Products    Maple    MapleSim


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

GaussInt[GIquadres] - quadratic residue and non-residue

Calling Sequence

GIquadres(a, b)

Parameters

a, b

-

Gaussian integers

Description

• 

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.

Examples

withGaussInt:

GIquadres1,3+7I

1

(1)

GIquadres4736437448434834I,847348343434347I

1

(2)

See Also

GaussInt[GIgcd], numtheory[quadres]


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