< 1 2 >
Ternary numeral system
The ternary numeral system (also called base 3) has three as its base, so it uses the digits 0, 1 and 2. Analogous to a bit, a ternary digit is a trit (trinary digit).
Explanation
With 1 trit you can make 31 = 3 numbers
03 = 0 13 = 1 23 = 2
With 2 trits you can make 32 = 9 numbers
003 = 0 013 = 1 023 = 2 103 = 3 113 = 4 123 = 5 203 = 6 213 = 7 223 = 8
With 3 trits you can make 33 = 27 numbers
0003 = 0 0013 = 1 0023 = 2 0103 = 3 0113 = 4 0123 = 5 0203 = 6 0213 = 7 0223 = 8 1003 = 9 1013 = 10 1023 = 11 1103 = 12 1113 = 13 1123 = 14 1203 = 15 1213 = 16 1223 = 17 2003 = 18 2013 = 19 2023 = 20 2103 = 21 2113 = 22 2123 = 23 2203 = 24 2213 = 25 2223 = 26