Positional Notation - Non-standard Positional Numeral Systems

Non-standard Positional Numeral Systems

Interesting properties exist when the base is not fixed or positive and when the digit symbol sets denote negative values. There are many more variations. These systems are of practical and theoretic value to computer scientists.

Balanced ternary uses a base of 3 but the digit set is {1,0,1} instead of {0,1,2}. The "1" has an equivalent value of −1. The negation of a number is easily formed by switching the on the 1s. This system can be used to solve the balance problem, which requires finding a minimal set of known counter-weights to determine an unknown weight. Weights of 1, 3, 9, ... 3n known units can be used to determine any unknown weight up to 1 + 3 + ... + 3n units. A weight can be used on either side of the balance or not at all. Weights used on the balance pan with the unknown weight are designated with 1, with 1 if used on the empty pan, and with 0 if not used. If an unknown weight W is balanced with 3 (31) on its pan and 1 and 27 (30 and 33) on the other, then its weight in decimal is 25 or 1011 in balanced base 3. (10113 = 1 × 33 + 0 × 32 − 1 × 31 + 1 × 30 = 25).

The factorial number system uses a varying radix, giving factorials as place values; they are related to Chinese remainder theorem and Residue number system enumerations. This system effectively enumerates permutations. A derivative of this uses the Towers of Hanoi puzzle configuration as a counting system. The configuration of the towers can be put into 1 to 1 correspondence with the decimal count of the step at which the configuration occurs and vice versa.

Decimal equivalents: −3 −2 −1 0 1 2 3 4 5 6 7 8
Balanced base 3: 10 11 1 0 1 11 10 11 111 110 111 101
Base −2: 1101 10 11 0 1 110 111 100 101 11010 11011 11000
Factoroid: 0 10 100 110 200 210 1000 1010 1100

Read more about this topic:  Positional Notation

Famous quotes containing the word systems:

    Our little systems have their day;
    They have their day and cease to be:
    They are but broken lights of thee,
    And thou, O Lord, art more than they.
    Alfred Tennyson (1809–1892)