Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    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

    lcm⁡(a,b)=∣ab∣gcd⁡(a,b)(a,b)≠(0,0)

    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.

    1. Make successive divisions

      48=2⋅18+12,18=1⋅12+6,12=2⋅6
    2. Find the least common multiple from the greatest common divisor

      The last nonzero divisor is 6.

      lcm⁡(48,18)=48⋅186=144
    Ask AI for a step-by-step solution

    Common mistake

    The GCD divides both numbers. The LCM is a multiple of both. With a zero number, the LCM is 0 by convention.