👉 In mathematics, a ternary numeral (or tern) is an integer that has exactly three distinct positive digits. This means that each digit in the number can be any of the three values 0, 1, and 2. For example, the tern "123" represents the integer 123. A ternary numeral system (also known as a ternary system) is used to represent numbers by using only these three symbols: 0, 1, and