randRange(2, 12) randRangeExclude(2, 12, [A]) max(A, B) min(A, B) A * B getGCD( A, B ) PRODUCT / GCD getMultiples( BIGGER, LCM )

What is the least common multiple of A and B?

Another way to say this is:

\lcm(A, B) = {?}

LCM

The least common multiple is the smallest number that is a multiple of A and B.

We know that A \times B (or PRODUCT) is a common multiple, but is it the least common multiple?

Write out the multiples of BIGGER until we find a number divisible by SMALLER.

M,

So, the least common multiple of A and B is LCM.