Numeral systems by culture  

HinduArabic numerals  
Eastern Arabic Indian family Khmer 
Mongolian Thai Western Arabic 
East Asian numerals  
Chinese Counting rods Japanese 
Korean Suzhou Vietnamese 
Alphabetic numerals  
Abjad Armenian Āryabhaṭa Cyrillic 
Ge'ez Greek (Ionian) Hebrew 
Other systems  
Attic Babylonian Brahmi Egyptian Etruscan Inuit 
Mayan Quipu Roman Urnfield 
List of numeral system topics  
Positional systems by base  
Decimal (10)  
1, 2, 3, 4, 5, 8, 12, 16, 20, 60 more…  
Positional notation or placevalue notation is a generalization of decimal notation to arbitrary base. These include binary (base 2) and hexadecimal (base 16) notations used by computers as well as the base 60 notation of Babylonian numerals. Indian mathematicians developed the HinduArabic numeral system, the modern decimal positional notation, in the 9th century. Positional notation is distinguished from previous notations (such as Roman numerals) for its use of the same symbol for the different orders of magnitude (for example, the "one's place", "ten's place", "hundred's place"). This greatly simplified arithmetic and lead to the quick spread of the notation across the world.
In base10 (decimal) positional notation, there are 10 decimal digits and the number
In base16 (hexadecimal), there are 16 hexadecimal digits (0–9 and A–F) and the number
In general, in baseb, there are b digits and the number
With the use of a decimal point, the notation can be extended to include fractions and the decimal expansions of real numbers.
Contents 
Today, the base 10 (decimal) system is ubiquitous. It was likely motivated by counting with the ten fingers. However, other bases have been used. For example, the Babylonian numeral system, credited as the first positional number system, was base 60.
Most abacuses in history represented numbers in a positional numeral system. Before positional notation became standard, simple additive systems (signvalue notation) were used such as Roman Numerals, and accountants in ancient Rome and during the Middle Ages used the abacus or stone counters to do arithmetic.^{[1]}
With an abacus to perform arithmetic operations, the writing of the starting, intermediate and final values of a calculation could easily be done with a simple additive system in each position or column. This approach required no memorization of tables (as does positional notation) and could produce practical results quickly. For four centuries (13th–16th) there was strong disagreement between those who believed in adopting the positional system in writing numbers and those who wanted to stay with the additivesystemplusabacus. Although electronic calculators have largely replaced the abacus, the latter continues to be used in Japan and other Asian countries.
Georges Ifrah concludes in his Universal History of Numbers:
Thus it would seem highly probable under the circumstances that the discovery of zero and the placevalue system were inventions unique to the Indian civilization. As the Brahmi notation of the first nine whole numbers (incontestably the graphical origin of our presentday numerals and of all the decimal numeral systems in use in India, Southeast and Central Asia and the Near East) was autochthonous and free of any outside influence, there can be no doubt that our decimal placevalue system was born in India and was the product of Indian civilization alone.—^{[2]}
Aryabhatta stated "Stanam Stanam Dasa Gunam" meaning "Place to place ten times in value". His system lacked zero. The zero was added by Brahmagupta. Brahmagupta also was responsible for developing four fundamental operations (addition, subtraction, multiplication and division). Indian mathematicians and astronomers also developed Sanskrit positional number words to describe astronomical facts or algorithms using poetic sutras.
A key argument against the positional system was its susceptibility to easy fraud by simply putting a number at the beginning or end of a quantity, thereby changing (e.g.) 100 into 5100, or 100 into 1000. Modern bank cheques require a natural language spelling of an amount, as well as the amount itself, to prevent such fraud.
In mathematical numeral systems, the base or radix is usually the number of unique digits, including zero, that a positional numeral system uses to represent numbers. For example, for the decimal system the radix is 10, because it uses the 10 digits from 0 through 9.
The highest symbol of a positional numeral system usually has the value one less than the value of the base of that numeral system. The standard positional numeral systems differ from one another only in the base they use.
The base is an integer that is greater than 1 (or less than negative 1), since a radix of zero would not have any digits, and a radix of 1 would only have the zero digit. Negative bases are rarely used. In a system with a negative radix, numbers may have many different possible representations.
(In certain nonstandard positional numeral systems, including bijective numeration, the definition of the base or the allowed digits deviates from the above.)
In order to discuss bases other than the decimal system (base ten), a distinction needs to be made between a number and the digit representing that number. Each digit may be represented by a unique symbol or by a limited set of symbols.
For example, in the decimal positional numeral system, there are ten possible digits in each position. These are "0", "1", "2", "3", "4", "5", "6", "7", "8" , and "9" (henceforth "09"). In other bases, the digits used may be unfamiliar or may be used to indicate numbers other than those they represent in the decimal system. For example, in the base 32 numeral system, there are 32 possible digits for each position. These combinations are the numbers 031, but they could be signified (in ascending order) first by the symbols AZ and then by the symbols 27. So A would represent 0, Z the number 25, 2 the number 26, 3 represents 27, etc. Because of the widespread use of the decimal system, it is common that numbers are written in base ten, and unless otherwise indicated, most numbers encountered are normally assumed to be decimal numbers. However, any real number can be represented with any base.
E.g., for octal only eight digits up to 7 and for binary only two digits 0 and 1 are needed. For bases above 10, extra digits are needed. For hexadecimal the first six letters of the alphabet A, B, C, D, E, and F are commonly used for decimal values 10 to 15. The alphabet can cover numeral systems with a base up to 10 + 26 = 36. However, some uppercase letters can be confused with 'existing' digits such as an I with a 1 and O with 0. When these are omitted it can reach 34. Adding lowercase letters (none of them can be confused with 'existing' digits, except l in some fonts) extends the digit set to 62 (or 60 when uppercase I and O are omitted). For a base 60 system a 'mixed' base with 10 as 'secondary' base is commonly used, please see below.
Sometimes, a subscript notation is used where the base number is written in subscript after the number represented. For example, indicates that the number 23 is expressed in base 8 (and is therefore equivalent in value to the decimal number 19). This notation will be used in this article.
When describing base in mathematical notation, the letter b is generally used as a symbol for this concept, so, for a binary system, b equals 2. Another common way of expressing the base is writing it as a decimal subscript after the number that is being represented. 1111011_{2} implies that the number 1111011 is a base 2 number, equal to 123_{10} (a decimal notation representation), 173_{8} (octal) and 7B_{16} (hexadecimal). When using the written abbreviations of number bases, the base is not printed: Binary 1111011 is the same as 1111011_{2}.
The base b may also be indicated by the phrase "base b". So binary numbers are "base 2"; octal numbers are "base 8"; decimal numbers are "base 10"; and so on.
Numbers of a given radix b have digits {0, 1, ..., b2, b1}. Thus, binary numbers have digits {0, 1}; decimal numbers have digits {0, 1, 2, ..., 8, 9}; and so on. Thus the following are notational errors and do not make sense: 52_{2}, 2_{2}, 1A_{9}. (In all cases, one or more digits is not in the set of allowed digits for the given base.)
Positional number systems work using exponentiation of the base. A digit's value is the digit multiplied by the value of its place. Place values are the number of the base raised to the nth power, where n is the number of other digits between a given digit and the radix point. If a given digit is on the left hand side of the radix point (i.e. its value is an integer) then n is positive or zero; if the digit is on the right hand side of the radix point (i.e., its value is fractional) then n is negative.
As an example of usage, the number 465 in its respective base 'b' (which must be at least base 7 because the highest digit in it is 6) is equal to:
If the number 465 was in base 10, then it would equal:
(465_{10} = 465_{10})
If however, the number were in base 7, then it would equal:
(465_{7} = 243_{10})
10_{b} = b for any base b, since 10_{b} = 1×b^{1} + 0×b^{0}. For example 10_{2} = 2; 10_{3} = 3; 10_{16} = 16_{10}. Note that the last "16" is indicated to be in base 10. The base makes no difference for onedigit numerals.
Numbers that are not integers use places beyond a radix point. For every position behind this point (and thus after the units digit), the power n decreases by 1. For example, the number 2.35 is equal to:
This concept can be demonstrated using a diagram. One object represents one unit. When the number of objects is equal to or greater than the base b, then a group of objects is created with b objects. When the number of these groups exceeds b, then a group of these groups of objects is created with b groups of b objects; and so on. Thus the same number in different bases will have different values:
241 in base 5: 2 groups of 5² (25) 4 groups of 5 1 group of 1 ooooo ooooo ooooo ooooo ooooo ooooo ooooo ooooo + + o ooooo ooooo ooooo ooooo ooooo ooooo
241 in base 8: 2 groups of 8² (64) 4 groups of 8 1 group of 1 oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo + + o oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo
The notation can be further augmented by allowing a leading minus sign. This allows the representation of negative numbers. For a given base, every representation corresponds to exactly one real number and every real number has at least one representation. The representations of rational numbers are those representations that are finite, use the bar notation, or end with an infinitely repeating cycle of digits.
Bases can be converted between each other by drawing the diagram above and rearranging the objects to conform the new base, for example:
241 in base 5: 2 groups of 5² 4 groups of 5 1 group of 1 ooooo ooooo ooooo ooooo ooooo ooooo ooooo ooooo + + o ooooo ooooo ooooo ooooo ooooo ooooo
is equal to 107 in base 8: 1 group of 8² 0 groups of 8 7 groups of 1 oooooooo oooooooo o o oooooooo oooooooo + + o o o oooooooo oooooooo o o oooooooo oooooooo
There is, however, a shorter method which is basically the above method calculated mathematically. Because we work in base ten normally, it is easier to think of numbers in this way and therefore easier to convert them to base ten first, though it is possible (but difficult) to convert straight between nondecimal bases without using this intermediate step.
A number a_{n}a_{n1}...a_{2}a_{1}a_{0} where a_{0}, a_{1}... a_{n} are all digits in a base b (note that here, the subscript does not refer to the base number; it refers to different objects), the number can be represented in any other base, including decimal, by:
Thus, in the example above:
To convert from decimal to another base one must simply start dividing by the value of the other base, then dividing the result of the first division and overlooking the remainder, and so on until the base is larger than the result (so the result of the division would be a zero). Then the number in the desired base is the remainders being the most significant value the one corresponding to the last division and the least significant value is the remainder of the first division.
The most common example is that of changing from Decimal to Binary.
The representation of nonintegers can be extended to allow an infinite string of digits beyond the point. For example 1.12112111211112 ... base 3 represents the sum of the infinite series:
Since a complete infinite string of digits cannot be explicitly written, the trailing ellipsis (...) designates the omitted digits, which may or may not follow a pattern of some kind. One common pattern is when a finite sequence of digits repeats infinitely. This is designated by drawing a bar across the repeating block:
For base 10 it is called a recurring decimal or repeating decimal.
An irrational number has an infinite nonrepeating representation in all integer bases. Whether a rational number has a finite representation or requires an infinite repeating representation depends on the base. For example, one third can be represented by:
For integers p and q with gcd(p, q) = 1, the fraction p/q has a finite representation in base b if and only if each prime factor of q is also a prime factor of b.
For a given base, any number that can be represented by a finite number of digits (without using the bar notation) will have multiple representations, including one or two infinite representations:
In the decimal (base10) HinduArabic numeral system, each position starting from the right is a higher power of 10. The first position represents 10^{0} (1), the second position 10^{1} (10), the third position 10^{2} (10 × 10 or 100), the fourth position 10^{3} (10 × 10 × 10 or 1000), and so on.
Fractional values are indicated by a separator, which varies by locale. Usually this separator is a period or full stop, or a comma. Digits to the right of it are multiplied by 10 raised to a negative power or exponent. The first position to the right of the separator indicates 10^{1} (0.1), the second position 10^{2} (0.01), and so on for each successive position.
As an example, the number 2674 in a base 10 numeral system is :
or
The sexagesimal or base sixty system was used for the integral and fractional portions of Babylonian numerals and other mesopotamian systems, by Hellenistic astronomers using Greek numerals for the fractional portion only, and is still used for modern time and angles, but only for minutes and seconds. However, not all of these uses were positional.
Modern time separates each position by a colon or point. For example, the time might be 10:25:59 (10 hours 25 minutes 59 seconds). Angles use similar notation. For example, an angle might be 10°25'59" (10 degrees 25 minutes 59 seconds). In both cases, only minutes and seconds use sexagesimal notation — angular degrees can be larger than 59 (one rotation around a circle is 360°, two rotations are 720°, etc.), and both time and angles use decimal fractions of a second. This contrasts with the numbers used by Hellenistic and Renaissance astronomers, who used thirds, fourths, etc. for finer increments. Where we might write 10°25'59.392", they would have written 10°25′59″23‴31''''12''''' or 10°25^{I}59^{II}23^{III}31^{IV}12^{V}.
Using a digit set of digits with upper and lowercase letters allows short notation for sexagesimal numbers, e.g. 10:25:59 becomes 'ARz' (by omitting I and O, but not i and o), which is useful for use in URLs, etc., but it is not very intelligible to humans.
In the 1930s, Otto Neugebauer introduced a modern notational system for Babylonian and Hellenistic numbers that substitutes modern decimal notation from 0 to 59 in each position, while using a semicolon (;) to separate the integral and fractional portions of the number and using a comma (,) to separate the positions within each portion. For example, the mean synodic month used by both Babylonian and Hellenistic astronomers and still used in the Hebrew calendar is 29;31,50,8,20 days, and the angle used in the example above would be written 10;25,59,23,31,12 degrees.
In computing, the binary (base 2) and hexadecimal (base 16) bases are used. Computers, at the very simplest level, deal only with sequences of conventional 1s and 0s, thus it is easier in this sense to deal with powers of two. The hexadecimal system came about as shorthand for binary  every 4 binary digits relates to one and only one hexadecimal digit. In hexadecimal, the six digits after 9 are denoted by A, B, C, D, E and F.
The octal numbering system is also used as another way to represent binary numbers. In this case the base is 8 and therefore only digits 0, 1, 2, 3, 4, 5, 6 and 7 are used. When converting from binary to octal every 3 binary digits relate to one and only one octal digit.
Base12 systems (duodecimal or dozenal) have been popular because multiplication and division are easier than in base10, with addition and subtraction being just as easy. Twelve is a useful base because it has many factors. It is the smallest common multiple of one, two, three, four and six. There is still a special word for "dozen" in English, and by analogy with the word for 10^{2}, hundred, commerce developed a word for 12^{2}, gross. The standard 12hour clock and common use of 12 in English units emphasize the utility of the base.
The Maya civilization and other civilizations of preColumbian Mesoamerica used base20 (vigesimal), as did several North American tribes (two being in southern California). Evidence of base20 counting systems is also found in the languages of central and western Africa.
Remnants of a Gaulish base20 system also exist in French, as seen today in the names of the numbers from 60 through 99. For example, sixtyfive is soixantecinq (literally, "sixty [and] five"), while seventyfive is soixantequinze (literally, "sixty [and] fifteen"). Furthermore, for any number between 80 and 99, the "tenscolumn" number is expressed as a multiple of twenty (somewhat similar to the archaic English manner of speaking of "scores", probably originating from the same underlying Celtic system). For example, eightytwo is quatrevingtdeux (literally, four twenty[s] [and] two), while ninetytwo is quatrevingtdouze (literally, four twenty[s] [and] twelve). In Old French, forty was expressed as two twenties and sixty was three twenties, so that fiftythree was expressed as two twenties [and] thirteen, and so on.
The Irish language also used base20 in the past, twenty being fichid, forty dhá fhichid, sixty trí fhichid and eighty ceithre fhichid. A remnant of this system may be seen in the modern word for 40, daoichead.
Danish numerals display a similar base20 structure.
The Maori language of New Zealand also has evidence of an underlying base20 system as seen in the terms "Te Hokowhitu a Tu" referring to a war party (literally "the seven 20s of Tu") and "Tamahokotahi", referring to a great warrior ("the one man equal to 20").
The binary system was used in the Egyptian Old Kingdom, 3,000 BCE to 2,050 BCE. It was cursive by rounding off rational numbers smaller than 1 to 1/2 + 1/4 + 1/8 + 1/16 + 1/32 + 1/64, with a 1/64 term thrown away (the system was called the Eye of Horus).
A number of Australian Aboriginal languages employ binary or binarylike counting systems. For example, in Kala Lagaw Ya, the numbers one through six are urapon, ukasar, ukasarurapon, ukasarukasar, ukasarukasarurapon, ukasarukasarukasar.
North and Central American natives used base 4 (quaternary) to represent the four cardinal directions. Mesoamericans tended to add a second base 5 system to create a modified base 20 system.
A base5 system (quinary) has been used in many cultures for counting. Plainly it is based on the number of digits on a human hand. It may also be regarded as a subbase of other bases, such as base 10, base 20, and base 60.
A base8 system (octal) was devised by the Yuki tribe of Northern California, who used the spaces between the fingers to count, corresponding to the digits one through eight.^{[citation needed]} There is also linguistic evidence which suggests that the Bronze Age ProtoIndo Europeans (from whom most European and Indic languages descend) might have replaced a base 8 system (or a system which could only count up to 8) with a base 10 system. The evidence is that the word for 9, newm, is suggested by some to derive from the word for 'new', newo, suggesting that the number 9 had been recently invented and called the 'new number'.^{[3]}
Many ancient counting systems use five as a primary base, almost surely coming from the number of fingers on a person's hand. Often these systems are supplemented with a secondary base, sometimes ten, sometimes twenty. In some African languages the word for five is the same as "hand" or "fist" (Dyola language of GuineaBissau, Banda language of Central Africa). Counting continues by adding 1, 2, 3, or 4 to combinations of 5, until the secondary base is reached. In the case of twenty, this word often means "man complete". This system is referred to as quinquavigesimal. It is found in many languages of the Sudan region.
Interesting properties exist when the base is not fixed or positive and when the digit symbol sets denote negative values. There are many more variations. These systems are of practical and theoretic value to computer scientists.
Balanced base 3 uses a base of 3 but the digit set is {1,0,1} instead of {0,1,2}. The "1" has an equivalent value of −1. The negation of a number is easily formed by switching the on the 1s. This system can be used to solve the balance problem, which requires finding a minimal set of known counterweights to determine an unknown weight. Weights of 1, 3, 9, ... 3^{n} known units can be used to determine any unknown weight up to 1 + 3 + ... + 3^{n} units. A weight can be used on either side of the balance or not at all. Weights used on the balance pan with the unknown weight are designated with 1, with 1 if used on the empty pan, and with 0 if not used. If an unknown weight W is balanced with 3 (3^{1}) on its pan and 1 and 27 (3^{0} and 3^{3}) on the other, then its weight in decimal is 25 or 1011 in balanced base 3. (1011_{3} = 1 × 3^{3} + 0 × 3^{2} − 1 × 3^{1} + 1 × 3^{0} = 25).
The factorial number system uses a varying radix, giving factorials as place values; they are related to Chinese remainder theorem and Residue number system enumerations. This system effectively enumerates permutations. A derivative of this uses the Towers of Hanoi puzzle configuration as a counting system. The configuration of the towers can be put into 1 to 1 correspondence with the decimal count of the step at which the configuration occurs and vice versa.
Decimal equivalents:  −3  −2  −1  0  1  2  3  4  5  6  7  8 
Balanced base 3:  10  11  1  0  1  11  10  11  111  110  111  101 
Base −2:  1101  10  11  0  1  110  111  100  101  11010  11011  11000 
Factoroid:  0  10  100  110  200  210  1000  1010  1100 
Each position does not need to be positional itself. Babylonian sexagesimal numerals were positional, but in each position were groups of two kinds of wedges representing ones and tens (a narrow vertical wedge (  ) and an open left pointing wedge (<)) — up to 14 symbols per position (5 tens (<<<<<) and 9 ones (  ) grouped into one or two near squares containing up to three tiers of symbols, or a place holder (\\) for the lack of a position).^{[4]} Hellenistic astronomers used one or two alphabetic Greek numerals for each position (one chosen from 5 letters representing 10–50 and/or one chosen from 9 letters representing 1–9, or a zero symbol).^{[5]}
