[PD] division with remainder