The Mathematics of the Chinese Calendar [pdf]
gwern.net