shuffle([2, 3, 5, 7, 11, 13])
randRange( 2, 12 ) randRange( 2, 5 ) PRIMES[0] pow( RADICAL_INT, 2 ) * RADICAL_PRIME

Simplify the following expression:

START_INT\sqrt{RADICAL_TOTAL}.

pow( START_INT, 2 ) * RADICAL_TOTAL

First, try to factor a perfect square out of the radical.

= START_INT\sqrt{RADICAL_TOTAL}

= START_INT\sqrt{pow( RADICAL_INT , 2 ) \cdot RADICAL_PRIME}

Separate the radical and simplify.

= START_INT\sqrt{pow( RADICAL_INT , 2 )} \cdot \sqrt{RADICAL_PRIME}

= START_INT \cdot RADICAL_INT \cdot \sqrt{RADICAL_PRIME}

= START_INT * RADICAL_INT\sqrt{RADICAL_PRIME}

randRange( 2, 12 ) PRIMES[0] * PRIMES[1]

Simplify the following expression:

START_INT\sqrt{RADICAL_TOTAL}.

pow( START_INT, 2 ) * RADICAL_TOTAL

There are no perfect-square factors of RADICAL_TOTAL.

Thus, the expression is already in its most simplified form.

= START_INT\sqrt{RADICAL_TOTAL}