(random() < 0.75 ? randRange(0, 5) : randRange(6, 10)) * randRangeNonZero(-1, 1) {0: 5, 1: 5, 2: 5, 3: 4, 4: 3, 5: 3, 6: 2, 7: 2, 8: 2, 9: 2, 10: 2}[abs(BASE)] randRange(2, EXP_RANGE) expandExponent(BASE, EXPONENT) "\\dfrac{1}{" + (-BASE) + "^" + EXPONENT + "}"
BASE ? BASE + " \\cdot " + EXPONENT : 1 BASE < -1 ? FAKE_FRACTION : BASE + "+" + EXPONENT BASE ? _(EXPONENT).times(function() { return BASE; }).join("+") : EXPONENT _(abs(BASE)).times(function() { return EXPONENT; }).join(" \\cdot ")

`\Large{(BASE)^{EXPONENT} = {?}}` `\Large{BASE^{EXPONENT} = {?}}`

`EXPANSION[0]`

- `FAKE_SOLUTION1`
- `FAKE_SOLUTION2`
- `FAKE_SOLUTION3`
- `FAKE_SOLUTION4`

The base in this expression is `BASE`.

The exponent in this expression is `EXPONENT`.

This expression means `BASE` multiplied by itself `EXPONENT` times.

`negParens(BASE)^{EXPONENT} = EXPANSION[0]`

negParens(BASE) + "^{" + EXPONENT + "}" pow(EXPONENT, BASE) === pow(BASE, EXPONENT) ? BASE * EXPONENT : EXPONENT + "^{" + BASE + "}" BASE < -1 ? FAKE_FRACTION : EXPONENT + "^{" + EXPONENT + "}" abs(BASE) !== 1 ? negParens(BASE) + "^{" + BASE + "}" : BASE + " + " + BASE "-(" + (-BASE) + ")^{" + EXPONENT + "}"

`\Large{EXPANSION[0] = {?}}`

`SOLUTION`

- `FAKE_SOLUTION1`
- `FAKE_SOLUTION2`
- `FAKE_SOLUTION3`

`EXPANSION[0]` is `BASE` multiplied by itself `EXPONENT` times.

The base is `BASE`.

The exponent is `EXPONENT`.

`EXPANSION[0]` is `BASE` to the power of `EXPONENT`.

`EXPANSION[0] = negParens(BASE)^{EXPONENT}`

round(pow(BASE, EXPONENT))

`\Large{negParens(BASE)^{EXPONENT} = {?}}`

SOLUTION

`= v`