| Mixed Radix |
Article Index for Mixed |
Website Links For Mixed |
Information AboutMixed Radix |
| CATEGORIES ABOUT MIXED RADIX | |
| non-standard positional numeral systems | |
|
Mixed radix Numeral System s are Non-standard Positional Numeral Systems in which the numerical Base varies from position to position. Such numerical representation is advantageous when representing units that are equivalent to each other, but not by the same ratio. For example, 32 weeks, 5 days, 7 hours, 45 minutes, 15 seconds, and 500 milliseconds might be rendered relative to minutes in mixed-radix notation as: ... 3, 2, 5, 7, 45; 15, 500 ... 10, 10, 7, 24, 60; 60, 1000 or as :310210577244560.15605001000 In the tabular format, the digits are written above their base, and a Semicolon is used to indicate the Radix Point . In numeral format, each digit has its associated base attached as a subscript, and the position of the radix point is indicated by a Full Stop . EXAMPLES A mixed radix numeral system can often benefit from a tabular summary. The familiar system for describing the 604800 seconds of a week starting from midnight on Sunday runs as follows: In this numeral system, the mixed radix numeral 371251251605760 seconds would be interpreted as 05:51:57 PM on Wednesday, and 070201202602460 would be 12:02:24 AM on Sunday. ''Ad hoc'' notations for mixed radix numeral systems are commonplace. A second example of a mixed radix Numeral System in current use is in the design and use of Currency , where a limited set of denominations are printed or minted with the objective of being able to represent any monetary quantity; the amount of money is then represented by the number of Coins or Banknotes of each denomination. When deciding which denominations to create (and hence which radices to mix), a compromise is aimed for between a minimal number of different denominations, and a minimal number of individual pieces of coinage required to represent typical quantities. So, for example, in the UK, banknotes are printed for £50, £20, £10 and £5, and coins are minted for £2, £1, 50p, 20p, 10p, 5p, 2p and 1p. A historical example of a mixed radix numeral system is the system of Mayan Numerals , which generally used base-20, except for the second place (the "10s" in Decimal ) which was base-18, so that the first two places counted up to 360 (an approximation to the number of days in the year). Mixed-radix representation is also relevant to mixed-radix versions of the Cooley-Tukey FFT Algorithm , in which the indices of the input values are expanded in a mixed-radix representation, the indices of the output values are expanded in a corresponding mixed-radix representation with the order of the bases and digits reversed, and each subtransform can be regarded as a Fourier transform in one digit for all values of the remaining digits. MANIPULATION Mixed-radix numbers of the same base can be manipulated using a generalization of manual arithmetic algorithms. Conversion of values from one mixed base to another is easily accomplished by first converting the place values of the one system into the other, and then applying the digits from the one system against these. APL includes operators to convert to and from mixed-radix systems. FACTORIAL BASED RADIX ''Main article: Factoradic '' An interesting proposal is a Factorial based radix, also known as factoradic: For example, the biggest number that could be represented with six digits would be 543210 which equals 719 in Decimal : 5×5! + 4×4! + 3×3! + 2×2! + 1×1! + 0×1!. It might not be clear at first sight but factorial based numbering system is also unambiguous. No number can be represented by more than one way because the sum of respective factorials multiplied by the index is always the next factorial minus one: : This can be easily proved with Mathematical Induction . There is a natural mapping between the integers 0, ..., ''n''! − 1 and Permutation s of ''n'' elements in lexicographic order, when the integers are expressed in factoradic form. REFERENCES
EXTERNAL LINKS
|
|
|