Common Multiples Generator
List the first N shared positive multiples of any supplied set of numbers.
Common Multiples Generator Inputs
Step-by-Step Explanation
How Common Multiples Generator Works?
The Common Multiples Generator works by computing the set LCM once, then multiplying it by 1, 2, 3 and upward to produce as many shared multiples as requested.
The numbers 4 and 6 give an LCM of 12.
A count of 10 asks for ten shared multiples.
12 × 1 through 12 × 10 produces 12 up to 120.
Values appear in ascending order, with no common multiple skipped.
Common Multiples Generator Formula
The Common Multiples Generator lists k × LCM for k from 1 to the requested count, because every common multiple is a multiple of the LCM.
Formula Terms
- k
- Position index, starting at 1.
- LCM
- Least common multiple of the input set.
- Completeness
- No value between k × LCM and (k+1) × LCM is a common multiple.
Worked Example
- 1Input: 4 and 6, count 10.
- 2LCM(4, 6) = 12.
- 3k = 1 gives 12, k = 2 gives 24.
- 4k = 10 gives 120.
- 5Generated list: 12, 24, 36, 48, 60, 72, 84, 96, 108, 120.
Common Multiples Generator Conversion Table
The table below converts 7 number sets into their LCM and first 5 common multiples.
| Numbers | LCM | First 5 common multiples |
|---|---|---|
| 4, 6 | 12 | 12, 24, 36, 48, 60 |
| 3, 5 | 15 | 15, 30, 45, 60, 75 |
| 6, 8 | 24 | 24, 48, 72, 96, 120 |
| 10, 15 | 30 | 30, 60, 90, 120, 150 |
| 9, 12 | 36 | 36, 72, 108, 144, 180 |
| 5, 11 | 55 | 55, 110, 165, 220, 275 |
| 2, 3, 4 | 12 | 12, 24, 36, 48, 60 |
Two different sets can share one generated list, since 2, 3, 4 and the pair 4, 6 both carry the LCM 12.
What is Common Multiples Generator?
The Common Multiples Generator is a list builder that returns the first N positive values divisible by every number in a set.
The generated list is an arithmetic sequence with first term and common difference both equal to the LCM. For 4 and 6 the list steps by 12 every time.
Generating 100 terms needs one LCM computation and 100 multiplications, so the cost grows with the requested count rather than with the size of the inputs.
What are the uses of Common Multiples Generator?
The Common Multiples Generator has 4 main uses.
- Building worksheet answer lists
Ten shared multiples of 4 and 6 print in one row.
- Planning repeated coincidences
Events aligning every 30 minutes recur at 30, 60, 90 and 120 minutes.
- Showing the step pattern
A constant gap of 12 makes the arithmetic structure visible.
- Picking a convenient multiple
A list of candidates allows a value fitting an external limit to be chosen.