Quaternary is the base-4 numeral system. It uses the digits 0, 1, 2 and 3 to represent any real number.
quaternary (base 4) | quinary (base 5) | quaternary (base 4) | quinary (base 5) |
---|---|---|---|
1 | = 1 | 23 | = 21 |
2 | = 2 | 30 | = 22 |
3 | = 3 | 31 | = 23 |
10 | = 4 | 32 | = 24 |
11 | = 10 | 33 | = 30 |
12 | = 11 | 100 | = 31 |
13 | = 12 | 101 | = 32 |
20 | = 13 | 102 | = 33 |
21 | = 14 | 103 | = 34 |
22 | = 20 | 110 | = 40 |
Quinary (base-5 or pental) is a numeral system with five as the base. A possible origination of a quinary system is that there are five fingers on either hand.
quinary (base 5) | quaternary (base 4) | quinary (base 5) | quaternary (base 4) |
---|---|---|---|
1 | ≈ 1 | 21 | ≈ 23 |
2 | ≈ 2 | 22 | ≈ 30 |
3 | ≈ 3 | 23 | ≈ 31 |
4 | ≈ 10 | 24 | ≈ 32 |
10 | ≈ 11 | 30 | ≈ 33 |
11 | ≈ 12 | 31 | ≈ 100 |
12 | ≈ 13 | 32 | ≈ 101 |
13 | ≈ 20 | 33 | ≈ 102 |
14 | ≈ 21 | 34 | ≈ 103 |
20 | ≈ 22 | 40 | ≈ 110 |
quaternary (base 4) | quinary (base 5) |
---|---|
1 | = 1 |
2 | = 2 |
3 | = 3 |
10 | = 4 |
11 | = 10 |
12 | = 11 |
13 | = 12 |
20 | = 13 |
21 | = 14 |
22 | = 20 |