{
  "id": "N-NINE-CHAPTERS-v1.1",
  "type": "report",
  "title": "The Nine Chapters writes 18/52 as the board leaves it",
  "author": [
    {
      "family": "Hay",
      "given": "Chris"
    }
  ],
  "issued": {
    "date-parts": [
      [
        2026,
        11,
        23
      ]
    ]
  },
  "URL": "https://chrishayuk.com/records/N-NINE-CHAPTERS/1.1",
  "publisher": "Chris Hay",
  "version": "1.1",
  "abstract": "Chapter 8 of the Nine Chapters on the Mathematical Art (九章算術, 方程) solves what we would call simultaneous linear equations on a counting board: columns of rods, worked against each other until one figure is left over another. This is a note about a program, jiuzhang, that sets out each problem of the chapter, and the boards its commentators work, as the text sets them, works them a step at a time as the text says, and compares what the text states, where the notation can hold it, with what the board gives. It ran over a transcription of the Sibu congkan reprint of the Weiboxie edition, made from the scans by a coding agent and its sub-agents. On 26 pages it checks 39 statements the board reaches: 38 agree, and the one that does not is Problem 6, whose signs in this edition give −8 and −3 where the answer is 8 and 3. That is not a census of every number in the text. The text writes its eleven fractional answers over one denominator each, and not always in lowest terms: Problem 2 is 1 18/52, not 1 9/26, and 52 is the 法 as the board leaves it. Of three readings of the last step, the 法 and the 實s divided by what they share writes all 11 as the text does; that describes how the answers are written, not where a reduction was made. Dai Zhen’s 145 算 is given by two rules of counting, his 99 only by one proposed after both were known. Liu Hui’s passage on 77 算 does not work as printed under any of 100,000,000 combinations of a small menu of operations, as Dai Zhen said; the two published reconstructions of it do. Guo Shuchun’s emended text, which reads 算 as operations, runs to the prices, and his own rule accounts for 67 of the 77, leaving 10 for placing rods. Roger Hart’s, which reads 算 as rods, agrees with the board at every one of his fifteen counts, and keeps within 77 rods only if each step is worked a position at a time from the bottom. Each gives 77 only on its own path, so the number does not choose between them. A second model reviewed the reconstruction independently, found no mistranscription, and found the checker could give a false ✓; this note gives the results after that was fixed. A literature check by a second model found that several of these results are already known: Problem 6’s signs were corrected by Li Huang, and Chemla and Guo (2004) print his correction; Hart (2011) discusses how the denominators follow the board, for Problem 14’s 33/111 and the determinant; and Liu Hui’s 77 passage has been emended by Chemla and Guo and worked through to 77 by Guo Shuchun (2020), and reconstructed in rods by Hart (2012); this project ran their reconstructions, it did not make them. No person has checked the transcription, and nothing here is claimed as new. Every page can be run on the board in the browser."
}