http://mathworld.wolfram.com/ChineseRemainderTheorem.html