Mod Extended GCD - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Number Theory : Mod Extended GCD

NumberTheory

  

ModExtendedGCD

  

solutions to the modulo n extended GCD problem

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

ModExtendedGCD(n, a, b)

Parameters

n

-

positive integer

a

-

integer

b

-

sequence of integers

Description

• 

The ModExtendedGCD function computes the solution to the modulo  extended greatest common divisor problem.

• 

If b is a sequence of length , then the return value is a list  of length  of non-negative integers such that  and  is lexicographically minimal.

Examples

(1)

(2)

(3)

References

  

Arne Storjohann. A solution to the extended GCD problem with applications. Proceedings of the 1997 International Symposium on Symbolic and Algebraic Computation (ISSAC '97), ACM Press, 1997.

Compatibility

• 

The NumberTheory[ModExtendedGCD] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

NumberTheory

 


Download Help Document