Quaternary is the base-4 numeral system. It uses the digits 0, 1, 2 and 3 to represent any real number.
quaternary (base 4) | duodecimal (base 12) | quaternary (base 4) | duodecimal (base 12) |
---|---|---|---|
1 | = 1 | 23 | = b |
2 | = 2 | 30 | = 10 |
3 | = 3 | 31 | = 11 |
10 | = 4 | 32 | = 12 |
11 | = 5 | 33 | = 13 |
12 | = 6 | 100 | = 14 |
13 | = 7 | 101 | = 15 |
20 | = 8 | 102 | = 16 |
21 | = 9 | 103 | = 17 |
22 | = a | 110 | = 18 |
The duodecimal system (also known as base 12 or dozenal) is a positional notation numeral system using twelve as its base.
duodecimal (base 12) | quaternary (base 4) | duodecimal (base 12) | quaternary (base 4) |
---|---|---|---|
1 | ≈ 1 | b | ≈ 23 |
2 | ≈ 2 | 10 | ≈ 30 |
3 | ≈ 3 | 11 | ≈ 31 |
4 | ≈ 10 | 12 | ≈ 32 |
5 | ≈ 11 | 13 | ≈ 33 |
6 | ≈ 12 | 14 | ≈ 100 |
7 | ≈ 13 | 15 | ≈ 101 |
8 | ≈ 20 | 16 | ≈ 102 |
9 | ≈ 21 | 17 | ≈ 103 |
a | ≈ 22 | 18 | ≈ 110 |
quaternary (base 4) | duodecimal (base 12) |
---|---|
1 | = 1 |
2 | = 2 |
3 | = 3 |
10 | = 4 |
11 | = 5 |
12 | = 6 |
13 | = 7 |
20 | = 8 |
21 | = 9 |
22 | = a |