gcd
gcd(a, b)
gcd(a, b, c, ...)
Compute the greatest common divisor.
Try it yourself:
$1 | gcd(8, 12)
| |
$2 | gcd(-4, 6)
| |
$3 | gcd(25, 15, -10)
|
Compute the greatest common divisor.
Try it yourself:
$1 | gcd(8, 12)
| |
$2 | gcd(-4, 6)
| |
$3 | gcd(25, 15, -10)
|