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

  1. ama\mid m and bmb\mid m;
  2. if ana\mid n and bnb\mid n, then mnm\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 aRa\in R, an lcm of aa and 00 is 00.