Counting rods
Numeral systems 

Hindu–Arabic numeral system 

East Asian 

Alphabetic 
Former 

Positional systems by base 
Nonstandard positional numeral systems 
List of numeral systems 
Counting rods (traditional Chinese: 籌; simplified Chinese: 筹; pinyin: chóu; Japanese: 算木; rōmaji: sangi; Korean: sangaji) are small bars, typically 3–14 cm long, that were used by mathematicians for calculation in ancient East Asia. They are placed either horizontally or vertically to represent any integer or rational number.
The written forms based on them are called rod numerals. They are a true positional numeral system with digits for 1–9 and a blank for 0, from the Warring states period (circa 475 BCE) to the 16th century.
History
Chinese arithmeticians used counting rods well over two thousand years ago. In 1954 fortyodd counting rods of the Warring States period (5th century BCE to 221 BCE) were found in Zuǒjiāgōngshān (左家公山) Chu Grave No.15 in Changsha, Hunan.^{[1]}^{[2]}
In 1973 archeologists unearthed a number of wood scripts from a tomb in Hubei dating from the period of the Han dynasty (206 BCE to 220 CE). On one of the wooden scripts was written: "当利二月定算
In 1976 a bundle of Western Hanera (202 BCE to 9 CE) counting rods made of bones was unearthed from Qianyang County in Shaanxi.^{[3]} The use of counting rods must predate it; Sunzi (c. 544 to c. 496 BCE), a military strategist at the end of Spring and Autumn period of 771 BCE to 5th century BCE, mentions their use to make calculations to win wars before going into the battle^{[4]}; Laozi (died 531 BCE), writing in the Warring States period, said "a good calculator doesn't use counting rods".^{[5]} The Book of Han (finished 111 CE) recorded: "they calculate with bamboo, diameter one fen, length six cun, arranged into a hexagonal bundle of two hundred seventy one pieces".
At first, calculating rods were round in crosssection, but by the time of the Sui dynasty (581 to 618 CE) mathematicians used triangular rods to represent positive numbers and rectangular rods for negative numbers.
After the abacus flourished, counting rods were abandoned except in Japan, where rod numerals developed into a symbolic notation for algebra.
Using counting rods
Counting rods represent digits by the number of rods, and the perpendicular rod represents five. To avoid confusion, vertical and horizontal forms are alternately used. Generally, vertical rod numbers are used for the position for the units, hundreds, ten thousands, etc., while horizontal rod numbers are used for the tens, thousands, hundred thousands etc. It is written in Sunzi Suanjing that "one is vertical, ten is horizontal".^{[6]}
Red rods represent positive numbers and black rods represent negative numbers.^{[7]} Ancient Chinese clearly understood negative numbers and zero (leaving a blank space for it), though they had no symbol for the latter. The Nine Chapters on the Mathematical Art, which was mainly composed in the first century CE, stated "(when using subtraction) subtract same signed numbers, add different signed numbers, subtract a positive number from zero to make a negative number, and subtract a negative number from zero to make a positive number".^{[8]}^{[9]} Later, a go stone was sometimes used to represent zero.
This alternation of vertical and horizontal rod numeral form is very important to understanding written transcription of rod numerals on manuscripts correctly. For instance, in Licheng suanjin, 81 was transcribed as
Place value
The value of a number depends on its physical position on the counting board. A 9 at the rightmost position on the board stands for 9. Moving the batch of rods representing 9 to the left one position (i.e., to the tens place) gives 9[] or 90. Shifting left again to the third position (to the hundreds place) gives 9[][] or 900. Each time one shifts a number one position to the left, it is multiplied by 10. Each time one shifts a number one position to the right, it is divided by 10. This applies to singledigit numbers or multipledigit numbers.
Song dynasty mathematician Jia Xian used handwritten Chinese decimal orders 步十百千萬 as rod numeral place value, as evident from a facsimile from a page of Yongle Encyclopedia. He arranged 七萬一千八百二十四 as
 七一八二四
 萬千百十步
He treated the Chinese order numbers as place value markers, and 七一八二四 became place value decimal number. He then wrote the rod numerals according to their place value:
七  一  八  二  四 

萬  千  百  十  步 
In Japan, mathematicians put counting rods on a counting board, a sheet of cloth with grids, and used only vertical forms relying on the grids. An 18thcentury Japanese mathematics book has a checker counting board diagram, with the order of magnitude symbols "千百十一分厘毛“(thousand, hundred, ten, unit, tenth, hundredth, thousandth).^{[10]}
0  1  2  3  4  5  6  7  8  9  

Vertical  
Horizontal 
0  −1  −2  −3  −4  −5  −6  −7  −8  −9  

Vertical  
Horizontal 
Examples:
231  

5089  
−407  
−6720 
Rod numerals
Rod numerals are a positional numeral system made from shapes of counting rods. Positive numbers are written as they are and the negative numbers are written with a slant bar at the last digit. The vertical bar in the horizontal forms 6–9 are drawn shorter to have the same character height.
A circle (〇) is used for 0. Many historians think it was imported from Indian numerals by Gautama Siddha in 718,^{[8]} but some think it was created from the Chinese text space filler "□", and others think that the Indians acquired it from China, because it resembles a Confucian philosophical symbol for nothing.^{[11]}
In the 13th century, Southern Song mathematicians changed digits for 4, 5, and 9 to reduce strokes.^{[11]} The new horizontal forms eventually transformed into Suzhou numerals. Japanese continued to use the traditional forms.
0  1  2  3  4  5  6  7  8  9  

Vertical  
Horizontal 
0  −1  −2  −3  −4  −5  −6  −7  −8  −9  

Vertical 
0  1  2  3  4  5  6  7  8  9  

Vertical  
Horizontal 
Examples:
Traditional  Southern Song  

231  
5089  
−407  
−6720 
In Japan, Seki Takakazu developed the rod numerals into symbolic notation for algebra and drastically improved Japanese mathematics.^{[8]} After his period, the positional numeral system using Chinese numeral characters was developed, and the rod numerals were used only for the plus and minus signs.
Western  Seki  After Seki 

x + y + 246  
5x − 6y  
7xy  
8x / y  N/A  乙 
Fractions
A fraction was expressed with rod numerals as two rod numerals one on top of another (without any other symbol, like the modern horizontal bar).
Rod calculus
The method for using counting rods for mathematical calculation was called rod calculation or rod calculus (筹算). Rod calculus can be used for a wide range of calculations, including finding the value of π, finding square roots, cube roots, or higher order roots, and solving a system of linear equations.
Before the introduction of written zero, there was no way to distinguish 10007 and 107 in written forms except by inserting a bigger space between 1 and 7, and so rod numerals were used only for doing calculations with counting rods. Once written zero came into play, the rod numerals had become independent, and their use indeed outlives the counting rods, after its replacement by abacus. One variation of horizontal rod numerals, the Suzhou numerals is still in use for bookkeeping and in herbal medicine prescription in Chinatowns in some parts of the world.
Unicode
Unicode 5.0 includes counting rod numerals in their own block in the Supplementary Multilingual Plane (SMP) from U+1D360 to U+1D37F. The code points for the horizontal digits 1–9 are U+1D360 to U+1D368 and those for the vertical digits 1–9 are U+1D369 to U+1D371. The former are called unit digits and the latter are called tens digits,^{[12]}^{[13]} which is opposite of the convention described above. Zero should be represented by U+3007 (〇, ideographic number zero) and the negative sign should be represented by U+20E5 (combining reverse solidus overlay).^{[14]} As these were recently added to the character set and since they are included in the SMP, font support may still be limited.
Counting Rod Numerals^{[1]}^{[2]} Official Unicode Consortium code chart (PDF)  
0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
U+1D36x  𝍠  𝍡  𝍢  𝍣  𝍤  𝍥  𝍦  𝍧  𝍨  𝍩  𝍪  𝍫  𝍬  𝍭  𝍮  𝍯 
U+1D37x  𝍰  𝍱  𝍲  𝍳  𝍴  𝍵  𝍶  𝍷  𝍸  
Notes 
See also
References
 ↑ Ancient China Math – Copyright © 2010 – TutorVista.com, All rights reserved.
 ↑ 中国独特的计算工具, archived from the original on 20071121, retrieved 20071216
 ↑ Wu Wenjun ed, Grand Series of History of Chinese Mathematics, vol 1, p371
 ↑ 孫子: 夫未戰而廟算勝者，得算多也
 ↑ 老子: 善數者不用籌策。
 ↑ Chinese Wikisource 孫子算經: 先識其位，一從十橫，百立千僵，千十相望，萬百相當。
 ↑ Chinese Wikisource, 夢溪筆談: 如算法用赤籌、黑籌，以別正負之數。
 1 2 3 Wáng, Qīngxiáng (1999), Sangi o koeta otoko (The man who exceeded counting rods), Tokyo: Tōyō Shoten, ISBN 4885952263
 ↑ Chinese Wikisource 正負術曰: 同名相除，異名相益，正無入負之，負無入正之。其異名相除，同名相益，正無入正之，負無入負之。
 ↑ Karl Menninger, Number Words and Number Symbols, p 369, MIT Press, 1970
 1 2 Qian, Baocong (1964), Zhongguo Shuxue Shi (The history of Chinese mathematics), Beijing: Kexue Chubanshe
 ↑ Christopher Cullen et John H. Jenkins, Proposal to add Chinese counting rod numerals to Unicode and ISO/IEC 10646, 2004
 ↑ The Unicode Standard, Version 5.0 – Electronic edition (PDF), Unicode, Inc., 2006, p. 558
 ↑ The Unicode Standard, Version 5.0 – Electronic edition (PDF), Unicode, Inc., 2006, pp. 499–500
External links
For a look of the ancient counting rods, and further explanation, you can visit the sites
 https://web.archive.org/web/20010217175749/http://www.math.sfu.ca/histmath/China/Beginning/Rod.html
 http://mathforum.org/library/drmath/view/52557.html
 Counting rods in China (in Chinese) (Translate to English: Google, Bing)
 Counting rods and go stones of a Japanese mathematician around 1872 (in Japanese) (Translate to English: Google, Bing)