This section hints at the way in which numerals are displayed in rod calculus, a means of doing arithmetic computations using counting rods (eventually replaced by the Chinese abacus).
Chinese source text: Version A, Version B, Version C, Version D.
Unless noted otherwise, I follow the text from Version D, 《知不足齋叢書》本.
Source text | Target text | Notes | ||||||
---|---|---|---|---|---|---|---|---|
凡算之法、先識其位。 | [In the] method of all computation, know first [the] places. | |||||||
一從十橫、百立千僵、千十相望、萬百相當。 | [The] ones [are] vertical [and the] tens horizontal; [the] hundreds erect [and the] thousands prostrate. [The] thousands [and] tens look at each other; [the] myriads [and] hundreds face each other. |
|
Since this section is hardly a self-contained explanation of rod calculus, I give a brief introduction here.
For each digit (except zero which is denoted by a blank space) there are two forms, vertical and horizontal:
Digit | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
---|---|---|---|---|---|---|---|---|---|
Vertical form | |||||||||
Horizontal form |
The text tells us to use
For example, the number 345 is displayed as . The alternating between vertical and horizontal forms prevents ambiguities which would arise from placing vertical forms next to each other.
Conway (2023). "Sun Tzŭ's Computational Classic: Volume I §7". <https://yawnoc.github.io/sun-tzu/i/7> Accessed yyyy-mm-dd.