Ch'in Chiu-Shao was a genius in mathematics and was also accomplished in poetry, fencing, archery, riding, music and architecture.
He wrote Mathematical Treatise in Nine Sections which appeared in 1247. It contains simultaneous integer congruences, the Chinese Remainder Theorem, and considers algebraic equations, areas of geometrical figures and linear simultaneous equations. This work on congruences was rediscovered by Gauss, Lebesgue and Stieltjes.