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) | duodecimal (base 12) | ternary (base 3) | duodecimal (base 12) |
---|---|---|---|
1 | = 1 | 102 | = b |
2 | = 2 | 110 | = 10 |
10 | = 3 | 111 | = 11 |
11 | = 4 | 112 | = 12 |
12 | = 5 | 120 | = 13 |
20 | = 6 | 121 | = 14 |
21 | = 7 | 122 | = 15 |
22 | = 8 | 200 | = 16 |
100 | = 9 | 201 | = 17 |
101 | = a | 202 | = 18 |
The duodecimal system (also known as base 12 or dozenal) is a positional notation numeral system using twelve as its base.
duodecimal (base 12) | ternary (base 3) | duodecimal (base 12) | ternary (base 3) |
---|---|---|---|
1 | ≈ 1 | b | ≈ 102 |
2 | ≈ 2 | 10 | ≈ 110 |
3 | ≈ 10 | 11 | ≈ 111 |
4 | ≈ 11 | 12 | ≈ 112 |
5 | ≈ 12 | 13 | ≈ 120 |
6 | ≈ 20 | 14 | ≈ 121 |
7 | ≈ 21 | 15 | ≈ 122 |
8 | ≈ 22 | 16 | ≈ 200 |
9 | ≈ 100 | 17 | ≈ 201 |
a | ≈ 101 | 18 | ≈ 202 |
ternary (base 3) | duodecimal (base 12) |
---|---|
1 | = 1 |
2 | = 2 |
10 | = 3 |
11 | = 4 |
12 | = 5 |
20 | = 6 |
21 | = 7 |
22 | = 8 |
100 | = 9 |
101 | = a |