**chinese_remainder_theorem**,
a Python code which
implements the Chinese remainder theorem, which
reconstructs an integer from its remainders relative to a set of bases.

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

**chinese_remainder_theorem** is available in
a MATLAB version and
a Python version.

- chinese_remainder_theorem.m, the source code.
- chinese_remainder_theorem.sh, runs all the tests.
- chinese_remainder_theorem.txt, the output file.