randRange( 1, 10 ) randRange( 1, 10 ) randRange( 1, 5 ) A_START * FACTOR B_START * FACTOR getGCD( A, B ) toSentence(getFactors( A )) toSentence(getFactors( B ))

What is the greatest common divisor of A and B?

Another way to say this is:

\gcd(A, B) = {?}

GCD

The greatest common divisor is the largest number that is a factor (or divisor) of both A and B.

The only factor (divisor) of 1 is 1.

The factors (divisors) of A are A_FACTORS.

The only factor (divisor) of 1 is 1.

The factors (divisors) of B are B_FACTORS.

Thus, the greatest common divisor of A and B is GCD.

\gcd(A, B) = GCD