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) | decimal | ternary (base 3) | decimal |
---|---|---|---|
1 | = 1 | 102 | = 11 |
2 | = 2 | 110 | = 12 |
10 | = 3 | 111 | = 13 |
11 | = 4 | 112 | = 14 |
12 | = 5 | 120 | = 15 |
20 | = 6 | 121 | = 16 |
21 | = 7 | 122 | = 17 |
22 | = 8 | 200 | = 18 |
100 | = 9 | 201 | = 19 |
101 | = 10 | 202 | = 20 |
The decimal numeral system (also called base-ten positional numeral system, and occasionally called denary) is the standard system for denoting integer and non-integer numbers. It has ten as its base.
decimal | ternary (base 3) | decimal | ternary (base 3) |
---|---|---|---|
1 | ≈ 1 | 11 | ≈ 102 |
2 | ≈ 2 | 12 | ≈ 110 |
3 | ≈ 10 | 13 | ≈ 111 |
4 | ≈ 11 | 14 | ≈ 112 |
5 | ≈ 12 | 15 | ≈ 120 |
6 | ≈ 20 | 16 | ≈ 121 |
7 | ≈ 21 | 17 | ≈ 122 |
8 | ≈ 22 | 18 | ≈ 200 |
9 | ≈ 100 | 19 | ≈ 201 |
10 | ≈ 101 | 20 | ≈ 202 |
ternary (base 3) | decimal |
---|---|
1 | = 1 |
2 | = 2 |
10 | = 3 |
11 | = 4 |
12 | = 5 |
20 | = 6 |
21 | = 7 |
22 | = 8 |
100 | = 9 |
101 | = 10 |