### Calendrical mathematics of the Ancient Chinese: Part I

To understand how calendrical matters were handled by the ancient Chinese. It is important to learn to count numbers in modulo 60.

It is not known why the ancient Chinese fancied modulo 60, probably the ancestors of the ancient Chinese shared a similar set of extrasomatic knowledge with the ancestors of the Babylonians when they were still in North Africa.

The current norm of handling the grouping of days is to use modulo 7, where we have: Day 1 = Monday, Day 2 = Tuesday, ..., Day 7 = Sunday.

The ancient Chinese, however, used several different styles to count their day of week. One style is to use modulo 10, in which we have: Day 1 = Jia (甲), Day 2 = Yi (乙), ..., Day 10 = Gui (癸). In this way, a Chinese week actually consists of ten days instead of seven.

Sometimes, modulo 12 was preferred over modulo 10 in some occasions. When modulo 12 is used, the days are called differently: Day 1 = Zi (子), Day 2 = Chou (丑), ..., Day 12 = Hai (亥).

Now, to reckon days for a longer period of time, the ancient Chinese would combine their nomenclatures of modulo 10 and modulo 12 to form a system in modulo 60. During Zhou Dynasty (and possibly during Xia Dynasty), modulo 60 is the common system used for recording their dates when they carried out divinational activities with oracle bones. An example of the oracle bones is available here.

Following Dershowitz and Reingold, the conversion between the moduli of 10, 12, and 60 is pretty straightforward, and it is handled by the following set of equations:

where amod is the adjusted modulo function. For example

In Part II of the article, the modulo 60 system will be extended to describe year, month, and hour.

It is not known why the ancient Chinese fancied modulo 60, probably the ancestors of the ancient Chinese shared a similar set of extrasomatic knowledge with the ancestors of the Babylonians when they were still in North Africa.

The current norm of handling the grouping of days is to use modulo 7, where we have: Day 1 = Monday, Day 2 = Tuesday, ..., Day 7 = Sunday.

The ancient Chinese, however, used several different styles to count their day of week. One style is to use modulo 10, in which we have: Day 1 = Jia (甲), Day 2 = Yi (乙), ..., Day 10 = Gui (癸). In this way, a Chinese week actually consists of ten days instead of seven.

Sometimes, modulo 12 was preferred over modulo 10 in some occasions. When modulo 12 is used, the days are called differently: Day 1 = Zi (子), Day 2 = Chou (丑), ..., Day 12 = Hai (亥).

Now, to reckon days for a longer period of time, the ancient Chinese would combine their nomenclatures of modulo 10 and modulo 12 to form a system in modulo 60. During Zhou Dynasty (and possibly during Xia Dynasty), modulo 60 is the common system used for recording their dates when they carried out divinational activities with oracle bones. An example of the oracle bones is available here.

Following Dershowitz and Reingold, the conversion between the moduli of 10, 12, and 60 is pretty straightforward, and it is handled by the following set of equations:

where amod is the adjusted modulo function. For example

*x*amod 12 can be easily implemented in Microsoft Excel as:In Part II of the article, the modulo 60 system will be extended to describe year, month, and hour.

## Comments