how to divide remainders - Search