*** Welcome to piglix ***

Numeral base


In mathematical numeral systems, the radix or base is the number of unique digits, including zero, used to represent numbers in a positional numeral system. For example, for the decimal system (the most common system in use today) the radix is ten, because it uses the ten digits from 0 through 9.

In any standard positional numeral system, a number is conventionally written as (x)y with x as the string of digits and y as its base, although for base ten the subscript is usually assumed (and omitted, together with the pair of parentheses), as it is the most common way to express value. For example, (100)dec = 100 (in the decimal system) represents the number one hundred, while (100)2 (in the binary system with base 2) represents the number four.

is a Latin word for "root". Root can be considered a synonym for base in the arithmetical sense.

In the system with radix 13, for example, a string of digits such as 398 denotes the number 3 × 132 + 9 × 131 + 8 × 130 = 625.

More generally, in a system with radix b (b > 1), a string of digits d1dn denotes the number d1bn−1 + d2bn−2 + … + dnb0, where 0 ≤ di < b.

Commonly used numeral systems include:

For a larger list, see List of numeral systems.

The octal and hexadecimal systems are often used in computing because of their ease as shorthand for binary. Every hexadecimal digit corresponds to a sequence of four binary digits, since sixteen is the fourth power of two; for example, hexadecimal 7816 is binary 11110002. A similar relationship holds between every octal digit and every possible sequence of three binary digits, since eight is the cube of two.


...
Wikipedia

...