(mathematics) Pertaining to a numeration system using more than one radix, such as the biquinary system.
| Sci-Tech Dictionary: mixed radix |
(mathematics) Pertaining to a numeration system using more than one radix, such as the biquinary system.
| 5min Related Video: Mixed radix |
| Wikipedia: Mixed radix |
|
|
This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (August 2008) |
| Numeral systems by culture | |
|---|---|
| Hindu-Arabic numerals | |
| Western Arabic Eastern Arabic Indian family |
Khmer Mongolian Thai |
| East Asian numerals | |
| Chinese Counting rods Japanese |
Korean Suzhou |
| Alphabetic numerals | |
| Abjad Armenian Āryabhaṭa Cyrillic |
Ge'ez Greek (Ionian) Hebrew |
| Other systems | |
| Attic Babylonian Brahmi Egyptian Etruscan |
Inuit Mayan Roman Urnfield |
| List of numeral system topics | |
| Positional systems by base | |
| Decimal (10) | |
| 2, 4, 8, 16, 32, 64 | |
| 1, 3, 6, 9, 12, 20, 24, 30, 36, 60, more… | |
Mixed radix numeral systems 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:
... 32, 5, 7, 45; 15, 500 ... 52, 7, 24, 60; 60, 1000
or as
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.
Contents |
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:
| Radix: | 7 | 2 | 12 | 60 | 60 |
| Denomination: | day | half-day | hour | minute | second |
| Place value (seconds): | 86400 | 43200 | 3600 | 60 | 1 |
| Digit translations … | |||||
| day: | 0=Sunday, 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday | ||||
| half-day: | 0=AM, 1=PM | ||||
| hour: | 0 is written as "12" (!) | ||||
In this numeral system, the mixed radix numeral 371251251605760 seconds would be interpreted as 05:51:57 p.m. on Wednesday, and 070201202602460 would be 12:02 :24 a.m. 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—these follow the 1-2-5 series of preferred values. In theory, balanced ternary minimizes the number of pieces of coinage required to represent any quantity.
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.
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.
An interesting proposal is a factorial based radix, also known as factoradic:
| radix: | 8 | 7 | 6 | 5 | 4 | 3 | 2 |
| place value: | 7! | 6! | 5! | 4! | 3! | 2! | 1! |
| decimal: | 5040 | 720 | 120 | 24 | 6 | 2 | 1 |
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! It might not be clear at first sight but the factorial based numbering system is unambiguous and complete. Every number can be represented in one and only one way because the sum of respective factorials multiplied by the index is always the next factorial minus one:
![\sum_{i=0}^{n} (([i+1]+1)-1) \cdot ([i]+1)! = ([n+1]+1)! - 1](http://wpcontent.answers.com/math/3/5/9/3598bc1e154a0ad6d36b26adb69860c4.png)
There is a natural mapping between the integers 0, ..., n! − 1 and permutations of n elements in lexicographic order, when the integers are expressed in factoradic form.
The above equation is a particular case of the following general rule for any radix (either standard or mixed) base representation which expresses the fact that any radix (either standard or mixed) base representation is unambiguous and complete. Every number can be represented in one and only one way because the sum of respective weights multiplied by the index is always the next weight minus one:
, where
,which can be easily proved with mathematical induction.
Another interesting proposal is a primorial based radix, also known as primoradic:
| radix: | 17 | 13 | 11 | 7 | 5 | 3 | 2 |
| place value: | (p6=13)# | (p5=11)# | (p4=7)# | (p3=5)# | (p2=3)# | (p1=2)# | (p0=1)# |
| decimal: | 30030 | 2310 | 210 | 30 | 6 | 2 | 1 |
where
, and pj = jth prime, p0# = p0 = 1.This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| mixed-base number (mathematics) | |
| Residue number system | |
| List of numeral system topics |
| What is the pseudo code of radix sort in C? Read answer... | |
| What are you mixed with? Read answer... | |
| Can a mix of kerosene and diesel be mixed? Read answer... |
| What do you mean by a mixed radixin number system mixed radix number systemwhat are they? | |
| What a radix of 10 gives? | |
| What is the principle of radix sort? |
Copyrights:
![]() | Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Mixed radix". Read more |