$\require{cancel}$

Computing basepower for Integer power