The ternary (base-3) numeral system uses three digits: 0, 1, and 2. Each position represents a power of 3.
Ternary systems are used in some specialized computing applications (ternary logic). Some argue that base-3 is the most efficient integer base for computation, as it is the closest to the mathematical constant e ≈ 2.718.