Base-4
Base-4, also known as quaternary, is a numeral system that uses four digits: 0, 1, 2, and 3. Each digit's position represents a power of 4, similar to how base-10 (decimal) uses powers of 10. For example, the base-4 number 132 in decimal is calculated as (1 × 4²) + (3 × 4¹) + (2 × 4⁰), which equals 22.
Base-4 is often used in computer science and digital systems, particularly in applications involving binary and ternary systems. It can simplify certain calculations and data representations, making it useful in specific algorithms and coding techniques. Understanding base-4 can enhance comprehension of how different numeral systems operate.