GCD/LCM

Calculate greatest common divisor (GCD) and least common multiple (LCM) of two positive integers.

{{ gcd }}
{{ lcm }}