lcm2
Lcm2 is a term used in mathematics and computing to denote the least common multiple of two integers. In many contexts it appears as a two-argument function named lcm2, distinguishing it from variants that compute the LCM of three or more numbers.
Definition and properties: For integers a and b, the least common multiple is lcm(a,b) = |a*b| / gcd(a,b).
Computing: In software libraries, lcm2 often implements the two-argument case using the gcd via Euclid's algorithm.
Usage and disambiguation: The term lcm2 is not universally standardized and may appear in different programming
See also: Least common multiple; Greatest common divisor; Euclidean algorithm; LCM (general).