WOLFRAM|DEMONSTRATIONS PROJECT

Least Common Multiple and Greatest Common Divisor

​
number 1, number 2
number 1
number 2
product
LCM
GCD
1
1
1
1
1
The least common multiple (LCM) of two integers is the smallest positive integer that is a multiple of both. The greatest common divisor (GCD) of two integers is the largest positive integer dividing both. The product of the two numbers is the product of the LCM and the GCD.​