A numeral is a symbol or group of symbols that represents a number. Numerals differ from numbers just as words differ from the things they refer to. The symbols "11", "eleven" and "XI" are different numerals, all representing the same number. This article attempts to explain the various systems of numerals. See also number names. A numeral system (or system of numeration) is a framework where a set of numbers are represented by numerals in a consistent manner. It can be seen as the context that allows the numeral "11" to be interpreted as the binary numeral for three, the decimal numeral for eleven, or other numbers in a different bases.
Ideally, a numeral system will:
For example, the usual decimal representation of whole numbers gives every whole number a unique representation as a finite sequence of digits, with the operations of arithmetic (addition, subtraction, multiplication and division) being present as the standard algorithms of arithmetic. However, when decimal representation is used for the rational or real numbers, the representation is no longer unique: many rational numbers have two numerals, a standard one that terminates, such as 2.31, and another that recurs, such as 2.30999999... . Numerals which terminate have no non-zero digits after a given position. For example, numerals like 2.31 and 2.310 are taken to be the same, except in the natural sciences where differing precision is denoted.
Numeral systems are sometimes called number systems, but that name is misleading: different systems of numbers, such as the system of real numbers, the system of complex numbers, the system of p-adic numbers, etc., are not the topic of this article.
The simplest numeral system is the unary numeral system, in which every natural number is represented by a corresponding number of symbols. If the symbol ′ is chosen, for example, then the number seven would be represented by ′′′′′′′. The unary system is normally only useful for small numbers. It has some uses in theoretical computer science. Elias gamma coding is commonly used in data compression; it includes a unary part and a binary part.
The unary notation can be abbreviated by introducing different symbols for certain new values. Very commonly, these values are powers of 10; so for instance, if ′ stands for one, - for ten and + for 100, then the number 304 can be compactly represented as +++ ′′′′ and number 123 as + -- ′′′ without any need for zero. This is called sign-value notation. The ancient Egyptian system is of this type, and the Roman system is a modification of this idea.
More useful still are systems which employ special abbreviations for repetitions of symbols; for example, using the first nine letters of our alphabet for these abbreviations, with A standing for "one occurrence", B "two occurrences", and so on, we could then write C+ D′ for the number 304. The numeral system of English is of this type ("three hundred * four"), as are those of virtually all other spoken languages, regardless of what written systems they have adopted.
More elegant is a positional system, also known as place-value notation. Again working in base 10, we use ten different digits 0, ..., 9 and use the position of a digit to signify the power of ten that the digit is to be multiplied with, as in 304 = 3×100 + 0×10 + 4×1. Note that zero, which is not needed in the other systems, is of crucial importance here, in order to be able to "skip" a power. The Hindu-Arabic numeral system, borrowed from India, is a positional base 10 system; it is used today throughout the world.
Arithmetic is much easier in positional systems than in the earlier additive ones; furthermore, additive systems have a need for a potentially infinite number of different symbols for the different powers of 10; positional systems need only 10 different symbols (assuming that it uses base 10).
In certain areas of computer science, a modified base-k positional system is used, called bijective numeration, with digits 1, 2, ..., k (k ≥ 1), and zero being represented by the empty string. This establishes a bijection between the set of all such digit-strings and the set of non-negative integers, avoiding the non-uniqueness caused by leading zeros. Bijective base-k numeration is also called k-adic notation, not to be confused with p-adic numbers. Bijective base-1 is the same as unary.
Tallies carved from wood, bone, and stone have been used since prehistoric times. Stone age cultures, including ancient American Indian groups, used tallies for gambling with horses, slaves, personal services and trade-goods.
The earliest known writing was writing of numbers and appears in the ruins of Sumer. Between about 8000 to 3500 BC, recording of numbers was done with small clay tokens of various shapes that were strung like beads on a string. Beginning about 3500 BC clay tokens were gradually replaced by number signs impressed with a round stylus at different angles in clay tablets which were then baked. These signs were shaped like the tokens they replaced. About 3100 BC written numbers were dissociated from the things being counted and became abstract numerals. The thing being counted was indicated by a pictograph carved with a sharp stylus next to numerals which were impressed with a round stylus.
The Sumerians had a complex assortment of incompatable number systems and each city had their own local way of writing numerals. In the city of Uruk about 3100 BC, there were more than a dozen different numeric systems. One number system was used for counting discrete objects such as animals, tools, and containers. A different system was for counting cheese and grain products. Another system was used to count volumes of grain and included fractions. Another system counted beer ingredients. Another system counted weights. Another system counted land areas. Another system counted time units and calendar units. And these systems changed over the years. Numbers for counting volumes of grain changed whenever the size of the baskets changed. People who added and subtracted volumes of grain every day used their arithmetic skills to count other things that were unrelated to volume measurements.
Between 2700 BC and 2000 BC, the round stylus was gradually replaced by a reed stylus that had been used to press wedge shaped cuneiform signs in clay. These cuneiform number signs were pressed in a circular pattern that resembled the round number signs they replaced and retained the additive sign-value notation that originated with tokens on a string. Cuneiform numbers were ambiguous because they represented various numeric systems that differed depending on what was being counted. These systems gradually converged on a common proto-sexagesimal number system that was originally based on ten cups of grain in a bowl, six bowls of grain in a small basket, and ten small baskets in a large basket. This proto-sexagesimal number system gave rise to the sexagesimal number system that became standard in Babylonia.
Sexagesimal numbers were a Mixed radix system that retained the alternating base 10 and base 6. Sexagesimal numbers became widely used in commerce, but were also used in astronomical and other calculations. This system was exported from Babylonia and used by every Mediterranean nation that used standard units of measure and astronomy based time units, including the Greeks, Romans and Egyptians. We still use it to count time (minutes per hour), and angles (degrees).
In China, armies and provisions were counted using modular tallies of prime numbers. Unique numbers of troops and measures of rice appear as unique combinations of these tallies. A great convenience of modular arithmetic is that it is easy to multiply, though quite difficult to add. This makes use of modular arithmetic for provisions especially attractive. Conventional tallies are quite difficult to multiply and divide. In modern times modular arithmetic is sometimes used in Digital signal processing.
The Roman empire used tallies written on wax, papyrus and stone, and roughly followed the Greek custom of assigning letters to various numbers. The Roman system remained in common use in Europe until positional notation came into common use in the 1500s.
The Maya of Central America used a base 18 and base 20 system, possibly inherited from the Olmec, including advanced features such as positional notation and a zero. They used this to do advanced astronomical calculations, including highly accurate calculations of the length of the solar year and the orbit of Venus.
The Incan Empire ran a large command economy using quipu, tallies made by knotting colored fibers. Knowledge of the encodings of the knots and colors was suppressed by the Spanish conquistadors in the 16th century, and has not survived although simple quipu-like recording devices are still used in the Andean region.
Some authorities believe that positional arithmetic began with the wide use of the abacus in China. The earliest written positional records seem to be tallies of abacus results in China around 400. In particular, zero was correctly described by Chinese mathematicians around 932, and seems to have originated as a circle of a place empty of beads.
In India, recognizably modern positional numeral systems, passed to the Arabians, probably along with the astronomical tables, were brought to Baghdad by an Indian ambassador around 773. For greater discussion of numeral systems from India, see Hindu-Arabic numerals and Indian numerals.
From India, the thriving trade between Islamic sultans and Africa carried the concept to Cairo. Arabic mathematicians extended the system to decimal fractions, and wrote an important work about it in the 9th century. The system was introduced to Europe with the translation of this work in the 12th century in Spain and Leonardo of Pisa's Liber Abaci of 1201. In Europe, the complete Indian system with the zero was derived from the Arabs in the 12th century.
The binary system (base 2), was propagated in the 17th century by Gottfried Leibniz. Leibniz had developed the concept early in his career, and had revisited it when he reviewed a copy of the I ching from China. Binary numbers came in common use in the 20th century because of computer applications.
Multiples of 12 have been in common use as English units of resolution in the analog and digital printing world, where 1 point equals 1/72 of an inch and 12 points equal 1 pica, and printer resolutions like 360, 600, 720, 1200 or 1440 dpi (dots per inch) are common.
Possible remnants of a base-20 system also exist in French, as seen in the names of the numbers from 60 through 99. For example, sixty-five is soixante-cinq (literally, "sixty five"), while seventy-five is soixante-quinze (literally, "sixty scores"). For example, eighty-two is quatre-vingt-deux (literally, four twenty*" target="_blank" >*" target="_blank" >[and twelve).
Danish numerals display a similar base-20 structure.
Modern computers use transistors that have binary state as either high or low voltages. The memory and tiniest storage of this binary state is called a bit. Bits are arranged in groups to aid in processing, as well as making the usually very long binary numbers more manageable for humans. More recently the groups, such as bytes and words, are sized in multiples of four. Thus base 16 (hexadecimal) is commonly used as a shorthand. Base 8 (octal) has also been used for this purpose.
A computer does not treat all of its data as numerical. For instance, some of it may be treated as program instructions or data such as text. However, arithmetic and Boolean logic constitute a great part of operation. Real numbers, allowing fractional values, are usually approximated as floating point numbers which have different methods of arithmetic from integers.
2 - binary 3 - ternary 4 - quaternary 5 - quinary 6 - senary 7 - septenary 8 - octonary, although this is never used; instead octal is the common term. 9 - nonary 10 - denary, although this is never used; instead decimal is the common term. 11 - undenary 12 - duodenary, although this is never used; duodecimal is the accepted word. 16 - senidenary, although this is never used; see the discussion in hexadecimal. 20 - vegesimal 60 - sexagesimal
Also see Positional notation.
In a positional base-b numeral system (with b a positive natural number known as the radix), b basic symbols (or digits) corresponding to the first b natural numbers including zero are used. To generate the rest of the numerals, the position of the symbol in the figure is used. The symbol in the last position has its own value, and as it moves to the left its value is multiplied by b.
For example, in the decimal system (base 10), the numeral 4327 means (4×103) + (3×102) + (2×101) + (7×100), noting that 100 = 1.
In general, if b is the base, we write a number in the numeral system of base b by expressing it in the form a1bk + a2bk-1 + a3bk-2 + ... + ak+1b0 and writing the digits a1a2a3 ... ak+1 in order. The digits are natural numbers between 0 and b-1, inclusive.
If a text (such as this one) discusses multiple bases, and if ambiguity exists, the base (itself represented in base 10) is added in subscript to the right of the number, like this: numberbase. Unless specified by context, numbers without subscript are considered to be decimal.
By using a dot to divide the digits into two groups, one can also write fractions in the positional system. For example, the base-2 numeral 10.11 denotes 1×21+ 0×20 +1×2-1 +1×2-2 = 2.75.
In general, numbers in the base b system are of the form:
The numbers bk and b−k are the weights of the corresponding digits.
Note that a number has a terminating or repeating expansion if and only if it is rational; this does not depend on the base. A number that terminates in one base may repeat in another (thus 0.310 = 0.0100110011001...2). An irrational number stays unperiodic (infinite amount of unrepeating digits) in all integral bases. Thus, for example in base 2, π = 3.1415926...10 can be written down as the unperiodic 11.001001000011111...2.
If b = p is a prime number, one can define base-p numerals whose expansion to the left never stops; these are called the p-adic numbers.
1020304 / 7 = 145757 r 5
145757 / 7 = 20822 r 3
20822 / 7 = 2974 r 4
2974 / 7 = 424 r 6
424 / 7 = 60 r 4
60 / 7 = 8 r 4
8 / 7 = 1 r 1
1 / 7 = 0 r 1 => 11446435
E.g., 10110111 base 2 into base 5:
10110111 / 101 = 100100 r 11 (3)
100100 / 101 = 111 r 1 (1)
111 / 101 = 1 r 10 (2)
1 / 101 = 0 r 1 (1) => 1213
To convert a "decimal" fraction, do repeated multiplication, taking the protruding integer parts as the "digits". Unfortunately a terminating fraction in one base may not terminate in another. E.g., 0.1A4C base 16 into base 9:
0.1A4C × 9 = 0.ECAC 0.ECAC × 9 = 8.520C 0.520C × 9 = 2.E26C 0.E26C × 9 = 7.F5CC 0.F5CC × 9 = 8.A42C 0.A42C × 9 = 5.C58C => 0.082785...
More general is using a notation (here written little-endian) like a0a1a2 for a0 + a1b1 + a2b1b2, etc.
This is used in punycode, one aspect of which is the representation of a sequence of non-negative integers of arbitrary size in the form of a sequence without delimiters, of "digits" from a collection of 36: a-z and 0-9, representing 0-25 and 26-35 respectively. A digit lower than a threshold value marks that it is the most-significant digit, hence the end of the number. The threshold value depends on the position in the number. For example, if the threshold value for the first digit is b (1) then a (0) marks the end of the number (it has just one digit), so in numbers of more than one digit the range is only b-9 (1-35), therefore the weight b1 is 35 instead of 36. Suppose the threshold values for the second and third digit are c (2), then the third digit has a weight 34 × 35 = 1190 and we have the following sequence:
a (0), ba (1), ca (2), .., 9a (35), bb (36), cb (37), .., 9b (70), bca (71), .., 99a (1260), bcb (1261), etc.
Note that unlike a regular base-35 numeral system, we have numbers like 9b where 9 and b each represent 35; yet the representation is unique because ac and aca are not allowed.
The flexibility in choosing threshold values allows optimization depending on the frequency of occurrence of numbers of various sizes.
The case with all threshold values equal to 1 corresponds to bijective numeration, where the zeros correspond to separators of numbers with digits which are nonzero.
Numeral systems with base A, where A is a positive integer, possess the following properties:
Systems | Numeration | Mathematical notation
أنظمة عد | Sò͘-jī | Сыстэма зьлічэньня | Brojevni sistem | Бройна система | Sistema de numeració | Talsystem | Zahlensystem | Sistema de numeración | Numeralo | Zenbaki-sistema | Système de numération | Sistema de numeración | 기수법 | Brojevni sustav | Sistema di numerazione | שיטות ספירה | Számrendszerek | Talstelsel | 位取り記数法 | Tallsystem | System liczbowy | Sistema de numeração | Bază de numeraţie | Система счисления | Številski sistem | Lukujärjestelmä | Talsystem | எண்ணுரு | Система числення | 数字系统
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Numeral system".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world