lcm
Least common multiple.
Syntax
Section titled “Syntax”v = lcm(number1, number2, ...)Description
Section titled “Description”Returns the smallest positive integer that is a multiple of every argument.
Examples
Section titled “Examples”lcm(5, 2) % 10lcm(24, 36, 50) % 1800