Division with a remainder