The ternary numeral system (also called base-3) has three as its base. Analogous to a bit, a ternary digit is a trit (trinary digit). One trit is equivalent to log23 (about 1.58496) bits of information.
ternary (base 3) | 13 | 23 | 103 | 113 | 123 | 203 | 213 | 223 | 1003 | 1013 |
hexadecimal (base 16) | 116 | 216 | 316 | 416 | 516 | 616 | 716 | 816 | 916 | a16 |
In mathematics and computing, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a, b, c, d, e, f) to represent values ten to fifteen.
hexadecimal (base 16) | 116 | 216 | 316 | 416 | 516 | 616 | 716 | 816 | 916 | a16 |
ternary (base 3) | 13 | 23 | 103 | 113 | 123 | 203 | 213 | 223 | 1003 | 1013 |
ternary (base 3) | 13 | 23 | 103 | 113 | 123 | 203 | 213 | 223 | 1003 | 1013 |
---|---|---|---|---|---|---|---|---|---|---|
hexadecimal (base 16) | 116 | 216 | 316 | 416 | 516 | 616 | 716 | 816 | 916 | a16 |