Common Multiple Checker
Check whether a test value is evenly divisible by every supplied number in a set.
Common Multiple Checker Inputs
Step-by-Step Explanation
How Common Multiple Checker Works?
The Common Multiple Checker works by dividing one test value by every number in a divisor set and reporting the remainder of each division.
A single candidate such as 180 enters the first field.
The second field accepts a comma-separated set such as 12, 15, 20.
Each division records a quotient and a remainder, so 180 ÷ 12 stores 15 and 0.
A remainder of 0 passes, and a single non-zero remainder disqualifies the test value.
Common Multiple Checker Formula
The Common Multiple Checker tests the condition v mod nᵢ = 0 for every divisor in the set.
Formula Terms
- v
- Test value under examination.
- nᵢ
- Each divisor in the supplied set.
- mod
- Remainder operator, which must return 0 for every divisor.
Worked Example
- 1Input: test value 180, divisors 12, 15, 20.
- 2180 ÷ 12 = 15 remainder 0.
- 3180 ÷ 15 = 12 remainder 0.
- 4180 ÷ 20 = 9 remainder 0.
- 5All three remainders are 0, so 180 is a common multiple of the set.
Common Multiple Checker Conversion Table
The table below converts 7 test values into their per-divisor verdict.
| Test value | Divisor set | Failing divisors | Verdict |
|---|---|---|---|
| 180 | 12, 15, 20 | none | common multiple |
| 100 | 12, 15, 20 | 12, 15 | not a common multiple |
| 60 | 4, 6 | none | common multiple |
| 50 | 4, 6 | 4, 6 | not a common multiple |
| 2520 | 1 through 10 | none | common multiple |
| 72 | 12, 18 | none | common multiple |
| 84 | 12, 15 | 15 | not a common multiple |
One failing divisor is enough, as the value 84 shows by passing 12 and failing 15.
What is Common Multiple Checker?
The Common Multiple Checker is a divisibility tester that confirms whether one value is divisible by every number in a set.
Checking differs from calculating. The checker never searches for the least common multiple; it answers one yes-or-no question about the value supplied, and it names the divisors that failed.
Every common multiple of a set is a multiple of that set LCM. The value 180 passes the set 12, 15, 20 because 180 = 3 × 60, and 60 is the LCM of those three numbers.
What are the uses of Common Multiple Checker?
The Common Multiple Checker has 5 main uses.
- Marking student answers
A submitted value is checked against every divisor in one pass.
- Validating batch sizes
A shipment of 180 units splits evenly into groups of 12, 15 or 20.
- Testing calendar cycles
A day count divisible by 7, 14 and 28 lands on the same weekday in all three cycles.
- Debugging loop intervals
A tick count divisible by every interval marks a simultaneous event.
- Isolating the failing divisor
The report names 15 as the single failure for the value 84.