Math, Exponentiation by Squaring.