The lcm command finds the least common multiple (LCM) of a set of integers or polynomials. (See also Section 11.2.7 for polynomials.)
lcm(18,15) |
|
lcm(-5-12*i,11-10*i) |
|
lcm(18,15,21,36) |
|
lcm([18,15,21,36]) |
|
lcm([6,10,12],[21,5,8]) |
or:
lcm([[6,10,12],[21,5,8]]) |
|