LCMReturns the least common multiple of one or more integers.
LCM(value1, [value2, …])
value1 – The first value or range whose factors to consider in a calculation to find the least common multiple.
value2, … – [ OPTIONAL ] – Additional values or ranges whose factors to consider to find the least common multiple.
Any input with a decimal part provided to LCM will be silently truncated.
GCD: Returns the greatest common divisor of one or more integers.