Let RR be an and let a,b∈Ra,b\in R. A least common multiple of aa and bb is an element m∈Rm\in R such that:

  1. a∣ma\mid m and b∣mb\mid m;
  2. if a∣na\mid n and b∣nb\mid n, then m∣nm\mid n.
Remarks

An lcm is unique up to . In a principal ideal domain or a unique factorization domain, if dd is a of a,ba,b and mm is an lcm, then dmdm is associate to abab.

Examples
  • In Z\mathbb Z, lcm⁡(12,18)=36\operatorname{lcm}(12,18)=36.
  • In k[x]k[x], an lcm of xx and x2x^2 is x2x^2, up to multiplication by a nonzero scalar.
  • For any a∈Ra\in R, an lcm of aa and 00 is 00.