All Topics  
Numeral system

 

   Email Print
   Bookmark   Link






 

Numeral system



 
 
A numeral system (or system of numeration) is a writing system
Writing system

A writing system is a type of symbolic system used to represent elements or statements expressible in language....
 for expressing numerals, and a mathematical notation
Mathematical notation

A mathematical notation is a system of symbolic representations of mathematical objects and ideas. Mathematical notations are used in mathematics and the physical sciences, engineering and economics....
 for representing numbers
Numbers

selfref|For advice on number formatting when editing Wikipedia articles, see...
 of a given set, using grapheme
Grapheme

In typography, a grapheme is the fundamental unit in writing systems. Graphemes include letter , Chinese characters, numerals, punctuation marks, and all the individual symbols of any of the world's writing systems....
s or symbols in a consistent manner. It can be seen as the context that allows the numeral "11" to be interpreted as the binary
Binary numeral system

The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
 numeral for three, the decimal
Decimal

The decimal numeral system has 10 as its Base . It is the most widely used numeral system....
 numeral for eleven, or other numbers in different bases
Radix

In numeral system, the base or radix is usually the number of unique Numerical digit, including zero, that a Positional notation numeral system uses to represent numbers....
.

Ideally, a numeral system will:

For example, the usual decimal
Decimal

The decimal numeral system has 10 as its Base . It is the most widely used numeral system....
 representation of whole numbers gives every whole number a unique representation as a finite
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
 sequence
Sequence

In mathematics, a sequence is an ordered list of objects . Like a Set , it contains Element , and the number of terms is called the length of the sequence....
 of digit
Numerical digit

In mathematics and computer science, a digit is a symbol used in numerals , to represent numbers, in Positional notation numeral systems. The name "digit" comes from the fact that the 10 digits of the hands correspond to the 10 symbols of the common base 10 number system, i.e....
s, with the operations of arithmetic (addition, subtraction, multiplication and division) being present as the standard algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
s of arithmetic.






Discussion
Ask a question about 'Numeral system'
Start a new discussion about 'Numeral system'
Answer questions from other users
Full Discussion Forum



Encyclopedia


A numeral system (or system of numeration) is a writing system
Writing system

A writing system is a type of symbolic system used to represent elements or statements expressible in language....
 for expressing numerals, and a mathematical notation
Mathematical notation

A mathematical notation is a system of symbolic representations of mathematical objects and ideas. Mathematical notations are used in mathematics and the physical sciences, engineering and economics....
 for representing numbers
Numbers

selfref|For advice on number formatting when editing Wikipedia articles, see...
 of a given set, using grapheme
Grapheme

In typography, a grapheme is the fundamental unit in writing systems. Graphemes include letter , Chinese characters, numerals, punctuation marks, and all the individual symbols of any of the world's writing systems....
s or symbols in a consistent manner. It can be seen as the context that allows the numeral "11" to be interpreted as the binary
Binary numeral system

The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
 numeral for three, the decimal
Decimal

The decimal numeral system has 10 as its Base . It is the most widely used numeral system....
 numeral for eleven, or other numbers in different bases
Radix

In numeral system, the base or radix is usually the number of unique Numerical digit, including zero, that a Positional notation numeral system uses to represent numbers....
.

Ideally, a numeral system will:
  • Represent a useful set of numbers (e.g. all whole number
    Whole number

    The term whole number is used by various authors to mean either:*the nonnegative integer *the positive integer *all integer ...
    s, integer
    Integer

    The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
    s, or real number
    Real number

    In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
    s)
  • Give every number represented a unique representation (or at least a standard representation)
  • Reflect the algebraic and arithmetic structure of the numbers.


For example, the usual decimal
Decimal

The decimal numeral system has 10 as its Base . It is the most widely used numeral system....
 representation of whole numbers gives every whole number a unique representation as a finite
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
 sequence
Sequence

In mathematics, a sequence is an ordered list of objects . Like a Set , it contains Element , and the number of terms is called the length of the sequence....
 of digit
Numerical digit

In mathematics and computer science, a digit is a symbol used in numerals , to represent numbers, in Positional notation numeral systems. The name "digit" comes from the fact that the 10 digits of the hands correspond to the 10 symbols of the common base 10 number system, i.e....
s, with the operations of arithmetic (addition, subtraction, multiplication and division) being present as the standard algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
s of arithmetic. However, when decimal representation is used for the rational
Rational number

In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
 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.309999999... . 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 experimental sciences, where greater precision is denoted by the trailing zero.

Numeral systems are sometimes called number system
Number system

In mathematics, a number system is a Set of numbers, , together with one or more operations, such as addition or multiplication.Examples of number systems include: natural numbers, integers, rational numbers, algebraic numbers, real numbers, complex numbers, p-adic numbers, surreal numbers, and hyperreal numbers....
s
, but that name is misleading, as it could refer to different systems of numbers, such as the system of real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s, the system of complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s, the system of p-adic numbers
P-adic number

In mathematics, the p-adic number systems were first described by Kurt Hensel in 1897. For each prime number p, the p-adic number system extends the ordinary arithmetic of the rational numbers in a way different from the extension of the rational number system to the real number and complex number systems....
, etc. Such systems are not the topic of this article.

Types of numeral systems

The most commonly used system of numerals is known as Hindu-Arabic numerals, and two great India
India

India, officially the Republic of India , is a country in South Asia. It is the List of countries and outlying territories by total area country by geographical area, the List of countries by population country, and the most populous liberal democracy in the world....
n mathematicians could be given credit for developing them. Aryabhatta of Kusumapura
Patna

Pa?na is the capital city of the Indian States and territories of India of Bihar, and one of the oldest continuously inhabited places in the world....
 who lived during the 5th century developed the place value notation and Brahmagupta
Brahmagupta

Brahmagupta was an Indian Indian mathematics and Indian astronomy....
 a century later introduced the symbol zero.

The simplest numeral system is the unary numeral system
Unary numeral system

The unary numeral system is the Bijective numeration Base -1 numeral system. It is the simplest numeral system to represent natural numbers: in order to represent a number N, an arbitrarily chosen symbol representing 1 is repeated N times....
, in which every natural number
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
 is represented by a corresponding number of symbols. If the symbol / is chosen, for example, then the number seven would be represented by ///////. Tally marks
Tally marks

Tally marks are an implementation of the unary numeral system. They are a form of numeral used for counting. They allow updating written intermediate results without erasing or discarding anything written down....
 represent one such system still in common use. In practice, the unary system is normally only useful for small numbers, although it plays an important role in theoretical computer science
Theoretical computer science

Theoretical computer science is the collection of topics of computer science that focuses on the more abstract, logical and mathematical aspects of computing, such as the theory of computation, analysis of algorithms, and semantics of programming languages....
. Also, Elias gamma coding
Elias gamma coding

Elias gamma code is a universal code encoding positive integers developed by Peter Elias. It is used most commonly when coding integers whose upper-bound cannot be determined beforehand....
 which is commonly used in data compression
Data compression

In computer science and information theory, data compression or source coding is the process of encoding information using fewer bits than an code representation would use through use of specific encoding schemes....
 expresses arbitrary-sized numbers by using unary to indicate the length of a binary numeral.

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
Sign-value notation

In ComputersSign-value notation in computers is the use of the high-order bit of a binary word to represent the numeric sign: 0 for + and 1 for - followed by a binary number that is an absolute magnitude or a two's complement of an absolute magnitude....
. The ancient Egyptian system
Egyptian numerals

The system of Ancient Egyptian numerals was used in Ancient Egypt until the early first millennium AD. It was a decimal system, often rounded off to the higher power, written in Egyptian hieroglyphs....
 is of this type, and the Roman system
Roman numerals

Roman numerals are a numeral system of ancient Rome based on letters of the alphabet, which are combined to signify the sum of their values. The system is decimal but not directly Positional notation and does not include a zero....
 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
English language

English is a West Germanic language that originated in Anglo-Saxon England and has lingua franca status in many parts of the world as a result of the military, economic, scientific, political and cultural influence of the British Empire in the 18th, 19th and early 20th centuries and that of the United States from the mid 20th century onwa...
 is of this type ("three hundred [and] four"), as are those of virtually all other spoken language
Language

A language is a form of symbol communication in which elements are combined to represents something other than themselves. Language can also refer to the use of such systems as a general phenomenon....
s, regardless of what written systems they have adopted.

More elegant is a positional system
Positional notation

A positional notation or place-value notation system is a numeral system in which each position is related to the next by a constant multiplier, Geometric progression, called the radix or radix of that numeral 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
0 (number)

0 is both a number and the numerical digit used to represent that number in numeral system. It plays a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures....
, 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
Hindu-Arabic numeral system

The Hindu-Arabic numeral system is a positional decimal numeral system first documented in ancient India no later than the ninth century, and later spread to the western world through Mathematics in medieval Islam....
, borrowed from India
India

India, officially the Republic of India , is a country in South Asia. It is the List of countries and outlying territories by total area country by geographical area, the List of countries by population country, and the most populous liberal democracy in the world....
, 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).

The numerals used when writing numbers with digits or symbols can be divided into two types that might be called the arithmetic numerals 0,1,2,3,4,5,6,7,8,9 and the geometric numerals 1,10,100,1000,10000... respectively. The sign-value systems use only the geometric numerals and the positional system use only the arithmetic numerals. The sign-value system does not need arithmetic numerals because they are made by repetition (except for the Ionic system
Greek numerals

Greek numerals are a numeral system using letters of the Greek alphabet. They are also known by the names Milesian numerals, Alexandrian numerals, or alphabetic numerals....
), and the positional system does not need geometric numerals because they are made by position. However, the spoken language uses both arithmetic and geometric numerals.

In certain areas of computer science, a modified base-k positional system is used, called bijective numeration
Bijective numeration

Bijective numeration is any numeral system that establishes a bijection between the set of non-negative integers and the set of finite strings over a finite set of digits....
, with digits 1, 2, ..., k (k = 1), and zero being represented by the empty string. This establishes a bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
 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 number
P-adic number

In mathematics, the p-adic number systems were first described by Kurt Hensel in 1897. For each prime number p, the p-adic number system extends the ordinary arithmetic of the rational numbers in a way different from the extension of the rational number system to the real number and complex number systems....
s. Bijective base-1 is the same as unary.

See also Residue number system
Residue number system

A residue number system represents a large integer using a set of smaller integers, so that computation may be performed more efficiently. It relies on the Chinese remainder theorem of modular arithmetic for its operation, a mathematical idea from Sun Tzu in the 4th century AD....
.

Bases used


Computing

Switches, mimicked by their electronic successors built originally of vacuum tube
Vacuum tube

In electronics, a vacuum tube, electron tube , thermionic valve, or just valve is a device used to amplifier, switch, otherwise modify, or create an Electricity signal by controlling the movement of electrons in a low-pressure space....
s and in modern technology of transistors, have only two possible states: "open" and "closed". Substituting open=1 and closed=0 (or the other way around) yields the entire set of binary digits. This base-2 system (binary
Binary numeral system

The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
) is the basis for digital
Digital

A digital system uses discrete values, usually but not always symbolized numerically to represent information for input, processing, transmission, storage, etc....
 computers. It is used to perform integer arithmetic in almost all digital computers; some exotic base-3 (ternary
Ternary numeral system

Ternary or trinary is the Base - numeral system. Analogous to a "bit", a ternary numerical digit is known as a trit . One trit contains about 1.58596 bit of information....
) and base-10 computers have also been built, but those designs were discarded early in the history of computing hardware
History of computing hardware

The history of computing hardware encompasses computer hardware, its Computer architecture, and its impact on Computer software.The elements of computing hardware have undergone significant improvement over their history....
.

Modern computer
Computer

A computer is a machine that manipulates Data according to a list of Code .The first devices that resemble modern computers date to the mid-20th century , although the computer concept and various machines similar to computers existed earlier....
s use transistor
Transistor

In electronics, a transistor is a semiconductor device commonly used to Electronic amplifier or switch Electronics signals. A transistor is made of a solid piece of a semiconductor material, with at least three terminals for connection to an external circuit....
s that represent two states with either high or low voltages. The smallest unit of memory for this binary state is called a bit. Bits are arranged in groups to aid in processing, and to make the binary numbers shorter and more manageable for humans. More recently these groups of bits, such as byte
Byte

A byte is a basic unit of measurement of Computer storage in computer science. In many computer architectures it is a Byte addressing memory address space....
s and words, are sized in multiples of four. Thus base 16 (hexadecimal
Hexadecimal

In mathematics and computer science, hexadecimal is a numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 09 to represent values zero to nine, and A, B, C, D, E, F to represent values ten to fifteen....
) is commonly used as 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
Boolean logic

Boolean algebra is a logical calculus of logical values, developed by George Boole in the late 1830s. It resembles the algebra of real numbers as taught in high school, but with the numeric operations of multiplication xy, addition x + y, and negation −x replaced by the respective logical operations of conjun...
 constitute most internal operations. Whole numbers are represented exactly, as integers
Integer (computer science)

In computer science, the term integer is used to refer to a data type which represents some finite subset of the mathematical integers. These are also known as integral data types....
. Real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s, allowing fractional values, are usually approximated as floating point
Floating point

In computing, floating point describes a system for numerical representation in which a String of digits represents a rational number.The term floating point refers to the fact that the radix point can "float": that is, it can be placed anywhere relative to the Significant figures of the number....
 numbers. The computer uses different methods to do arithmetic
Arithmetic

Arithmetic or arithmetics is the oldest and most elementary branch of mathematics, used by almost everyone, for tasks ranging from simple day-to-day counting to advanced science and business calculations....
 with these two kinds of numbers.

Five

A base-5 system (quinary
Quinary

Quinary is a numeral system with 5 as the base. This originates from the five fingers on either hand.In the quinary place system, five numerals from 0 to 4 , are used to represent any real number....
) has been used in many cultures for counting. Plainly it is based on the number of fingers on a human hand. It may also be regarded as a sub-base of other bases, such as base 10 and base 60.

Eight

A base-8 system (octal
Octal

The octal numeral system, or oct for short, is the radix-8 number system, and uses the digits 0 to 7. Numerals can be made from Binary numeral system numerals by grouping consecutive digits into groups of three ....
) was devised by the Yuki tribe
Yuki tribe

The Yuki are a Native Americans in the United States tribe from the zone of Round Valley, in what today is part of the territory of Mendocino County, Northern California....
 of Northern California, who used the spaces between the fingers to count, corresponding to the digits one through eight. There is also linguistic evidence which suggests that the Bronze Age Proto-Indo 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'.

Ten

The base-10 system (decimal
Decimal

The decimal numeral system has 10 as its Base . It is the most widely used numeral system....
) is the one most commonly used today. It is assumed to have originated because human
Human

A human being, also human or man, is a member of a species of bipedalism primates in the family Hominidae . Mitochondrial DNA evidence indicates that modern humans originated in east Africa about 200,000 years ago....
s have ten finger
Finger

A finger is a type of digit , an organ of manipulation and sensation found in the hands of humans and other primates.Normally humans have five digits, termed phalanges, on each hand ....
s. These systems often use a larger superimposed base. See Decimal superbase
Decimal superbase

Many numeral systems with base 10 use a superimposed larger base of 100, 1000, 10000 or 1000000. It is a power of 10 and might be called a superbase or superradix of the numeral system....
.

Twelve

Base-12 systems (duodecimal
Duodecimal

The duodecimal system is a numeral system using 12 as its radix. In this system, the number 10 may be written as 'A', and the number 11 as 'B' ....
 or dozenal) have been popular because multiplication and division are easier than in base-10, with addition and subtraction being just as easy. Twelve is a useful base because it has many factors
Divisor

In mathematics, a divisor of an integer n, also called a factor of n, is an integer which evenly divides n without leaving a remainder....
. It is the smallest multiple of one, two, three, four and six. There is still a special word for "dozen" and just like there is a word for 102, hundred, there is also a word for 122, gross.

There are 24 hours per day, usually counted up to 12 until noon (p.m.) and once again until midnight (a.m.), often further divided per 6 hours in counting (for instance in Thailand
Thailand

The Kingdom of Thailand is an independent country that lies in the heart of Southeast Asia. It is bordered to the north by Laos and Myanmar, to the east by Laos and Cambodia, to the south by the Gulf of Thailand and Malaysia, and to the west by the Andaman Sea and Myanmar....
) or as switches between using terms like 'night', 'morning', 'afternoon', and 'evening', whereas other languages use such terms with durations of 3 to 9 hours often according to switches at some of the 3-hour interval marks.

Multiples of 12 have been in common use as English units of resolution in the analog and digital printing world, where 1 point
Point (typography)

In typography, a point is the smallest Typographic unit of measure, being a subdivision of the larger Pica . It is commonly abbreviated as pt. The traditional printer's point, from the era of hot metal typesetting and Printing press, varied between 0.18 and 0.4 Milimeter depending on various definitions of the foot....
 equals 1/72 of an inch and 12 points equal 1 pica
Pica (unit of measure)

A pica is a typographic unit of measure corresponding to 1/72nd of its respective Foot , and therefore to 1/6th of an inch. The pica contains 12 Point units of measure....
, and printer resolutions like 360, 600, 720, 1200 or 1440 dpi (dots per inch) are common. These are combinations of base-12 and base-10 factors: (3×12)×10, (5×12)×10, (6×12)×10, (10×12)×10 and (12×12)×10.

Twenty

The Maya civilization and other civilizations of Pre-Columbian
Pre-Columbian

The pre-Columbian era incorporates all archaeology of the Americas in the history of the Americas before the appearance of significant European influences on the Americas continents....
 Mesoamerica
Mesoamerica

Mesoamerica or Meso-America is a region and cultural area in the Americas, extending approximately from central Mexico to Honduras and Nicaragua, within which a number of pre-Columbian society flourished before the Spanish colonization of the Americas in the 15th and 16th centuries....
 used base-20 (vigesimal
Vigesimal

The vigesimal or Base - numeral system is based on 20 ....
). Evidence of base-20 counting systems is also found in the languages of central and western Africa
Africa

Africa is the world's second-largest and second most-populous continent, after Asia. At about 30.2 million km? including adjacent islands, it covers 6% of the Earth's total surface area and 20.4% of the total land area....
.

Remnants of a Gaulish
Gaulish language

The Gaulish language is the Celtic language that was spoken in Gaul before the Vulgar Latin of the late Roman Empire became dominant in Roman Gaul....
 base-20 system also exist in French, as seen today in the names of the numbers from 60 through 99. For example, sixty-five is soixante-cinq (literally, "sixty [and] five"), while seventy-five is soixante-quinze (literally, "sixty [and] fifteen"). Furthermore, for any number between 80 and 99, the "tens-column" 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, eighty-two is quatre-vingt-deux (literally, four twenty[s] [and] two), while ninety-two is quatre-vingt-douze (literally, four twenty[s] [and] twelve). In Old French, forty was expressed as two twenties and sixty was three twenties, so that fifty-three was expressed as two twenties [and] thirteen, and so on.

The Irish language
Irish language

Irish , also known as Irish Gaelic, is a Goidelic languages of the Indo-European language family, originating in Ireland and historically spoken by the Irish people....
 also used base-20 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
Danish language

Danish is one of the North Germanic languages , a sub-group of the Germanic languages branch of the Indo-European languages. It is spoken by around 6 million people, mainly in Denmark; the language is also used by the 50,000 Danes in the northern parts of Schleswig-Holstein in Germany where it holds the status of minority language....
 display a similar base-20
Vigesimal

The vigesimal or Base - numeral system is based on 20 ....
 structure.

Sixty

Base 60 (sexagesimal
Sexagesimal

Sexagesimal is a numeral system with 60 as the radix. It originated with the ancient Sumerians in the 3rd millennium BC, was transmitted to the Babylonia, and is still used?in modified form?for measuring time, angles, and geographic coordinates....
) was used by the Sumerians and their successors in Mesopotamia
Mesopotamia

Mesopotamia is the area of the Tigris-Euphrates river system, along the Tigris and Euphrates rivers, largely corresponding to modern Iraq, as well as some parts of northeastern Syria, some parts of southeastern Turkey, and some parts of the Khuzestan Province of southwestern Iran....
 and survives today in our system of time (hence the division of an hour
Hour

The hour is a unit of time. It is not an SI unit but is Non-SI units accepted for use with SI....
 into 60 minute
Minute

A minute is a unit of measurement of time or of angle.The minute is a Unit of measurement of time equal to 1/60th of an hour or 60 seconds. In the Coordinated Universal Time time scale, a minute occasionally has 59 or 61 seconds; see leap second....
s and a minute into 60 second
Second

The second , sometimes abbreviated sec., is the name of a units of measurement of time, and is the International System of Units SI base unit of time....
s) and in our system of angular measure (a degree
Degree (angle)

A degree , usually denoted by ? , is a measurement of plane angle, representing 1/360 of a Turn ; one degree is equivalent to p/180 radians....
 is divided into 60 minutes
Minute of arc

A minute of arc, arcminute, or MOA is a unit of angle, equal to one sixtieth of one degree . Since one degree is defined as one three hundred sixtieth of a circle, 1 minute of arc is 1/21600 of the amount of arc in a closed circle....
 and a minute is divided into 60 seconds). Sixty also has a large number of factors, including the first six counting numbers
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
. Base-60 systems are believed to have originated through the merging of base-10 and base-12 systems. The Chinese Calendar
Chinese calendar

The Chinese calendar is lunisolar calendar, incorporating elements of a lunar calendar with those of a solar calendar. This measure of time was first introduced by the Babylonians ....
, for example, uses a base-60 Jia-Zi
Sexagenary cycle

The China sexagenary cycle , also known as Stems-Branches , is a cyclic numeral system of 60 combinations of the two basic cycles, the 10 Heavenly Stems and the 12 Earthly Branches ....
?? system to denote years, with each year within the 60-year cycle being named with two symbols, the first being base-10 (called Tian-Gan
Heavenly Stems

The ten Celestial Stems , sometimes known as Heavenly Stems, are the elements of an ancient China cyclic character numeral system: Jia , Yi , Bing , Ding , Wu , Ji , Geng , Xin , Ren , Gui ....
 or heavenly stems) and the second symbol being base 12 (called Di-Zhi
Earthly Branches

The Earthly Branches provide one China system for reckoning time.This system was built from observations of the orbit of Jupiter. Chinese astronomers divided the celestial circle into 12 sections to follow the orbit of Su?xing ....
?? or earthly branches). Both symbols are incremented in successive years until the first pattern recurs 60 years later. The second symbol of this system is also related to the 12-animal Chinese zodiac
Chinese zodiac

The Sheng xiao is 12 animals which are representative of years in some East Asia countries, and the Chinese zodiac is the 12-year cycle of these 12 animals....
 system. The Jia-zi system can also be applied to counting days, with a year containing roughly six 60-day cycles.

Dual base (five and twenty)

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
African languages

There are an estimated 2,000 languages spoken in Africa. They fall into four major language family:*Afro-Asiatic languages stretches from North Africa to the Horn of Africa and Southwest Asia....
 the word for five is the same as "hand" or "fist" (Dyola language of Guinea-Bissau
Guinea-Bissau

The Republic of Guinea-Bissau is a country in western Africa, and one of the smallest states in continental Africa. It is bordered by Senegal to the north, and Guinea to the south and east, with the Atlantic Ocean to its west....
, Banda
Banda

Banda may refer to:...
 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
Sudan

Sudan is a country in northeastern Africa. It is the largest in the African continent and the Arab World, and List of countries and outlying territories by total area by area....
 region.

Base names

Number From Latin From Greek Mixed or Other
Cardinals Ordinals Distributives  
1 unary
Unary numeral system

The unary numeral system is the Bijective numeration Base -1 numeral system. It is the simplest numeral system to represent natural numbers: in order to represent a number N, an arbitrarily chosen symbol representing 1 is repeated N times....
 
primal singulary henadic Primary
2 dual binary
Binary numeral system

The binary numeral system, or notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers....
 
dyadic
Dyadic

Dyadic may refer to:*Dyad*Dyadic communication*Dyadic counterpoint, the voice-against-voice conception of polyphony*Dyadic fraction*Dyadic product...
 
Secondary
3 tertial ternary
Ternary numeral system

Ternary or trinary is the Base - numeral system. Analogous to a "bit", a ternary numerical digit is known as a trit . One trit contains about 1.58596 bit of information....
, trinary
triadic
Triadic

Triadic may refer to:* Triadic patent, a series of corresponding patents* Triadic reciprocal causation, a concept in social psychology* Triadic relation, a mathematical concept...
 
Tertiary
4 quartal quaternary
Quaternary numeral system

Quaternary is the Base - numeral system. It uses the numerical digits 0, 1, 2 and 3 to represent any real number.It shares with all fixed-radix numeral systems many properties, such as the ability to represent any real number with a canonical representation and the characteristics of the representations of rational numbers and irrational...
 
tetradic  
5 quintal quinary
Quinary

Quinary is a numeral system with 5 as the base. This originates from the five fingers on either hand.In the quinary place system, five numerals from 0 to 4 , are used to represent any real number....
 
pentadic quinternary
6 sextal senary
Senary

In mathematics, a senary numeral system is a Base - numeral system. The name heximal is also valid for such a numeral system, but is deprecated to avoid confusion with the more often used hexadecimal number base, colloquially known as 'hex'....
 
hexadic heximal, hexary
7 septimal septenary
Septenary

The septenary numeral system is the base - number system, and uses the digits 0-6....
 
hebdomadic septuary
8 octal
Octal

The octal numeral system, or oct for short, is the radix-8 number system, and uses the digits 0 to 7. Numerals can be made from Binary numeral system numerals by grouping consecutive digits into groups of three ....
 
octaval, octavary octonary ogdoadic octonal
9 nonary
Nonary

Nonary is a Base - numeral system, typically using the numerical digits 0-8, but not the digit 9.The first few numbers in nonary and decimal are:...
 
novenary enneadic novary, noval
10 decimal
Decimal

The decimal numeral system has 10 as its Base . It is the most widely used numeral system....
 
denary decadic  
11 undecimal
Undecimal

The undecimal positional notation system is Base on the number eleven, rather than ten as in decimal or eight in octal and so on. It is not a commonly used system....
 
undenary hendecadic unodecimal
12 duodecimal
Duodecimal

The duodecimal system is a numeral system using 12 as its radix. In this system, the number 10 may be written as 'A', and the number 11 as 'B' ....
 
duodenary duodecadic dozenal
13 tridecimal, tredecimal
Tredecimal

The words Tredecimal and Tridecimal may specifically refer to*Base 13 numeral system* Tredecimal Syntonic comma...
 
triodecimal
14 quattuordecimal, quadrodecimal tetradecimal
Tetradecimal

The tetradecimal positional notation system is based on the number fourteen. Comparatively, the decimal system is based on the number ten, the hexadecimal system is based on the number sixteen, and so on....
15 quindecimal quindenary pentadecimal
Pentadecimal

The pentadecimal positional notation system is based on the number fifteen. Comparatively, the decimal system is based on the number ten, the hexadecimal system is based on the number sixteen, and so on....
16 sedecimal sedenary hexadecimal
Hexadecimal

In mathematics and computer science, hexadecimal is a numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 09 to represent values zero to nine, and A, B, C, D, E, F to represent values ten to fifteen....
, sexadecimal
17 septendecimal heptadecimal
18 octodecimal decennoctal
19 nonadecimal novodecimal, decennoval
20 vicesimal, vigesimal
Vigesimal

The vigesimal or Base - numeral system is based on 20 ....
 
vicenary icosadic bigesimal, bidecimal
30 tricesimal, trigesimal
Base 30

Base 30 or trigesimal is a positional notation using 30 as the radix. Digit s in this base can be represented using the Arabic numerals 0-9 and the Latin alphabet A-T....
 
tricenary triacontadic  
40 quadragesimal quadragenary  
50 quinquagesimal quinquagenary pentagesimal
60 sexagesimal
Sexagesimal

Sexagesimal is a numeral system with 60 as the radix. It originated with the ancient Sumerians in the 3rd millennium BC, was transmitted to the Babylonia, and is still used?in modified form?for measuring time, angles, and geographic coordinates....
 
sexagenary hexecontadic  
70 septuagesimal septuagenary  
80 octogesimal octogenary  
90 nonagesimal nonagenary  
100 centesimal centenary hecatontadic  
200 ducentesimal ducenary bicentesimal, bicentimal
300 trecentesimal trecenary tercentimal, tricentesimal
400 quadringentesimal quadringenary quadricentesimal, quattrocentimal
500 quingentesimal quingenary pentacentesimal, quincentimal
600 sescentesimal hexacentesimal, hexacentimal
700 septingentesimal septingenary heptacentesimal, heptacentimal
800 octingentesimal octingenary octacentesimal, octacentimal
900 noningentesimal nongenary  
1000 millesimal millenary chiliadic  
10000 myriadic decamillesimal


24 - quadrovigesimal / quadriovigesimal 26 - hexavigesimal
Hexavigesimal

A Hexavigesimal numeral system has a base of twenty-six.Base 26 is a fairly natural way of representing numbers as text using the 26-letter Latin alphabet....
 / sexavigesimal 27 - heptovigesimal 28 - octovigesimal 29 - novovigesimal 31 - unotrigesimal (...repeat naming pattern...) 36 - hexatridecimal / sexatrigesimal (...repeat naming pattern...) 41 - unoquadragesimal (...repeat naming pattern...) 51 - unoquinquagesimal (...repeat naming pattern...) 64 - quadrosexagesimal (...repeat naming pattern...) 110 - decacentimal 111 - unodecacentimal (...repeat naming pattern...) 210 - decabicentimal 211 - unodecabicentimal (...repeat naming pattern...) 800 - octocentimal / octocentesimal 2000 - bimillesimal (...repeat naming pattern...)

Positional systems in detail


In a positional base-b numeral system (with b a positive natural number
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
 known as the radix
Radix

In numeral system, the base or radix is usually the number of unique Numerical digit, including zero, that a Positional notation numeral system uses to represent numbers....
), 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
Decimal

The decimal numeral system has 10 as its Base . It is the most widely used numeral system....
 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 anbn + an − 1bn − 1 + an − 2bn − 2 + ... + a0b0 and writing the enumerated digits anan − 1an − 2 ... a0 in descending 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 bk are the weight
Weight function

A weight function is a mathematical device used when performing a sum, integral, or average in order to give some elements more of a "weight" than others....
s of the corresponding digits. The position k is the logarithm
Logarithm

In mathematics, the logarithm of a number to a given base is the Power or exponent to which the base must be raised in order to produce the number....
 of the corresponding weight w, that is . The highest used position is close to the order of magnitude
Order of magnitude

An order of magnitude is the class of scale or magnitude of any amount, where each class contains values of a fixed Geometric progression to the class preceding it....
 of the number.

The number of tally marks
Tally marks

Tally marks are an implementation of the unary numeral system. They are a form of numeral used for counting. They allow updating written intermediate results without erasing or discarding anything written down....
 required in the unary numeral system
Unary numeral system

The unary numeral system is the Bijective numeration Base -1 numeral system. It is the simplest numeral system to represent natural numbers: in order to represent a number N, an arbitrarily chosen symbol representing 1 is repeated N times....
 for describing the weight would have been w. In the positional system the number of digits required to describe it is only ', for . E.g. to describe the weight 1000 then 4 digits are needed since . The number of digits required to describe the position is (in positions 1, 10, 100... only for simplicity in the decimal example).

Position3210-1-2...
Weight ...
Digit ...
Decimal example weight 1000 100 10 1 0.1 0.01 ...
Decimal example digit 4 3 2 7 0 0 ...


Note that a number has a terminating or repeating expansion if and only if
If and only if

If and only if, in logic and fields that rely on it such as mathematics and philosophy, is a biconditional logical connective between statements....
 it is rational
Rational number

In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
; 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, p
Pi

Pi or p is a mathematical constant whose value is the ratio of any circle's circumference to its diameter in Euclidean geometry; this is the same value as the ratio of a circle's area to the square of its radius....
 = 3.1415926...10 can be written down as the unperiodic 11.001001000011111...2.

If b = p is a prime number
Prime number

In mathematics, a prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. An infinitude of prime numbers exists, as demonstrated by Euclid around 300 BC....
, one can define base-p numerals whose expansion to the left never stops; these are called the p-adic number
P-adic number

In mathematics, the p-adic number systems were first described by Kurt Hensel in 1897. For each prime number p, the p-adic number system extends the ordinary arithmetic of the rational numbers in a way different from the extension of the rational number system to the real number and complex number systems....
s.

Change of radix

A simple algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
 for converting integers between positive-integer radices is repeated division by the target radix; the remainders give the "digits" starting at the least significant. E.g., 1020304 base 10 into base 7:
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...


Generalized variable-length integers

More general is using a notation (here written little-endian
Endianness

In computing, endianness is the byte ordering used to represent some kind of data. Typical cases are the order in which integer values are stored as bytes in computer memory and the transmission order over a network or other medium....
) like for , etc.

This is used in punycode
Punycode

Punycode is a computer programming encoding syntax by which a Unicode string of characters can be translated into the more-limited Character encoding permitted in network Hostname....
, 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 (i.e. 1) then a (i.e. 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
Bijective numeration

Bijective numeration is any numeral system that establishes a bijection between the set of non-negative integers and the set of finite strings over a finite set of digits....
, where the zeros correspond to separators of numbers with digits which are nonzero.

Properties of numerical systems with integer bases

Numeral systems with base A, where A is a positive integer, possess the following properties:

If A is even and A/2 is odd, all integral powers greater than zero of the number (A/2)+1 will contain (A/2)+1 as their last digit


If both A and A/2 are even, then all integral powers greater than or equal to zero of the number (A/2)+1 will alternate between having (A/2)+1 and 1 as their last digit. (For odd powers it will be (A/2)+1, for even powers it will be 1)


Proof of the first property:

Define Then x is even, and all for p greater than 0 must be even. The property is equivalent to

We first check the case for p=1

x is less than A, so the result is trivial. We then check for p=2:

Since , then for all even N:

Because x is even, then is congruent to zero modulo A. Therefore:

Using induction, assuming that the property holds for p-1:

Since the case holds for p-1, then . Since

is a case of Equation 1, then . This leaves, for all p greater than 0,

Q.E.D.
Q.E.D.

Q.E.D. is an abbreviation of the List of Latin phrases , which literally means "which was to be demonstrated". The phrase is written in its abbreviated form at the end of a mathematical proof or Philosophy Logical argument, to signify that the last statement deduced was the one to be demonstrated, so the proof is complete....


Proof of the second property:

Define Then x is odd, and all for p greater than or equal to 0 must be odd. The property is equivalent to

Since , then for all odd E:

The case is first checked for p=0:

This result is trivial

Next, for p=1:

This result is also trivial

Next, for p=2:

Because x is odd, then x(x-1) is a case of Equation 2,

Next, for p=3:

Because is odd, is a case of Equation 2,

Since ,

, so .

Using induction, assuming that the property holds for p-1:

If p is odd:

Since is a case of Equation (2), , so

If p is even:

Since is a case of Equation (2), .

, so

Q.E.D.
Q.E.D.

Q.E.D. is an abbreviation of the List of Latin phrases , which literally means "which was to be demonstrated". The phrase is written in its abbreviated form at the end of a mathematical proof or Philosophy Logical argument, to signify that the last statement deduced was the one to be demonstrated, so the proof is complete....


See also

  • Babylonian numerals
    Babylonian numerals

    Babylonian numerals were written in cuneiform , using a wedge-tipped Phragmites stylus to make a mark on a soft clay tablet which would be exposed in the sun to harden to create a permanent record....
     — a sexagesimal (base-60) system
  • Computer numbering formats
    Computer numbering formats

    The term computer numbering formats refers to the schemes implemented in digital computer and calculator hardware and software to represent numbers....
  • Golden ratio base
    Golden ratio base

    Golden ratio base is a Non-standard positional numeral systems that uses the golden ratio as its base . It is sometimes referred to as base-f, golden mean base, phi-base, or, colloquially, phinary....
  • List of numeral system topics
    List of numeral system topics

    This is a list of numeral system topics and "numeric representations". It does not systematically list computer formats for storing numbers, see also: computer numbering formats and number names....
  • N-ary
  • Number names
    Number names

    In linguistics, a number name, or numeral, is a word in a natural language that signifi? a number.In history of writing, numerals are symbols representing numeral systems....
  • Quipu
    Quipu

    Quipu or khipu were recording devices used in the Inca Empire and its predecessor societies in the Andes region. A quipu usually consisted of colored spun and plied thread or strings from llama or alpaca hair....
  • Recurring decimal
  • Residue number system
    Residue number system

    A residue number system represents a large integer using a set of smaller integers, so that computation may be performed more efficiently. It relies on the Chinese remainder theorem of modular arithmetic for its operation, a mathematical idea from Sun Tzu in the 4th century AD....
  • Subtractive notation
    Subtractive notation

    Subtractive notation is an early form of positional notation used with Roman numerals as a shorthand to replace four or five characters in a numeral representing a number with usually just two characters....


External links

  • for Decimal/Roman Numerals (JavaScript
    JavaScript

    JavaScript is a scripting language widely used for client-side web development. It was the originating Programming language dialect of the ECMAScript standard....
    , GPL)
  • for Different Numeral Systems (Base 2-36, JavaScript
    JavaScript

    JavaScript is a scripting language widely used for client-side web development. It was the originating Programming language dialect of the ECMAScript standard....
    , GPL)