Dividing two numbers in index form