Ternary or trinary is the base- numeral system. Ternary digits are known as trits (trinary digit), with a name analogous to "bit". Although ternary most often refers to a system in which the three digits, , , and , are all nonnegative integers, the adjective also lends its name to the balanced ternary system, used in comparison logic and ternary computers.
| Decimal | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Binary | 0 | 1 | 10 | 11 | 100 | 101 | 110 | 111 | 1000 | 1001 | 1010 |
| Ternary | 0 | 1 | 2 | 10 | 11 | 12 | 20 | 21 | 22 | 100 | 101 |
Ternary is inefficient for human usage, just as binary is. Therefore, nonary (base 9, each digit is two ternary digits) or septemvigesimal (base 27, each digit is three ternary digits) is often used, similar to how octal and hexadecimal systems are used in place of binary. Ternary also has a unit similar to a byte, the tryte, which is six ternary digits.
A base-three system isn't necessarily inefficient for human usage. It is used in Islam to count to 100 on a single hand for worship (as alternative for the rosary in Christianity). The benefit—apart from allowing a single hand to count up to 100—is that counting doesn't distract the mind too much since you only need to count to three. Once one has to count to four, counting would become exceedingly challenging.
Computer arithmetic | Positional numeral systems
Ternärsystem | Système trinaire | 삼진법 | Троичная система счисления | Trinär | เลขฐานสาม
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Ternary numeral system".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world