Dividing natural numbers with the remainder