Introduction

Welcome back to Finding the Lowest Common Multiple! In the previous lesson, you learned how to generate multiples lists for two or more numbers and pick out the values they share — those common multiples. You now know that any set of whole numbers has infinitely many common multiples, and you can find them reliably with a simple listing technique. In this second lesson, we sharpen our focus: instead of collecting all the common multiples we can see, we will learn to identify the smallest one and understand why it deserves a name of its own.

Why the Smallest Common Multiple Matters

Having infinitely many common multiples is useful to know, but in real life we almost always care about just one of them — the first. Think about two monthly subscriptions that renew on different cycles: the question "When will both renewals first land in the same month?" asks for a single number, not an endless list. That single number is called the Lowest Common Multiple (LCM), and it captures the moment two or more repeating patterns first line up. Learning to find it quickly and confidently is the goal of today's lesson.

Defining the Lowest Common Multiple

The Lowest Common Multiple (LCM) of two or more whole numbers is the smallest positive number that is a multiple of each of those numbers. Equivalently, it is the first value that shows up in every multiples list when we write them in order starting from the number itself.

For example, consider 44 and 66. Their common multiples are 12,24,36,12, 24, 36, \ldots The smallest of these is 1212, so:

The Listing Method Step by Step

Finding the LCM by listing follows the same process you already know for finding common multiples, with one extra focus: stop as soon as you find the first match. Let us walk through an example with 66 and 88.

  1. List multiples of each number in order, extending just far enough until a shared value appears.

    Multiples of 66661212
Applying the Method to Three Numbers

The listing method works the same way with three or more numbers — a value must appear in every list to qualify. Let us find LCM(3,4,6)\text{LCM}(3, 4, 6).

  • Multiples of 33: 3,6,9,12,15,18,3, 6, 9, 12, 15, 18, \ldots
Avoiding a Common Pitfall

One mistake that comes up often is selecting a common multiple that is not the lowest one. For instance, suppose we need LCM(4,6)\text{LCM}(4, 6) and we spot that 2424 is a common multiple. That is true — but 1212 comes first. Always scan from the beginning of the lists, not from the middle.

Here is a quick checklist to guard against this error:

  • Start small. Begin comparing from the earliest multiples, not from a random point in the list.
  • Stop early. The moment you find one match across all lists, that is your LCM — no need to keep searching.
  • Double-check. If you think you have the LCM, confirm that no smaller common multiple was hiding earlier in the lists.

Remember: the L in LCM stands for Lowest. The LCM is the first shared multiple, not just any shared multiple.

LCM in a Real-World Setting

Imagine you water your indoor plants every 55 days and clean the kitchen every 44 days, both starting today. When is the first day both tasks fall on the same day again?

  • Multiples of 44 (kitchen days): 4,8,12,16,20,4, 8, 12, 16, 20, \ldots
Conclusion and Next Steps

In this lesson, you learned that the Lowest Common Multiple is the smallest positive value that appears in every multiples list for the given numbers. The listing method is straightforward: write out multiples in order, find the first overlap across all lists, and verify with division. We also highlighted a key distinction — the LCM is specifically the first shared multiple, not merely any shared multiple.

Now it is time to put this into action! In the upcoming practice tasks, you will complete partial multiples lists, solve household scheduling puzzles, and sharpen your eye for choosing the true LCM over its larger look-alikes. Let's dive in and make this skill second nature.

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal