Base 36

From Freepedia

Numeral systems

Arabic (Hindu)
Arabic (Abjad)
Armenian
Attic (Greek)
Babylonian
Brahmi
Chinese
Cyrillic
D'ni (fictional)
Egyptian
Etruscan
Greek
Hebrew
Indian
Ionian (Greek)
Japanese
Khmer
Mayan
Roman
Thai


Unary (1)
Binary (2)
Ternary (3)
Quinary (5)
Senary (6)
Octal (8)
Decimal (10)
Duodecimal (12)
Hexadecimal (16)
Vigesimal (20)
Quadrovigesimal (24)
Hexavigesimal (26)
Septemvigesimal (27)
Hexatridecimal (36)
Sexagesimal (60)

edit

Base 36 refers to a positional numeral system using 36 as the radix. The choice of 36 is convenient in that the digits can be represented using the Arabic numerals 0-9 and the Latin letters A-Z. Base 36 is therefore the most compact case-insensitive alphanumeric numeral system using ASCII characters. (Compare with base 16 and base 64.)

From a mathematical viewpoint, 36 is a convenient choice for a base in that it is divisible by both 2 and 3, and by their multiples 4, 6, 12 and 18. Each base 36 digit can be represented as two base 6 digits.

The most common latinate name for base 36 seems to be hexatridecimal, although sexatrigesimal would arguably be more correct. The intermediate form hexatrigesimal is also sometimes used. For more background on this naming confusion, see the entry for hexadecimal.

Examples

Conversion table:

Decimal   0   1   2   3   4   5   6   7   8   9 10 11 12 13 14 15 16 17
Base 36 0 1 2 3 4 5 6 7 8 9 A B C D E F G H
Decimal 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Base 36 I J K L M N O P Q R S T U V W X Y Z

Some numbers in decimal and base 36:

Decimal Base 36
1 1
10 A
100 2S
1000 RS
1000000 LFLS
1000000000 GJDGXS
1000000000000 CRE66I9S
Base 36 Decimal
1 1
10 36
100 1296
1000 46656
10000 1679616
100000 60466176
1000000 2176782336


Uses in practice

The Remote Imaging Protocol for bulletin board systems used base 36 notation for transmitting co-ordinates in a compact form. Many URL redirection systems like TinyURL also use base 36 integers as compact alphanumeric identifiers. Various systems use base 36 as a compact representation of Gregorian dates in file names, using one digit each for the day and the month.

External links



Views
Personal tools
Similar Links