HowManyNumbers Logo

Least Common Multiple (LCM) of 31 and 138

The least common multiple (LCM) of 31 and 138 is 4278.

What is the Least Common Multiple (LCM)?

The LCM of two integers is the smallest positive integer that is divisible by both numbers. It is often used to find common denominators and solve problems involving periodic events.

Formula for LCM

The LCM of two numbers can be calculated using their GCD:

LCM(a, b) = |a × b| ÷ GCD(a, b)

How to Calculate the LCM of 31 and 138?

First, calculate the GCD of 31 and 138 using the Euclidean algorithm. Then use the formula above to find the LCM.

Step-by-Step GCD Calculation

StepCalculation
1 31 ÷ 138 = 0 remainder 31
2 138 ÷ 31 = 4 remainder 14
3 31 ÷ 14 = 2 remainder 3
4 14 ÷ 3 = 4 remainder 2
5 3 ÷ 2 = 1 remainder 1
6 2 ÷ 1 = 2 remainder 0

Examples of LCM Calculations

NumbersLCM
36 and 853060
56 and 34952
72 and 19313896
120 and 1243720
11 and 1581738

Try Calculating LCM of Other Numbers







Related Calculators