sūn​zi​dìng​lǐ

Chinese remainder theorem