Nonary is a base 9 numeral system, typically using the digits 0-8, but not the digit 9.
The first few numbers in nonary and decimal are:
Nonary | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 14 |
Decimal | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
The multiplication table in nonary is:
* | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
2 | 2 | 4 | 6 | 8 | 11 | 13 | 15 | 17 |
3 | 3 | 6 | 10 | 13 | 16 | 20 | 23 | 26 |
4 | 4 | 8 | 13 | 17 | 22 | 26 | 31 | 35 |
5 | 5 | 11 | 16 | 22 | 27 | 33 | 38 | 44 |
6 | 6 | 13 | 20 | 26 | 33 | 40 | 46 | 53 |
7 | 7 | 15 | 23 | 31 | 38 | 46 | 54 | 62 |
8 | 8 | 17 | 26 | 35 | 44 | 53 | 62 | 71 |
Instead of using ternary, one may use nonary, where each nonary digit represents two ternary digits. This is similar to using hexadecimal instead of binary.
Except for three, no primes in nonary end in 0, 3 or 6, since any nonary number ending in 0, 3 or 6 is divisible by three.
A nonary number is divisible by two, four or eight, if the sum of its digits are also divisible by two, four or eight respectively.