Greatest common divisor and least common multiple
Find the greatest common divisor and least common multiple of two integers. See the Euclidean divisions and how the two results are connected.
Calculate the result
Worked example
Problem
Find the greatest common divisor and least common multiple of 48 and 18. Show how the successive divisions are used.
The GCD is 6 and the LCM is 144.
Make successive divisions
Find the least common multiple from the greatest common divisor
The last nonzero divisor is 6.
Common mistake
The GCD divides both numbers. The LCM is a multiple of both. With a zero number, the LCM is 0 by convention.