Khan/khan-exercises — pull request #11385 by mnehring (2012-01-17 00:28:01+00:00)
Title: Fix for #9500 (Exponent rules - Correct answer considered wrong)

For the

problem, I changed data-ensure="BASE1 !== BASE2" to data-ensure="getGCD(BASE1,BASE2)===1". This will keep any problems like (3^10*9^(-3))^3 from coming up. (There are infinitely many correct answers there, since integer powers of 3 and 9 have common factors). If BASE1 and BASE2 have no common factors, then this cannot happen.