Nonary/ˈnɒnəri/, also known as nonal, is a numeral system with nine as its base. It's mainly known for being a compact notation for ternary (base 3), where each digit symbolizes two trits (ternary digits).
Nonary serves as a compact notation for ternary, using the same digits as in decimal with the exclusion of 9. It is seen as a convenient compaction method due to the similarities between it and decimal (109 = 910, 119 = 1010, etc. until 189 = 1710). Nonary itself is also related to septemvigesimal (base 27), in which the digits range from 0-9 and the letters A-Q (Q27 = 289 = 2223 = 2610). The only prime factor of nine is three, so only powers of three can be represented as decimals that are not recurring. Every non-recurring decimal is turned into a recurring decimal just by appending an infinite string of eights (the highest digit before 109).