Skip to content

LCM

The least common multiple of the arguments.

WikipediaLeast common multipleMathWorldLeastCommonMultipleWikidataQ102761Encyclopedia of MathematicsLeast_common_multiplenLableast common multipleBritannicatopic/least-common-multipleFungrimLCMFungrim entryWolfram LanguageLCMRosetta CodeLeast common multiple
LCM(a, b, …)least common multiple of two or more integers.

Domain: Number theory

Details
  • Also called the smallest common multiple: the smallest positive integer that is a multiple of every argument.
  • Paired with GCD by .
  • compute-engine discards signs before computing, so .
  • : 0 absorbs, since 0 is a multiple of everything but nothing else divides back into it.
  • compute-engine only accepts integers.

Examples

See also: GCD