LCM for 3, 6 and 21

"Least Common Multiple of 3 Numbers" Calculator
Least Common Multiple of
,
and

What's the Least Common Multiple (LCM) of 3, 6 and 21?

Answer

LCM of 3, 6 and 21 is
42

(Forty-two)

42 is the smallest positive integer that 3, 6 and 21 all divide without a remainder — every other common multiple of the three is a multiple of it.

Finding the LCM of 3, 6 and 21 by Prime Factorization

Split all three numbers into prime factors, then take every prime that shows up in at least one of them, each raised to the highest power it reaches there. Multiplying those highest powers gives the least common multiple:

All Prime Factors of 3: 3 (exponent form: 3)

All Prime Factors of 6: 2 × 3 (exponent form: 2 × 3)

All Prime Factors of 21: 3 × 7 (exponent form: 3 × 7)

Prime factor3621Highest power
222
33333
777

LCM = 2 × 3 × 7 = 42

Checking the LCM of 3, 6 and 21 Two Numbers at a Time

The least common multiple is associative, so three numbers can be handled as two pairs: first the LCM of the first two, then the LCM of that value and the third. Each pair goes through the two-number formula, which uses the greatest common divisor:

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

LCM(3, 6) = (3 × 6) ÷ 3 = 18 ÷ 3 = 6

LCM(6, 21) = (6 × 21) ÷ 3 = 126 ÷ 3 = 42

LCM(3, 6, 21) = 42

The pairs may be taken in any order — 6 and 21 first, then 3 — and the answer is the same 42. That is exactly why the two routes on this page agree.

See Also

About "Least Common Multiple of 3 Numbers" Calculator

This calculator finds the Least Common Multiple (LCM) of three numbers at once, without doing it in two passes. For example, it can help you find out what's the Least Common Multiple (LCM) of 3, 6 and 21? (The answer is: 42). Enter the first number (e.g. '3'), the second (e.g. '6') and the third (e.g. '21'), then hit the 'Calculate' button.
The Least Common Multiple of three numbers is the smallest positive integer that all three of them divide without a remainder
"Least Common Multiple of 3 Numbers" Calculator
Least Common Multiple of
,
and

LCM Table

Number 1Number 2Number 3LCM
3666
36742
36824
36918
361030
361166
361212
361378
361442
361530
361648
3617102
361818
3619114
362060
362142
362266
3623138
362424
3625150
362678
362754
362884
3629174
363030
3631186
363296
363366
3634102
3635210

FAQ

What's the Least Common Multiple (LCM) of 3, 6 and 21?

LCM of 3, 6 and 21 is 42

How to find the LCM of 3, 6 and 21 by prime factorization?

Take every prime that appears in 3, 6 and 21 to the highest power it reaches in any one of them and multiply: 2 × 3 × 7 = 42.

Can you get the LCM of 3, 6 and 21 two numbers at a time?

Yes, and it is the check this page prints. The LCM of 3 and 6 is 6, and the LCM of 6 and 21 is 42 — the same answer, because the least common multiple is associative and does not depend on the order of the three numbers.

Is 42 divisible by 3, 6 and 21?

Yes, and by definition it is the smallest positive integer that is: 42 ÷ 3, 42 ÷ 6 and 42 ÷ 21 all come out whole. Any other common multiple of 3, 6 and 21 is a multiple of 42.