If n0 == d0, we must alway compute 'rem' "by hand"