1 Answers

A quaternary /kwəˈtɜːrnəri/ numeral system is base-4. It uses the digits 0, 1, 2 and 3 to represent any real number. Conversion from binary is straightforward.

Four is the largest number within the subitizing range and one of two numbers that is both a square and a highly composite number , making quaternary a convenient choice for a base at this scale. Despite being twice as large, its radix economy is equal to that of binary. However, it fares no better in the localization of prime numbers.

Quaternary shares with all fixed-radix numeral systems many properties, such as the ability to represent any real number with a canonical representation and the characteristics of the representations of rational numbers and irrational numbers. See decimal and binary for a discussion of these properties.

Base-4 numeral system
7 views