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) | base 9 | ternary (base 3) | base 9 |
---|---|---|---|
1 | = 1 | 102 | = 12 |
2 | = 2 | 110 | = 13 |
10 | = 3 | 111 | = 14 |
11 | = 4 | 112 | = 15 |
12 | = 5 | 120 | = 16 |
20 | = 6 | 121 | = 17 |
21 | = 7 | 122 | = 18 |
22 | = 8 | 200 | = 20 |
100 | = 10 | 201 | = 21 |
101 | = 11 | 202 | = 22 |
base 9 | ternary (base 3) | base 9 | ternary (base 3) |
---|---|---|---|
1 | ≈ 1 | 12 | ≈ 102 |
2 | ≈ 2 | 13 | ≈ 110 |
3 | ≈ 10 | 14 | ≈ 111 |
4 | ≈ 11 | 15 | ≈ 112 |
5 | ≈ 12 | 16 | ≈ 120 |
6 | ≈ 20 | 17 | ≈ 121 |
7 | ≈ 21 | 18 | ≈ 122 |
8 | ≈ 22 | 20 | ≈ 200 |
10 | ≈ 100 | 21 | ≈ 201 |
11 | ≈ 101 | 22 | ≈ 202 |
ternary (base 3) | base 9 |
---|---|
1 | = 1 |
2 | = 2 |
10 | = 3 |
11 | = 4 |
12 | = 5 |
20 | = 6 |
21 | = 7 |
22 | = 8 |
100 | = 10 |
101 | = 11 |