The least_common_multiple
function takes a set of numbers and
calculates their least common multiple using the prime factorization
method.
least_common_multiple(...)
... | The numbers for which you want the least common multiple. |
---|
A single integer value representing the least common multiple of the set of inputs.
The absolute values of the input is used in calculating the least common multiple.
least_common_multiple(4, 7, 11)#> [1] 308