Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
1426 views

Chapter 3 - Greatest Common Divisor

The command gcd(a,b) computes the greatest common divisor of a and b:

gcd(12,18)
6

The command xgcd(a,b) will compute the extended greatest common divisor of a and b as in Example 3.17:

xgcd(817,615)
(1, -137, 182)