Fractions :
In the following two lists, numerals are in duodecimal. For example, "10" means 9+3, and "12" means 9+5. Duodecimal
fractions for rational numbers with
3-smooth denominators terminate: • = 0.6 • = 0.4 • = 0.3 • = 0.2 • = 0.16 • = 0.14 • = 0.1 (this is one twelfth, is one tenth) • = 0.09 (this is one sixteenth, is one fourteenth) while other rational numbers have
recurring duodecimal fractions: • = 0. • = 0. • = 0.1 (one tenth) • = 0. (one eleventh) • = 0. (one thirteenth) • = 0.0 (one fourteenth) • = 0.0 (one fifteenth) As explained in
recurring decimals, whenever an
irreducible fraction is written in
radix point notation in any base, the fraction can be expressed exactly (terminates) if and only if all the
prime factors of its denominator are also prime factors of the base. Because 2\times5=10 in the decimal system, fractions whose denominators are made up solely of multiples of 2 and 5 terminate: = , = , and = can be expressed exactly as 0.125, 0.05, and 0.002 respectively. and , however, recur (0.333... and 0.142857142857...). Because 2\times2\times3=12 in the duodecimal system, is exact; and recur because they include 5 as a factor; is exact, and recurs, just as it does in decimal. The number of denominators that give terminating fractions within a given number of digits, , in a base is the number of factors (divisors) of b^n, the th power of the base (although this includes the divisor 1, which does not produce fractions when used as the denominator). The number of factors of
b^n is given using its prime factorization. For decimal, 10^n=2^n\times 5^n. The number of divisors is found by adding one to each exponent of each prime and multiplying the resulting quantities together, so the number of factors of
10^n is (n+1)(n+1)=(n+1)^2. For example, the number 8 is a factor of 103 (1000), so \frac{1}{8} and other fractions with a denominator of 8 cannot require more than three fractional decimal digits to terminate. \frac{5}{8}=0.625_{10}. For duodecimal, 10^n=2^{2n}\times 3^n. This has (2n+1)(n+1) divisors. The sample denominator of 8 is a factor of a gross 12^2=144 (in decimal), so eighths cannot need more than two duodecimal fractional places to terminate. \frac{5}{8}=0.76_{12}. Because both ten and twelve have two unique prime factors, the number of divisors of
b^n for grows quadratically with the exponent (in other words, of the order of n^2).
Recurring digits The Dozenal Society of America argues that factors of 3 are more commonly encountered in real-life
division problems than factors of 5. Thus, in practical applications, the nuisance of
repeating decimals is encountered less often when duodecimal notation is used. Advocates of duodecimal systems argue that this is particularly true of financial calculations, in which the twelve months of the year often enter into calculations. However, when recurring fractions
do occur in duodecimal notation, they are less likely to have a very short period than in decimal notation, because 12 (twelve) is between two
prime numbers, 11 (eleven) and 13 (thirteen), whereas ten is adjacent to the
composite number 9. Nonetheless, having a shorter or longer period does not help the main inconvenience that one does not get a finite representation for such fractions in the given base (so
rounding, which introduces inexactitude, is necessary to handle them in calculations), and overall one is more likely to have to deal with infinite recurring digits when fractions are expressed in decimal than in duodecimal, because one out of every three consecutive numbers contains the prime factor 3 in its factorization, whereas only one out of every five contains the prime factor 5. All other prime factors, except 2, are not shared by either ten or twelve, so they do not influence the relative likeliness of encountering recurring digits (any irreducible fraction that contains any of these other factors in its denominator will recur in either base). Also, the prime factor 2 appears twice in the factorization of twelve, whereas only once in the factorization of ten; which means that most fractions whose denominators are
powers of two will have a shorter, more convenient terminating representation in duodecimal than in decimal: • 1/(22) = = • 1/(23) = = • 1/(24) = = • 1/(25) = = The duodecimal period length of 1/
n are (in decimal) :0, 0, 0, 0, 4, 0, 6, 0, 0, 4, 1, 0, 2, 6, 4, 0, 16, 0, 6, 4, 6, 1, 11, 0, 20, 2, 0, 6, 4, 4, 30, 0, 1, 16, 12, 0, 9, 6, 2, 4, 40, 6, 42, 1, 4, 11, 23, 0, 42, 20, 16, 2, 52, 0, 4, 6, 6, 4, 29, 4, 15, 30, 6, 0, 4, 1, 66, 16, 11, 12, 35, 0, ... The duodecimal period length of 1/(
nth prime) are (in decimal) :0, 0, 4, 6, 1, 2, 16, 6, 11, 4, 30, 9, 40, 42, 23, 52, 29, 15, 66, 35, 36, 26, 41, 8, 16, 100, 102, 53, 54, 112, 126, 65, 136, 138, 148, 150, 3, 162, 83, 172, 89, 90, 95, 24, 196, 66, 14, 222, 113, 114, 8, 119, 120, 125, 256, 131, 268, 54, 138, 280, ... Smallest prime with duodecimal period
n are (in decimal) :11, 13, 157, 5, 22621, 7, 659, 89, 37, 19141, 23, 20593, 477517, 211, 61, 17, 2693651, 1657, 29043636306420266077, 85403261, 8177824843189, 57154490053, 47, 193, 303551, 79, 306829, 673, 59, 31, 373, 153953, 886381, 2551, 71, 73, ...
Irrational numbers The representations of
irrational numbers in any positional number system (including decimal and duodecimal) neither terminate nor
repeat. Examples: == See also ==