nerdamer.lcm(x: ExpressionInput, y: ExpressionInput): Expression
Returns the least common multiple of two expressions.
Numeric inputs reuse exact Rational arithmetic. Polynomial expressions use
the polynomial GCD so shared symbolic factors are retained.
Returns
Expression — Zero when either operand is zero; otherwise a non-negative numeric LCM or
the symbolic product divided by gcd.