Finding the Least Common Multiple of Two Numbers by Factoring

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

You can find the least common multiple (LCM) of two numbers by multiplying together the highest power of each factor found in either number.

Contributed by: Jesse Nochella (March 2011)
Open content licensed under CC BY-NC-SA



A faster way to compute the LCM of two numbers and is , which can take advantage of the efficiency of the Euclidean algorithm.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.