Dividing powers with the same base