lcm6
lcm6 refers to the least common multiple of six integers. It is the six-argument specialization of the general least common multiple (lcm) function. For integers a1, a2, a3, a4, a5, and a6, lcm6(a1, a2, a3, a4, a5, a6) is the smallest positive integer that is a multiple of each ai.
Computation can be done by prime factorization or by iterative application of the binary lcm operation. If
Properties of lcm6 follow from the general lcm. The operation is commutative and associative, so the order
Example: lcm6(8, 12, 9, 5, 7, 14) = 2520, since 2520 is divisible by 8 (2^3), 12 (2^2·3),
Applications include problems requiring a common multiple of six integers, fraction addition with six denominators, and