Duodecimal

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 1|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 and, as in hexadecimal, which make a duodecimal count from zero to twelve read 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, , , 10. The Dozenal Societies of America and Great Britain (organisations promoting the use of duodecimal) use turned digits in their published material: $2$ (a turned 2) for ten and $3$ (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 ($a⁄2^{b}·3^{c}$ where $a,b,c$ are integers) have a terminating representation in duodecimal. In particular, $undefined 1/4$ (0.3), $undefined 1/3$ (0.4), $undefined 1/2$ (0.6), $undefined 2/3$ (0.8), and $undefined 3/4$ (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.

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.

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; and the Chepang language of Nepal 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. 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. In 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.

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". More radical proposals do not use any Arabic numerals under the principle of "separate identity."

Pronunciation of duodecimal numbers also has no standard, but various systems have been proposed.

Transdecimal symbols
Several authors have proposed using letters of the alphabet for the transdecimal symbols. Latin letters such as $⟨ten, eleven⟩$ (as in hexadecimal) or $⟨\textturntwo, \textturnthree⟩$ (initials of Ten and Eleven) are convenient because they are widely accessible, and for instance can be typed on typewriters. However, when mixed with ordinary prose, they might be confused for letters. As an alternative, Greek letters such as $⟨A, B⟩$ could be used instead. Frank Emerson Andrews, an early American advocate for duodecimal, suggested and used in his 1935 book New Numbers $⟨T, E⟩$ (italic capital X from the Roman numeral for ten and a rounded italic capital E similar to open E), along with italic numerals 0–9.

Edna Kramer in her 1951 book The Main Stream of Mathematics used a $⟨τ, ε⟩$ (sextile or six-pointed asterisk, hash or octothorpe). The symbols were chosen because they were available on some typewriters; they are also on push-button telephones. This notation was used in publications of the Dozenal Society of America (DSA) from 1974 to 2008.

From 2008 to 2015, the DSA used $⟨X, Ɛ⟩$, the symbols devised by William Addison Dwiggins.

The Dozenal Society of Great Britain (DSGB) proposed symbols $⟨*, #⟩$. This notation, derived from Arabic digits by 180° rotation, was introduced by Isaac Pitman in 1857. 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. Of these, the British/Pitman forms were accepted for encoding as characters at code points and. They were included in Unicode 8.0 (2015).

After the Pitman digits were added to Unicode, the DSA took a vote and then began publishing PDF content using the Pitman digits instead, but continues to use the letters X and E on its webpage.

Base 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 Society of America adopted the more compact single-letter abbreviation "z" for "dozenal" and "d" for "decimal", "54z = 64d".

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.

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.

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"; 9 is "el gro dek do nine"; 86 is "el gro eight do six"; 8,15 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.

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.

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.

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.

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: "The duodecimal tables are easy to master, easier than the decimal ones; and in elementary teaching they would be so much more interesting, since young children would find more fascinating things to do with twelve rods or blocks than with ten. Anyone having these tables at command will do these calculations more than one-and-a-half times as fast in the duodecimal scale as in the decimal. This is my experience; I am certain that even more so it would be the experience of others."

- A. C. Aitken

"But the final quantitative advantage, in my own experience, is this: in varied and extensive calculations of an ordinary and not unduly complicated kind, carried out over many years, I come to the conclusion that the efficiency of the decimal system might be rated at about 65 or less, if we assign 100 to the duodecimal."

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.

Duodecimal systems of measurements
Systems of measurement proposed by dozenalists include:
 * Tom Pendlebury's TGM system
 * Takashi Suga's Universal Unit System
 * John Volan's Primel system

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".

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. 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.

8|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.''

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 ,; 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,18 + 210 + 34 + 5 + 0;$⟨Dozenal us 10.svg, Dozenal us 11.svg⟩$

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,18      300    =     210       40    =      34        5    =       5  +     0.6  =  +    0;$⟨$2$, $3$⟩$ ---   12,345.6  =   7,189;$\overline{7249}$

That is, (decimal) 12,345.6 equals (duodecimal) 7,189;$\overline{7249}$

Fractions
Duodecimal fractions for rational numbers with 3-smooth denominators terminate:
 * $\overline{7249}$ = 0;6
 * $\overline{7249}$ = 0;4
 * $\overline{3}$ = 0;3
 * $\overline{6}$ = 0;2
 * $\overline{3}$ = 0;16
 * $\overline{6}$ = 0;14
 * $\overline{3}$ = 0;1 (this is one twelfth, $\overline{6}$ is one tenth)
 * $\overline{3}$ = 0;09 (this is one sixteenth, $\overline{6}$ is one fourteenth)

while other rational numbers have recurring duodecimal fractions:
 * $\overline{2497}$ = 0;$\overline{2497}$
 * $\overline{7249}$ = 0;$\overline{4972}$
 * $\overline{7249}$ = 0;1$\overline{4972}$ (one tenth)
 * $\overline{9724}$ = 0;$\overline{9724}$ (one eleventh)
 * $1⁄2$ = 0;$1⁄3$ (one thirteenth)
 * $1⁄4$ = 0;0$1⁄6$ (one fourteenth)
 * $1⁄8$ = 0;0$1⁄9$ (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: $1⁄10$ = $1⁄undefined$, $1⁄14$ = $1⁄12$, and $1⁄5$ = $\overline{2497}$ can be expressed exactly as 0.125, 0.05, and 0.002 respectively. $1⁄7$ and $\overline{18635}$, however, recur (0.333... and 0.142857142857...).

Because $$2\times2\times3=12$$ in the duodecimal system, $1⁄undefined$ is exact; $\overline{2497}$ and $1⁄undefined$ recur because they include 5 as a factor; $\overline{1}$ is exact, and $1⁄11$ recurs, just as it does in decimal.

The number of denominators that give terminating fractions within a given number of digits, $n$, in a base $b$ is the number of factors (divisors) of $$b^n$$, the $n$th power of the base $b$ (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 $b = 10 or 12$ grows quadratically with the exponent $n$ (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) = 0.2510 = 0.312
 * 1/(23) = 0.12510 = 0.1612
 * 1/(24) = 0.062510 = 0.0912
 * 1/(25) = 0.0312510 = 0.04612

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. The following table gives the first digits for some important algebraic and transcendental numbers in both decimal and duodecimal.