• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Basic Mathematics
  • ⌕
Least Common Multiple (LCM): Methods and Worked Examples

Least Common Multiple (LCM): Methods and Worked Examples

Written by Jean Carlos Novaes

The least common multiple of two or more positive integers is the smallest positive number divisible by every one of them. It answers questions about the first shared repetition: a common denominator for fractions, the next time repeating events coincide, or the smallest quantity that can be arranged in several equal group sizes.

lcm(a,b)=mink>0{k:a∣k∧b∣k}

Listing multiples reveals what “common” means

For 18 and 24, the multiples of 18 begin 18, 36, 54, 72, while the multiples of 24 begin 24, 48, 72. The first positive value in both lists is 72, so LCM(18,24)=72. Listing works well for small numbers but becomes inefficient when the first common multiple is large.

Compare two sequences of multiples

Move either value and locate the first positive multiple shared by both sequences.

Prime factorization keeps every necessary power

Factor each number into primes. The LCM contains every prime that appears, raised to the greatest exponent found in any factorization. Since 18 is two times three squared and 24 is two cubed times three, the LCM uses two cubed and three squared, giving 72.

18=2×32
24=23×3
lcm(18,24)=23×32=72

This “greatest exponent” rule differs from the greatest common divisor, which retains only primes common to all numbers and uses their smallest exponents.

A fast route through the greatest common divisor

For positive integers, the product of the GCD and LCM equals the product of the two numbers. Once the GCD is known, divide before multiplying when possible to keep intermediate values smaller.

gcd(a,b)×lcm(a,b)=|ab|

For 18 and 24, the GCD is 6. Therefore the LCM is 18 times 24 divided by 6, again 72. The relation is for two positive integers; when more numbers are involved, apply LCM successively.

Why fractions and schedules need the LCM

To add fractions with denominators 12 and 18, the least common denominator is LCM(12,18)=36. Each fraction is rewritten with denominator 36 before the numerators are combined.

512+718
lcm(12,18)=36
1536+1436=2936

In a schedule problem, if one signal repeats every 12 minutes and another every 18 minutes, they repeat together every 36 minutes, assuming both start together and their periods stay constant. If the starting times differ, the LCM alone is not enough; the phase or offset must also be considered. Zero and negative inputs require a stated convention, so elementary LCM problems normally use positive integers.

Working with the smallest positive shared multiple and the prime powers required by every input

Before calculating, identify the smallest positive shared multiple and the prime powers required by every input. Write the known values with their units or dimensions and state what the result must represent. This prevents a correct-looking operation from answering the wrong question.

A frequent failure is choosing a common multiple that is not the least one or using the GCD instead. To avoid it, keep each transformation on its own line, preserve exact values during intermediate steps, and explain why every factor, exponent, or sign is permitted. If two methods are available, use the second as a check rather than as unexplained repetition.

A reliable check using division by every input and agreement between listing, factorization, and the GCD relation

  • Start with the smallest positive shared multiple and the prime powers required by every input; it determines what the answer must represent.
  • Rule out choosing a common multiple that is not the least one or using the GCD instead before rounding.
  • Use division by every input and agreement between listing, factorization, and the GCD relation as an independent check, not as a repetition of the same calculation.
  • Read the result in the context of common denominators, repeating schedules, packaging, and synchronized cycles, keeping only the precision supported by the data.

This procedure is useful in common denominators, repeating schedules, packaging, and synchronized cycles. The same formula may produce a numerical answer in each setting, but interpretation still depends on what was measured, which assumptions were made, and how much precision the data supports. A calculator or interactive diagram can reveal patterns, but it does not replace the compatibility, domain, and reasonableness checks.

References

  • OpenStax. Prealgebra 2e: Prime Factorization and the Least Common Multiple.

Related content

  • Greatest Common Divisor (GCD): Methods and Examples
  • Multiplying Fractions: Rules, Simplification, and Examples
Jean Carlos Novaes

About Jean Carlos Novaes

I hold a degree in Computer Science from the Federal University of Bahia (2017) and I am the editor and founder of this website.

Footer

Basic Mathematics

Basic Mathematics website with clear school content for elementary and high school students. Learn easily and efficiently!

ABOUT

  • About Us
  • Contact
  • Site Map

LEGAL

  • How to Cite
  • Cookie Policy
  • Privacy Policy
  • Content License
English
  • Portuguese (Português)
  • Portuguese (Portugal)
  • English
  • Spanish (Español)
  • German (Deutsch)
  • French (Français)
  • Italian (Italiano)
  • Polish (Polski)
  • Dutch (Nederlands)
  • Swedish (Svenska)
  • Danish (Dansk)
  • Finnish (Suomi)
  • Norwegian (Norsk)

© 2015–2026 · Basic Mathematics · All rights reserved.