Английская Википедия:Duodecimal

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Distinguish Шаблон:Numeral systems The duodecimal system, also known as base twelve or dozenal, is a positional numeral system using twelve as its base. In duodecimal, the number twelve is denoted "10", meaning 1 twelve and 0 units; in the decimal system, this number is instead written as "12" meaning 1 ten and 2 units, and the string "10" means ten. In duodecimal, "100" means twelve squared, "1000" means twelve cubed, and "0.1" means a twelfth.

Various symbols have been used to stand for ten and eleven in duodecimal notation; this page uses Шаблон:D2 and Шаблон:D3, as in hexadecimal, which make a duodecimal count from zero to twelve read 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, Шаблон:D2, Шаблон:D3, 10. The Dozenal Societies of America and Great Britain (organisations promoting the use of duodecimal) use turned digits in their published material: Шаблон:Math (a turned 2) for ten and Шаблон:Math (a turned 3) for eleven.

The number twelve, a superior highly composite number, is the smallest number with four non-trivial factors (2, 3, 4, 6), and the smallest to include as factors all four numbers (1 to 4) within the subitizing range, and the smallest abundant number. All multiples of reciprocals of 3-smooth numbers (Шаблон:Math where Шаблон:Mvar are integers) have a terminating representation in duodecimal. In particular, Шаблон:Frac (0.3), Шаблон:Frac (0.4), Шаблон:Frac (0.6), Шаблон:Frac (0.8), and Шаблон:Frac (0.9) all have a short terminating representation in duodecimal. There is also higher regularity observable in the duodecimal multiplication table. As a result, duodecimal has been described as the optimal number system.[1]

In these respects, duodecimal is considered superior to decimal, which has only 2 and 5 as factors, and other proposed bases like octal or hexadecimal. Sexagesimal (base sixty) does even better in this respect (the reciprocals of all 5-smooth numbers terminate), but at the cost of unwieldy multiplication tables and a much larger number of symbols to memorize.

Origin

In this section, numerals are in decimal. For example, "10" means 9+1, and "12" means 9+3.

Georges Ifrah speculatively traced the origin of the duodecimal system to a system of finger counting based on the knuckle bones of the four larger fingers. Using the thumb as a pointer, it is possible to count to 12 by touching each finger bone, starting with the farthest bone on the fifth finger, and counting on. In this system, one hand counts repeatedly to 12, while the other displays the number of iterations, until five dozens, i.e. the 60, are full. This system is still in use in many regions of Asia.[2][3]

Languages using duodecimal number systems are uncommon. Languages in the Nigerian Middle Belt such as Janji, Gbiri-Niragu (Gure-Kahugu), Piti, and the Nimbia dialect of Gwandara;[4] and the Chepang language of Nepal[5] are known to use duodecimal numerals.

Germanic languages have special words for 11 and 12, such as eleven and twelve in English. They come from Proto-Germanic *ainlif and *twalif (meaning, respectively, one left and two left), suggesting a decimal rather than duodecimal origin.[6][7] However, Old Norse used a hybrid decimal–duodecimal counting system, with its words for "one hundred and eighty" meaning 200 and "two hundred" meaning 240.[8] On the British Isles, this style of counting survived well into the Middle Ages as the long hundred.

Historically, units of time in many civilizations are duodecimal. There are twelve signs of the zodiac, twelve months in a year, and the Babylonians had twelve hours in a day (although at some point, this was changed to 24). Traditional Chinese calendars, clocks, and compasses are based on the twelve Earthly Branches or 24 (12×2) Solar terms. There are 12 inches in an imperial foot, 12 troy ounces in a troy pound, 12 old British pence in a shilling, 24 (12×2) hours in a day; many other items are counted by the dozen, gross (144, square of 12), or great gross (1728, cube of 12). The Romans used a fraction system based on 12, including the uncia, which became both the English words ounce and inch. Pre-decimalisation, Ireland and the United Kingdom used a mixed duodecimal-vigesimal currency system (12 pence = 1 shilling, 20 shillings or 240 pence to the pound sterling or Irish pound), and Charlemagne established a monetary system that also had a mixed base of twelve and twenty, the remnants of which persist in many places.

Duodecimally divided units
Relative
value
Length Weight
French English English (Troy) Roman
120 pied foot pound libra
12−1 pouce inch ounce uncia
12−2 ligne line 2 scruples 2 scrupula
12−3 point point seed siliqua

Notations and pronunciations

In a positional numeral system of base n (twelve for duodecimal), each of the first n natural numbers is given a distinct numeral symbol, and then n is denoted "10", meaning 1 times n plus 0 units. For duodecimal, the standard numeral symbols for 0–9 are typically preserved for zero through nine, but there are numerous proposals for how to write the numerals representing "ten" and "eleven".[9]

Symbols Background Note
A B As in hexadecimal To allow entry on typewriters.
T E Initials of Ten and Eleven
X E X from the Roman numeral;
E from Eleven.
X Z Origin of Z unknown Attributed to D'Alembert & Buffon by the DSA.[9]
δ ε Greek delta from Шаблон:Lang "ten";
epsilon from Шаблон:Lang "eleven"[9]
τ ε Greek tau, epsilon[9]
W W from doubling the Roman numeral V;
∂ based on a pendulum
Silvio Ferrari in Calcolo Decidozzinale (1854).[10]
X Ɛ italic X pronounced "dec";
rounded italic Ɛ, pronounced "elf"
Frank Andrews in New Numbers (1935), with italic 09 for other duodecimal numerals.[11]
Шаблон:Mono Шаблон:Mono sextile or six-pointed asterisk,
hash or octothorpe
On push-button telephones; used by Edna Kramer in The Main Stream of Mathematics (1951); used by the DSA 1974–2008[12][13][9]
2 3 Шаблон:Ubli Isaac Pitman (1857);[14] used by the DSGB; used by the DSA since 2015; included in Unicode 8.0 (2015)[15][16]
Файл:Dozenal us 10.svg Файл:Dozenal us 11.svg Pronounced "dek", "el" Шаблон:Ubl

Transdecimal symbols

Шаблон:Infobox symbol

To allow entry on typewriters, letters such as Шаблон:Angbr (as in hexadecimal), Шаблон:Angbr (initials of Ten and Eleven), Шаблон:Angbr, or Шаблон:Angbr (X from the Roman numeral for ten) are used. Some employ Greek letters, such as Шаблон:Angbr (from Greek Шаблон:Lang "ten" and Шаблон:Lang "eleven") or Шаблон:Angbr.[9] Frank Emerson Andrews, an early American advocate for duodecimal, suggested and used in his 1935 book New Numbers Шаблон:Angbr (italic capital X and a rounded italic capital E similar to open E), along with italic numerals Шаблон:MonoШаблон:Mono.[11]

Edna Kramer in her 1951 book The Main Stream of Mathematics used a Шаблон:Angbr (sextile or six-pointed asterisk, hash or octothorpe).[9] The symbols were chosen because they were available on some typewriters; they are also on push-button telephones.[9] This notation was used in publications of the Dozenal Society of America (DSA) from 1974 to 2008.[17][18]

From 2008 to 2015, the DSA used Шаблон:Angbr, the symbols devised by William Addison Dwiggins.[9][19]

The Dozenal Society of Great Britain (DSGB) proposed symbols Шаблон:Angbr.[9] This notation, derived from Arabic digits by 180° rotation, was introduced by Isaac Pitman in 1857.[9][14] In March 2013, a proposal was submitted to include the digit forms for ten and eleven propagated by the Dozenal Societies in the Unicode Standard.[20] Of these, the British/Pitman forms were accepted for encoding as characters at code points Шаблон:Unichar and Шаблон:Unichar. They were included in Unicode 8.0 (2015).[15][21]

After the Pitman digits were added to Unicode, the DSA took a vote and then began publishing content using the Pitman digits instead.[22] They still use the letters X and E in ASCII text. As the Unicode characters are poorly supported, this page uses "Шаблон:D2" and "Шаблон:D3".

Other proposals are more creative or aesthetic; for example, many do not use any Arabic numerals under the principle of "separate identity."[9]

Шаблон:AnchorBase notation

There are also varying proposals of how to distinguish a duodecimal number from a decimal one. The most common method used in mainstream mathematics sources comparing various number bases uses a subscript "10" or "12", e.g. "5412 = 6410". To avoid ambiguity about the meaning of the subscript 10, the subscripts might be spelled out, "54twelve = 64ten". In 2015 the Dozenal Socity of America adopted the more compact single-letter abbreviation "z" for "dozenal" and "d" for "decimal", "54z = 64d".[23]

Other proposed methods include italicizing duodecimal numbers "54 = 64", adding a "Humphrey point" (a semicolon instead of a decimal point) to duodecimal numbers "54;6 = 64.5", prefixing duodecimal numbers by an asterisk "*54 = 64", or some combination of these. The Dozenal Society of Great Britain uses an asterisk prefix for duodecimal whole numbers, and a Humphrey point for other duodecimal numbers.[23]

Pronunciation

The Dozenal Society of America suggested the pronunciation of ten and eleven as "dek" and "el". For the names of powers of twelve, there are two prominent systems.

Duodecimal numbers

In this system, the prefix e- is added for fractions.[19][24]

Duodecimal
number
Number
name
Decimal
number
Duodecimal
fraction
Fraction
name
1; one 1
10; Шаблон:Abbr 12 0;1 edo
100; Шаблон:Abbr 144 0;01 egro
1,000; Шаблон:Abbr 1,728 0;001 emo
10,000; do-mo 20,736 0;000,1 edo-mo
100,000; gro-mo 248,832 0;000,01 egro-mo
1,000,000; bi-mo 2,985,984 0;000,001 ebi-mo
10,000,000; do-bi-mo 35,831,808 0;000,000,1 edo-bi-mo
100,000,000; gro-bi-mo 429,981,696 0;000,000,01 egro-bi-mo

As numbers get larger (or fractions smaller), the last two morphemes are successively replaced with tri-mo, quad-mo, penta-mo, and so on.

Multiple digits in this series are pronounced differently: 12 is "do two"; 30 is "three do"; 100 is "gro"; Шаблон:D3Шаблон:D29 is "el gro dek do nine"; Шаблон:D386 is "el gro eight do six"; 8Шаблон:D3Шаблон:D3,15Шаблон:D2 is "eight gro el do el, one gro five do dek"; ABA is "dek gro el do dek"; BBB is "el gro el do el"; 0.06 is "six egro"; and so on.[24]

Systematic Dozenal Nomenclature (SDN)

This system uses "-qua" ending for the positive powers of 12 and "-cia" ending for the negative powers of 12, and an extension of the IUPAC systematic element names (with syllables dec and lev for the two extra digits needed for duodecimal) to express which power is meant.[25][26]

Duodecimal
number
Number
name
Decimal
number
Duodecimal
fraction
Fraction
name
1; one 1
10; unqua 12 0;1 uncia
100; biqua 144 0;01 bicia
1,000; triqua 1,728 0;001 tricia
10,000; quadqua 20,736 0;000,1 quadcia
100,000; pentqua 248,832 0;000,01 pentcia
1,000,000; hexqua 2,985,984 0;000,001 hexcia

After hex-, further prefixes continue sept-, oct-, enn-, dec-, lev-, unnil-, unun-.

Advocacy and "dozenalism"

William James Sidis used 12 as the base for his constructed language Vendergood in 1906, noting it being the smallest number with four factors and its prevalence in commerce.[27]

The case for the duodecimal system was put forth at length in Frank Emerson Andrews' 1935 book New Numbers: How Acceptance of a Duodecimal Base Would Simplify Mathematics. Emerson noted that, due to the prevalence of factors of twelve in many traditional units of weight and measure, many of the computational advantages claimed for the metric system could be realized either by the adoption of ten-based weights and measure or by the adoption of the duodecimal number system.[11]

Файл:Keys in dozenal clock.svg
A duodecimal clockface as in the logo of the Dozenal Society of America, here used to denote musical keys

Both the Dozenal Society of America and the Dozenal Society of Great Britain promote widespread adoption of the duodecimal system. They use the word "dozenal" instead of "duodecimal" to avoid the more overtly decimal terminology. However, the etymology of "dozenal" itself is also an expression based on decimal terminology since "dozen" is a direct derivation of the French word douzaine, which is a derivative of the French word for twelve, douze, descended from Latin duodecim.

Mathematician and mental calculator Alexander Craig Aitken was an outspoken advocate of duodecimal: Шаблон:Quote

Шаблон:Blockquote

In media

In "Little Twelvetoes", American television series Schoolhouse Rock! portrayed an alien being with twelve fingers and twelve toes using duodecimal arithmetic, using "dek" and "el" as names for ten and eleven, and Andrews' script-X and script-E for the digit symbols.[28][29]

Duodecimal systems of measurements

Systems of measurement proposed by dozenalists include:

  • Tom Pendlebury's TGM system[30][26]
  • Takashi Suga's Universal Unit System[31][26]
  • John Volan's Primel system[32]

Comparison to other number systems

In this section, numerals are in decimal. For example, "10" means 9+1, and "12" means 6×2.

The Dozenal Society of America argues that if a base is too small, significantly longer expansions are needed for numbers; if a base is too large, one must memorise a large multiplication table to perform arithmetic. Thus, it presumes that "a number base will need to be between about 7 or 8 through about 16, possibly including 18 and 20".[33]

The number 12 has six factors, which are 1, 2, 3, 4, 6, and 12, of which 2 and 3 are prime. It is the smallest number to have six factors, the largest number to have at least half of the numbers below it as divisors, and is only slightly larger than 10. (The numbers 18 and 20 also have six factors but are much larger.) Ten, in contrast, only has four factors, which are 1, 2, 5, and 10, of which 2 and 5 are prime.[33] Six shares the prime factors 2 and 3 with twelve; however, like ten, six only has four factors (1, 2, 3, and 6) instead of six. Its corresponding base, senary, is below the DSA's stated threshold.

Eight and Sixteen only have 2 as a prime factor. Therefore, in octal and hexadecimal, the only terminating fractions are those whose denominator is a power of two.

Thirty is the smallest number that has three different prime factors (2, 3, and 5, the first three primes), and it has eight factors in total (1, 2, 3, 5, 6, 10, 15, and 30). Sexagesimal was actually used by the ancient Sumerians and Babylonians, among others; its base, sixty, adds the four convenient factors 4, 12, 20, and 60 to 30 but no new prime factors. The smallest number that has four different prime factors is 210; the pattern follows the primorials. However, these numbers are quite large to use as bases, and are far beyond the DSA's stated threshold.

In all base systems, there are similarities to the representation of multiples of numbers that are one less than or one more than the base.

In the following multiplication table, numerals are written in duodecimal. For example, "10" means twelve, and "12" means fourteen.

Duodecimal multiplication table
× 1 2 3 4 5 6 7 8 9 Шаблон:D2 Шаблон:D3 10
1 1 2 3 4 5 6 7 8 9 Шаблон:D2 Шаблон:D3 10
2 2 4 6 8 Шаблон:D2 10 12 14 16 18 1Шаблон:D2 20
3 3 6 9 10 13 16 19 20 23 26 29 30
4 4 8 10 14 18 20 24 28 30 34 38 40
5 5 Шаблон:D2 13 18 21 26 2Шаблон:D3 34 39 42 47 50
6 6 10 16 20 26 30 36 40 46 50 56 60
7 7 12 19 24 2Шаблон:D3 36 41 48 53 5Шаблон:D2 65 70
8 8 14 20 28 34 40 48 54 60 68 74 80
9 9 16 23 30 39 46 53 60 69 76 83 90
Шаблон:D2 Шаблон:D2 18 26 34 42 50 5Шаблон:D2 68 76 84 92 A0
Шаблон:D3 Шаблон:D3 1Шаблон:D2 29 38 47 56 65 74 83 92 Шаблон:D21 B0
10 10 20 30 40 50 60 70 80 90 A0 B0 100

Conversion tables to and from decimal

To convert numbers between bases, one can use the general conversion algorithm (see the relevant section under positional notation). Alternatively, one can use digit-conversion tables. The ones provided below can be used to convert any duodecimal number between 0;1 and Шаблон:D3Шаблон:D3,Шаблон:D3Шаблон:D3Шаблон:D3;Шаблон:D3 to decimal, or any decimal number between 0.1 and 99,999.9 to duodecimal. To use them, the given number must first be decomposed into a sum of numbers with only one significant digit each. For example:

12,345.6 = 10,000 + 2,000 + 300 + 40 + 5 + 0.6

This decomposition works the same no matter what base the number is expressed in. Just isolate each non-zero digit, padding them with as many zeros as necessary to preserve their respective place values. If the digits in the given number include zeroes (for example, 7,080.9), these are left out in the digit decomposition (7,080.9 = 7,000 + 80 + 0.9). Then, the digit conversion tables can be used to obtain the equivalent value in the target base for each digit. If the given number is in duodecimal and the target base is decimal, we get:

(duodecimal) 10,000 + 2,000 + 300 + 40 + 5 + 0;6
= (decimal) 20,736 + 3,456 + 432 + 48 + 5 + 0.5

Because the summands are already converted to decimal, the usual decimal arithmetic is used to perform the addition and recompose the number, arriving at the conversion result:

Duodecimal --->  Decimal
  
  10,000    =   20,736
   2,000    =    3,456 
     300    =      432
      40    =       48
       5    =        5
 +     0;6  =  +     0.5
-----------------------------
  12,345;6  =   24,677.5

That is, (duodecimal) 12,345;6 equals (decimal) 24,677.5

If the given number is in decimal and the target base is duodecimal, the method is same. Using the digit conversion tables:

(decimal) 10,000 + 2,000 + 300 + 40 + 5 + 0.6
= (duodecimal) 5,954 + 1,1Шаблон:D28 + 210 + 34 + 5 + 0;Шаблон:Overline

To sum these partial products and recompose the number, the addition must be done with duodecimal rather than decimal arithmetic:

  Decimal --> Duodecimal
  
  10,000    =   5,954
   2,000    =   1,1Шаблон:D28
     300    =     210
      40    =      34
       5    =       5
 +     0.6  =  +    0;Шаблон:Overline
-------------------------------
  12,345.6  =   7,189;Шаблон:Overline

That is, (decimal) 12,345.6 equals (duodecimal) 7,189;Шаблон:Overline

Duodecimal to decimal digit conversion

Duod. Dec. Duod. Dec. Duod. Dec. Duod. Dec. Duod. Dec. Duod. Dec.
10,000 20,736 1,000 1,728 100 144 10 12 1 1 0;1 0.08Шаблон:Overline
20,000 41,472 2,000 3,456 200 288 20 24 2 2 0;2 0.1Шаблон:Overline
30,000 62,208 3,000 5,184 300 432 30 36 3 3 0;3 0.25
40,000 82,944 4,000 6,912 400 576 40 48 4 4 0;4 0.Шаблон:Overline
50,000 103,680 5,000 8,640 500 720 50 60 5 5 0;5 0.41Шаблон:Overline
60,000 124,416 6,000 10,368 600 864 60 72 6 6 0;6 0.5
70,000 145,152 7,000 12,096 700 1,008 70 84 7 7 0;7 0.58Шаблон:Overline
80,000 165,888 8,000 13,824 800 1,152 80 96 8 8 0;8 0.Шаблон:Overline
90,000 186,624 9,000 15,552 900 1,296 90 108 9 9 0;9 0.75
Шаблон:Nowrap 207,360 Шаблон:D2,000 17,280 Шаблон:D200 1,440 Шаблон:D20 120 Шаблон:D2 10 0;Шаблон:D2 0.8Шаблон:Overline
Шаблон:D30,000 228,096 Шаблон:D3,000 19,008 Шаблон:D300 1,584 Шаблон:D30 132 Шаблон:D3 11 0;Шаблон:D3 0.91Шаблон:Overline

Decimal to duodecimal digit conversion

Dec. Duod. Dec. Duod. Dec. Duod. Dec. Duod. Dec. Duod. Dec. Duodecimal
10,000 5,954 1,000 6Шаблон:D34 100 84 10 Шаблон:D2 1 1 0.1 0;1Шаблон:Overline
20,000 Шаблон:D3,6Шаблон:D28 2,000 1,1Шаблон:D28 200 148 20 18 2 2 0.2 0;Шаблон:Overline
30,000 15,440 3,000 1,8Шаблон:D20 300 210 30 26 3 3 0.3 0;3Шаблон:Overline
40,000 1Шаблон:D3,194 4,000 2,394 400 294 40 34 4 4 0.4 0;Шаблон:Overline
50,000 24,Шаблон:D328 5,000 2,Шаблон:D288 500 358 50 42 5 5 0.5 0;6
60,000 2Шаблон:D2,880 6,000 3,580 600 420 60 50 6 6 0.6 0;Шаблон:Overline
70,000 34,614 7,000 4,074 700 4Шаблон:D24 70 5Шаблон:D2 7 7 0.7 0;8Шаблон:Overline
80,000 3Шаблон:D2,368 8,000 4,768 800 568 80 68 8 8 0.8 0;Шаблон:Overline
90,000 44,100 9,000 5,260 900 630 90 76 9 9 0.9 0;Шаблон:D2Шаблон:Overline

Fractions and irrational numbers

Fractions

Duodecimal fractions for rational numbers with 3-smooth denominators terminate:

while other rational numbers have recurring duodecimal fractions:

Examples in duodecimal Decimal equivalent
1 × Шаблон:Sfrac = 0.76 1 × Шаблон:Sfrac = 0.625
100 × Шаблон:Sfrac = 76 144 × Шаблон:Sfrac = 90
Шаблон:Sfrac = 76 Шаблон:Sfrac = 90
Шаблон:Sfrac = 54 Шаблон:Sfrac = 64
1Шаблон:D2.6 + 7.6 = 26 22.5 + 7.5 = 30

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 <math>2\times5=10</math> in the decimal system, fractions whose denominators are made up solely of multiples of 2 and 5 terminate: Шаблон:Sfrac = Шаблон:Sfrac, Шаблон:Sfrac = Шаблон:Sfrac, and Шаблон:Sfrac = Шаблон:Sfrac can be expressed exactly as 0.125, 0.05, and 0.002 respectively. Шаблон:Sfrac and Шаблон:Sfrac, however, recur (0.333... and 0.142857142857...).

Because <math>2\times2\times3=12</math> in the duodecimal system, Шаблон:Sfrac is exact; Шаблон:Sfrac and Шаблон:Sfrac recur because they include 5 as a factor; Шаблон:Sfrac is exact, and Шаблон:Sfrac recurs, just as it does in decimal.

The number of denominators that give terminating fractions within a given number of digits, Шаблон:Math, in a base Шаблон:Math is the number of factors (divisors) of <math>b^n</math>, the Шаблон:Mathth power of the base Шаблон:Math (although this includes the divisor 1, which does not produce fractions when used as the denominator). The number of factors of <math>b^n</math> is given using its prime factorization.

For decimal, <math>10^n=2^n\times 5^n</math>. 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 <math>10^n</math> is <math>(n+1)(n+1)=(n+1)^2</math>.

For example, the number 8 is a factor of 103 (1000), so <math display="inline">\frac{1}{8}</math> and other fractions with a denominator of 8 cannot require more than three fractional decimal digits to terminate. <math display="inline">\frac{5}{8}=0.625_{10}.</math>

For duodecimal, <math>10^n=2^{2n}\times 3^n</math>. This has <math>(2n+1)(n+1)</math> divisors. The sample denominator of 8 is a factor of a gross <math display="inline">12^2=144</math> in decimal), so eighths cannot need more than two duodecimal fractional places to terminate. <math display="inline">\frac{5}{8}=0.76_{12}.</math>

Because both ten and twelve have two unique prime factors, the number of divisors of <math>b^n</math> for Шаблон:Math grows quadratically with the exponent Шаблон:Math (in other words, of the order of <math>n^2</math>).

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.[33] 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) = 0.2510 = 0.312
  • 1/(23) = 0.12510 = 0.1612
  • 1/(24) = 0.062510 = 0.0912
  • 1/(25) = 0.0312510 = 0.04612
Decimal base
Prime factors of the base: 2, 5
Prime factors of one below the base: 3
Prime factors of one above the base: 11
All other primes: 7, 13, 17, 19, 23, 29, 31
Duodecimal base
Prime factors of the base: 2, 3
Prime factors of one below the base: Шаблон:D3
Prime factors of one above the base: 11 (=1310)
All other primes: 5, 7, 15, 17, 1Шаблон:D3, 25, 27
Fraction Prime factors
of the denominator
Positional representation Positional representation Prime factors
of the denominator
Fraction
1/2 2 0.5 0;6 2 1/2
1/3 3 0.Шаблон:Overline 0;4 3 1/3
1/4 2 0.25 0;3 2 1/4
1/5 5 0.2 0;Шаблон:Overline 5 1/5
1/6 2, 3 0.1Шаблон:Overline 0;2 2, 3 1/6
1/7 7 0.Шаблон:Overline 0;Шаблон:Overline 7 1/7
1/8 2 0.125 0;16 2 1/8
1/9 3 0.Шаблон:Overline 0;14 3 1/9
1/10 2, 5 0.1 0;1Шаблон:Overline 2, 5 1/Шаблон:D2
1/11 11 0.Шаблон:Overline 0;Шаблон:Overline Шаблон:D3 1/Шаблон:D3
1/12 2, 3 0.08Шаблон:Overline 0;1 2, 3 1/10
1/13 13 0.Шаблон:Overline 0;Шаблон:Overline 11 1/11
1/14 2, 7 0.0Шаблон:Overline 0;0Шаблон:Overline 2, 7 1/12
1/15 3, 5 0.0Шаблон:Overline 0;0Шаблон:Overline 3, 5 1/13
1/16 2 0.0625 0;09 2 1/14
1/17 17 0.Шаблон:Overline 0;Шаблон:Overline 15 1/15
1/18 2, 3 0.0Шаблон:Overline 0;08 2, 3 1/16
1/19 19 0.Шаблон:Overline 0;Шаблон:Overline 17 1/17
1/20 2, 5 0.05 0;0Шаблон:Overline 2, 5 1/18
1/21 3, 7 0.Шаблон:Overline 0;0Шаблон:Overline 3, 7 1/19
1/22 2, 11 0.0Шаблон:Overline 0;0Шаблон:Overline 2, Шаблон:D3 1/1Шаблон:D2
1/23 23 0.Шаблон:Overline 0;Шаблон:Overline 1Шаблон:D3 1/1Шаблон:D3
1/24 2, 3 0.041Шаблон:Overline 0;06 2, 3 1/20
1/25 5 0.04 0;Шаблон:Overline 5 1/21
1/26 2, 13 0.0Шаблон:Overline 0;0Шаблон:Overline 2, 11 1/22
1/27 3 0.Шаблон:Overline 0;054 3 1/23
1/28 2, 7 0.03Шаблон:Overline 0;0Шаблон:Overline 2, 7 1/24
1/29 29 0.Шаблон:Overline 0;Шаблон:Overline 25 1/25
1/30 2, 3, 5 0.0Шаблон:Overline 0;0Шаблон:Overline 2, 3, 5 1/26
1/31 31 0.Шаблон:Overline 0;Шаблон:Overline 27 1/27
1/32 2 0.03125 0;046 2 1/28
1/33 3, 11 0.Шаблон:Overline 0;0Шаблон:Overline 3, Шаблон:D3 1/29
1/34 2, 17 0.0Шаблон:Overline 0;0Шаблон:Overline 2, 15 1/2Шаблон:D2
1/35 5, 7 0.0Шаблон:Overline 0;Шаблон:Overline 5, 7 1/2Шаблон:D3
1/36 2, 3 0.02Шаблон:Overline 0;04 2, 3 1/30

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, ... Шаблон:OEIS

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, ... Шаблон:OEIS

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, ... Шаблон:OEIS

Irrational numbers

The representations of irrational numbers in any positional number system (including decimal and duodecimal) neither terminate nor repeat. The following table gives the first digits for some important algebraic and transcendental numbers in both decimal and duodecimal.

Algebraic irrational number In decimal In duodecimal
[[Square root of 2|Шаблон:Sqrt]], the square root of 2 1.414213562373... 1;4Шаблон:D379170Шаблон:D207Шаблон:D38...
Шаблон:Mvar (phi), the golden ratio = <math>\tfrac{1+\sqrt{5}}{2}</math> 1.618033988749... 1;74Шаблон:D3Шаблон:D36772802Шаблон:D2...
Transcendental number In decimal In duodecimal
Шаблон:Mvar (pi), the ratio of a circle's circumference to its diameter 3.141592653589... 3;184809493Шаблон:D391...
Шаблон:Mvar, the base of the natural logarithm 2.718281828459... 2;875236069821...

See also

References

Шаблон:Reflist

External links