Ad
  • Custom User Avatar

    Tests updated.

  • Custom User Avatar

    This depends a lot on the definition of "power of two" you establish. We could be allowing rational exponents (square roots). Even Integer exponents would start a painful process as 2^(-2) (1/4) would be a valid parameter. With the same rules we could say that exponents are only Natural, then 1 would not be a power of two.

    I take your point and very much agree that we should definitely define the Range of exponents we are taking into account.