Microsoft Store
 

Numeral system


 

:Occasionally the term "number system" is used for this concept, but that is also the name of an altogether different concept; see number system.

Types of numeral systems

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.

Related Topics:
Unary numeral system - Natural number - Theoretical computer science - Elias gamma coding - Data compression

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

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 + -- ′′′. 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.

Related Topics:
English - Language

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

More elegant is a positional system: 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. 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 Arabic numeral system, borrowed from India, is a positional base 10 system; it is used today throughout the world.

Related Topics:
Positional system - Zero - Arabic numeral system - India

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

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.

Related Topics:
Bijective numeration - Bijection - P-adic number

~ ~ ~ ~ ~ ~ ~ ~ ~ ~