ExtendedGCD
ExtendedGCD[n1,n2,…]
gives the extended greatest common divisor of the integers ni.
Details
- Integer mathematical function, suitable for both symbolic and numerical manipulation.
- ExtendedGCD[n1,n2,…] returns a list where g is GCD[n1,n2,…] and .
- ExtendedGCD automatically threads over lists.
Examples
open allclose allBasic Examples (2)
Scope (1)
ExtendedGCD threads element-wise over lists:
Properties & Relations (1)
The first element of ExtendedGCD is the GCD:
Neat Examples (1)
Wolfram Research (1988), ExtendedGCD, Wolfram Language function, https://reference.wolfram.com/language/ref/ExtendedGCD.html (updated 2003).
Text
Wolfram Research (1988), ExtendedGCD, Wolfram Language function, https://reference.wolfram.com/language/ref/ExtendedGCD.html (updated 2003).
CMS
Wolfram Language. 1988. "ExtendedGCD." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/ExtendedGCD.html.
APA
Wolfram Language. (1988). ExtendedGCD. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExtendedGCD.html