Number Base Theory 101

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 10 2011, 06:34 PM #1

Let me begin by disclosing that I am not a professional mathematician nor do I play one on tv. I am a Missouri registered architect and member of the AIA, I am a graphic designer and member of AIGA. I am an avid competitive swimmer and member of the USMS. At most, I am an "amateur mathematician", whatever the heck that means. In recognition of this, let's start with several good sources on number bases and elementary number theory, beginning with the ones in my library:

A.) Ore, Oystein. Number Theory and Its History. Mineola, ny: Dover, 1988. [1st ed. 1948, New York, ny: McGraw-Hill Book Co.]
B.) Dudley, Underwood. Elementary Number Theory. Mineola, ny: Dover, 2008. [2nd ed. 1969, San Francisco, ca: W. H. Freeman & Co.]
C.) Weisstein, Eric W. Wolfram MathWorld. Retrieved October 2011, <[url=http://mathworld.wolfram.com>]http://mathworld.wolfram.com[/url]>
D.) LeVeque, William J., Elementary Theory of Numbers. Mineola, ny: Dover, 1990. [1st ed. 1962, Reading, ma: Addison-Wesley Publishing Co.]
E.) Hardy, G. H. and Wright, E. M., An Introduction to the Theory of Numbers. Sixth Edition. New York: Oxford University Press, 2008. isbn 978-0-19-921985-8, 978-0-19-921986-5 (pbk).
F.) Jones, Gareth A. and Jones, J. Mary, Elementary Number Theory. London: Springer (Undergraduate Mathematics Series), 2005.

Now if you're a quick study and ain't got time for the pain, check out Dr. Dudley's book at . Of all the sources, I believe this is the ideal start. [F] is a little more conceptual and textbook-y. [E] starts off okay but gets very deep very soon, and you'll be over your head if you aren't in for a lot of math, but it is a very good book. For mathematicians, this is all child's play, I understand. My old favorite, [A], is a little dated; if you read you're getting everything that's in [A].
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 10 2011, 07:13 PM #2

Totatives.

Briefly, someone interested in number bases, especially those that facilitate human intuitive computation, will find totatives of interest, since they tend to present resistance to human intuitive computation. There are, however, some aspects of totatives that are beneficial. A composite totative that "neighbors" the number base, e.g., the totative 9 base 10, gives decimal users simple divisibility tests for the totatives 3 and 9, as well as brief recurrent patterns in their decimally-expressed reciprocals. A great deal of totatives would seem to render a number base less "useful" for general intuitive human computation.

Wolfram Mathworld states the following on the totative: "A totative is a positive integer less than or equal to a number n which is also relatively prime to n, where 1 is counted as being relatively prime to all numbers. The number of totatives of n is the value of the [Euler] totient function phi(n). The term was popularized by Sylvester (1879; Dickson 2005, p. 124), who spelled it 'totitive.'" The passage uses the word "popularize" loosely. About as "popular" evidently as "dozenal".

Relatively prime / coprime: "Two integers are relatively prime if they share no common positive factors (divisors) except 1. Using the notation gcd(m, n) to denote the greatest common divisor, two integers m and n are relatively prime if gcd(m, n)=1. Relatively prime integers are sometimes also called strangers or coprime and are denoted m (perpendicular sign) n.

Let's define a "digit". Let the integer r >= 2 be the radix under consideration. Then the digits of r will be all integers 0 < n <= r. The symbol "0" will represent the case where n is congruent to r. Let's ignore the special case where n = 0 (n is actually zero). Check out the definition of digit at Wolfram. I use Wolfram because it is a math resource on the web, and it is not Wikipedia (since some folks don't like Wikipedia).

The digits {1, 5, 7, b} are coprime to one dozen. The digits {1, 3, 7, 9} are coprime to ten. All odd digits are coprime to one dozen four. These are the set of dozenal, decimal, and hexadecimal totatives, respectively. Totatives tend to be a bit resistant to human intuitive computation.

Consider the multiplication table of base r. Let the integer 0 < t < r be coprime to r. This means the gcd(t, r) = 1. In Chicago, they'd say t and r have nothing in common. Let the integer 0 < k be a multiplier. In the multiplication table, the products of totatives have end digits that repeat a pattern every r products as the multiplier k increments. Observe the end digits of the decimal totative 7 {7, 4, 1, 8, 5, 2, 9, 6, 3, 0} and of the duodecimal totative 7 {7, 2, 9, 4, b, 6, 1, 8, 3, a, 5, 0}. This would seem to make the products of a totative t in base r a little more challenging to memorize.

Consider digital expansion of fractions where t is the denominator. The reciprocals of totatives 1/t feature recurrent digital expansions. The decimal fraction 1/7 is 0.142857142857..., the dozenal fraction 1/5 = 0.24972497... This seems to be more inconvenient than the digital expansion of regular numbers, which terminate after one or more places.

Consider intuitive divisibility tests. Totatives generally will not possess an intuitive divisibility test; thus one has to resort to modular math to test for divisibility by seven in base ten, or by five in base twelve.

There are special totatives related to numbers directly neighboring the base which are less resistant. Let the integer omega = base - 1, and let the integer alpha = base + 1. Then there are numbers b coprime to r that divide omega evenly, and there are numbers a coprime to r that divide alpha evenly. (In odd bases, there is a digit 2 which divides both alpha and omega evenly). These neighbor-related totatives offer intuitive divisibility tests and have short recurrent periods in their digital fractions. The digit 3 base ten possesses a divisibility test wherein one adds up the digits of a number and takes a sum; if the sum is itself divisible by three, then the number tested is also divisible by three. In decimal, one third is 0.33333..., and one ninth is 0.111... In hexadecimal, one can test for divisibility by the totatives 3, 5 and digit-15 using the digit sum rule. Thus, the term "opaque totative" applies to any totative that is not the digit 1 nor neighbor-related. Yep I made that term up. I think it is a useful term when we are discussing number bases.

One can count the number of totatives in a given number base by using Euler's totient function. Use EulerPhi[r] in WolframAlpha or Mathematica to calculate the totient function. (I do not know the equivalent in Maple.)

I have a professor friend who thinks I am nuts over totatives because I always talk about them. The fact is I am talking about totatives like the War Department talks about the "Enemy". Lately I have a desire to find composite totatives in convenient places, like right "next to" the number base. Base 120 is interesting, because 119, the "omega", is 7 x 17, and 121 is "alpha", 11^2. This gives the user of base 120 keen divisibility tests for the first five primes plus 17, and brief recurrent digital expansions of the reciprocals of 7, 11, and 17. All of this in a number base that is highly factorable.

Totatives play a big role in cryptography.

Take a look at sources for further information:
[C] Totatives, relatively prime / coprime, [D] page 24, [E] page 58, [F] page 10 for "coprime", [D] pages 11-12 for "alpha" and "omega" in a proof, though the author does not refer to them as "alpha" nor "omega". Divisibility tests for "alpha, omega" [E] pages 142-3, 147. Totient function, see [A] pages 109-13, page 70, [F] pages 86-87.
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 10 2011, 07:54 PM #3

Divisors.

Briefly, the divisor is an implement that would seem to enable intuitive human computation in a given number base.

Wolfram defines "divisor" thus: "A divisor of a number n is a number d which divides n... also called a factor". This isn't too helpful.

Source [E], Hardy & Wright 2008, Chapter I, “The Series of Primes”, Section 1.1, "Divisibility of integers", pages 1–2, specifically: "An integer a is said to be divisible by another integer b, not 0, if there is a third integer c such that a = bc. If a and b are positive, c is necessarily positive. We express the fact that a is divisible by b, or b is a divisor of a, by b &#124; a..."

Let's look at the notion of "divisibility" from source [D]: (LeVeque 1962, Chapter 1.1, "The Euclidean Algorithm and Its Consequences", Section 2-1, "Divisibility", page 22)
"Let a be different from 0 and let b be arbitrary. Then, if there is a c such that b = ac, we say that 'a divides b, or that 'a is a divisor of b', and write a &#124; b ... The following statements are immediate consequences of this definition:
(1) For every a not equal to 0, a&#124;0 and a&#124;a.
(2) If a&#124;b and b&#124;c, then a&#124;c.
(3) If a&#124;b and a&#124;c, then a&#124;(bx + cy) for each x, y. (If a&#124;b and a&#124;c, then a is said to be a common divisor of b and c)
(4) If a&#124;b and b not equal to 0 then &#124;a&#124; less than or equal to &#124;b&#124;."

"Trivial Divisors"
All positive integers r >= 2 possess the divisors {1, r}. These are said to be "trivial" (see source [A] page 29)

Let the integer r >= 2 be the number base, d be a divisor, and d' the divisor complement. Then we can rewrite source [E]'s equation a = bc as r = d * d'. (See source [A] page 86.)

Consider the multiplication table. Let the integer k > 0 be a multiplier. Divisors tend to have brief patterns of end digits in their products, such that the divisor d will have a cycle of end digits that are d' products long. The decimal multiplication table has two nontrivial divisors. The products of 2 end in {0,2, 4, 6, 8} and the products of five in {0, 5}. Duodecimal features four such divisors: 2 {0, 2, 4, 6, 8, a}, 3 {0, 3, 6, 9}, 4 {0, 4, 8}, and 6 {0, 6}. All bases have the trivial divisors, 1 {0, 1, ... } and r {0, 10, ...}. These seem to be easier to memorize than most any other line of products in the multiplication table.

Consider the digital expansion of fractions that have the divisor d as a denominator. All reciprocals of the divisor d in base r will have the expansion 0.d', a single place after the radix point. Very little else can be simpler when it comes to fractions and their digital equivalents. The divisor is a special kind of regular number g, an integer that produces a terminating digital fraction.

Consider the intuitive tests for divisibility by the divisor d. This is a special case of the regular divisibility tests. A regular divisibility test involves examination of the least significant digits of the integer x. In the case of a divisor d, a divisibility test for d is a regular divisibility test that involves comparison with a table of the positive products of d <= r. Thus, divisibility by five in decimal involves looking at the righmost digit of a number, say 95. If the rightmost digit (5) is any of {0, 5}, then the number 95 is divisible by 5. In base twelve, there are more divisors thus more such single-digit divisibility tests. We can test for any of {2, 3, 4, 6} by examining the last digit in base 12.

We can count the number of divisors using the divisor counting function. Read more about it at source [A] page 86 and pages 50-53. Use DivisorSigma[0, r] in Wolfram Alpha or Mathematica. I don't know the Maple function, but it shouldn't be too hard to find. Use Divisors[r] in Alpha or Mathematica to generate a list of divisors.

The divisor is thus a great aid in general human computation. The greater the number of divisors in general, it would seem the greater the number base. The problem is that numbers with more divisors are also large. Since even a handful of distinct prime divisors produces a very large number base, there is a practical limit to how many divisors one can leverage in a number base.

Divisors are a big topic in elementary number theory. Each of the sources has a chapter on such, or on "divisibility."
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 10 2011, 08:10 PM #4

The Unit.

Let the integer r >= 2 be a number base. The digit 1 is very special. It is neither prime nor composite. It is also both a divisor and a totative of a number base r. This is because 1 &#124; r (one divides r) and the greatest common divisor (highest common factor) gcd(1, r) = 1.
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 10 2011, 09:15 PM #5

[b]Neutral Digits.[/b] I just wrote a paper on neutral digits. I'll post a link here once it's been reviewed. This is not a "canonical" elementary number theory topic, however the definitions and conjectures are proved in the paper. Let the integer [i]r[/i] >= 2 be a number base. Set d([i]r[/i]) as the number of divisors and t([i]r[/i]) as the number of totatives (I am using t in place of the Greek letter phi, since there is some problem displaying phi right now). We can produce a "neutral digit counting function" using the following formula: n([i]r[/i]) = d([i]r[/i]) + t([i]r[/i]) - 1 Note, this formula appears at the OEIS sequence [url=http://oeis.org/A045763]A045763[/url], which is by this same definition, the set of neutral digits. (Edited 12 June 2014.) We subtract 1 because it is counted both in d([i]r[/i]) and t([i]r[/i]), since it is a divisor of and coprime to [i]r[/i]. Observe that many of the composite numbers [i]r[/i] > 4 have a significant difference between the number of divisors and non-unitary totatives: (in the case of [i]r[/i] = 2, the difference is -1 since there is only one totative, digit-1.) In the paper I prove that there are neutral digits for every composite [i]r[/i] > 4, and that there are two possible kinds of neutral digit. I've called the two kinds of neutral digits the "semidivisor" and the "semitotative". [b]Semidivisor.[/b] Let the integer [i]p[/i] be a prime divisor of [i]r[/i]. A semidivisor is a regular neutral digit that does not divide [i]r[/i] evenly, and is the product of at least two prime divisors [i]p[/i]. To define the semidivisor we need the [url=http://mathworld.wolfram.com/FundamentalTheoremofArithmetic.html]fundamental theorem of arithmetic[/url], and the unique factorization / prime power decomposition formula. See sources [A] page 86, [ B] pages 16-18, [E] page 3, [F] page 20. Let the integer [i]k[/i] >= 1, and let the integer [i]p[/i] be a distinct prime divisor of [i]r[/i]. Let the integer [i]e[/i] > 0 be the multiplicity (i.e., the exponent) of [i]p[/i] in [i]r[/i]. Then a divisor [i]d[/i] of [i]r[/i] can be expressed as It is too "rich" in at least one prime divisor [i]p[/i], when compared to the base [i]r[/i]. Digit 4 base 6 has a prime divisor 2 with multiplicity 2, whilst there is only one 2 in 6. Digit 8 base 10 has a prime divisor 2 with multiplicity 3, whilst there is only one 2 in 10. I wrote an algorithm in autumn 2013 that can produce the quantity of semidivisors for any given base. This was submitted to the OEIS 11 June 2014 and is now sequence [url=http://oeis.org/A243822]A243822[/url]. The semidivisor also appears in an article I wrote for the ACM Inroads in early 2012. Note that a sequence that quantifies regular digits for bases [i]n[/i] appears at [url=http://oeis.org/A010846]A010846[/url] (Edited 12 June 2014.) The semidivisor, like other regular numbers, is generally an asset for those interested in human intuitive computation. In the multiplication table the semidivisor shares the shorter end-digit periods as divisors (there is a relationship between the semidivisor and a complement in these cycles). A semidivisor enjoys a terminating digital expression of its reciprocal. One eighth in decimal is 0.125. One dozen-fourth, a regular number in dozenal is 0;09. The number of places after the radix point will be greater than one, related to the "maximum multiplicity differential" of the semidivisor and the number base. Calculate the maximum multiplicity differential by finding which prime divisor has the highest multiplicity difference with the corresponding prime in the number base. The regular divisibility tests apply to semidivisors. This is a stumbling block for "remote" or "enriched" semidivisors, i.e., those having a high maximum multiplicity differential. Though one can use the regular divisibility test in decimal for eight, this involves knowing the 125 combinations of the three end digits divisible by eight {000, 008, 016, 024, 032, 040, 048, ... 984, 992}. I've proved in the paper that all composite bases [i]r[/i] that are not powers of primes have at least one semidivisor. This rules out base 4 for neutral digits, as it is the square of 2. Base 6 is the smallest base that has a semidivisor, digit-4. [b]Semitotative.[/b] The semitotative is easier to define. Let the integer [i]q[/i] be a prime that is coprime to [i]r[/i]. A semitotative is a non-regular neutral digit that is the product of at least one prime divisor [i]p[/i] and at least one prime totative [i]q[/i]. In the paper I proved that a given number base, an integer [i]r[/i] >= 2 will have at least one semitotative if a minimum totative [i]q[/i] is smaller than the complement to the minimum prime divisor [i]p[/i]. Thus, every composite number [i]r[/i] > 6 will have semitotatives. This leaves [i]r[/i] = 4 without neutral digits, and makes [i]r[/i] = 6 unique in that it possesses semidivisors, but no semitotatives. I wrote an algorithm in autumn 2013 that can produce the quantity of semitotatives for any given base. This was submitted to the OEIS 11 June 2014 and is now sequence [url=http://oeis.org/A243823]A243823[/url]. The semitotative also appears in an article I wrote for the ACM Inroads in early 2012. (Edited 12 June 2014.) The semitotative behaves like a semidivisor in the multiplication table, with short end-digit patterns. The digital expansion of multiples of reciprocals of semitotatives is recurrent. Semitotatives as digital reciprocals feature a brief, non-repeating set of digits, then a recurrent mantissa. One sixth in base ten is 0.1666..., one tenth in base twelve is 0;124972497... See source [E] page 142. Like the totative, the semitotative possesses no intuitive divisibility rule unless it is a product of two coprime factors that possess regular or neighbor-related intuitive divisibility tests. This is what I call a "compound intuitive divisibility test" in an upcoming paper. Thus, with the neutral digits, we have a full "spectrum" of digits with direct relationships to the number base [i]r[/i]. This enables the production of digit maps, which indicate the "usefulness" of a number base [i]r[/i], usefulness defined as being beneficial to the intuitive human computation in base [i]r[/i], ignoring the effects of magnitude of [i]r[/i]. We can use "digit maps" of number bases [i]r[/i] as a shorthand for their utility, since the types of digits speak to their behavior in a few basic applications (multiplication tables, divisibility tests, digital fractions, etc.)
Quote
Like
Share

m1n1f1g
Dozens Disciple
m1n1f1g
Dozens Disciple
Joined: Feb 20 2011, 10:15 AM

Oct 10 2011, 09:54 PM #6

Can we define semidivisors as digits that do not divide r, but do divide rk for some k > 1? And, if so, can we say how "related" they are to the base by saying the power needed? For example, dozenal 8 would be a semidivisor-2 (8&#124;102), whilst decimal 8 would be a semidivisor-3 (8&#124;103). This is important because the division rules beyond semidivisor-2 are often relatively difficult. Yes, it's the last k digits, but what should they be? I know it's possible, but it's a lot more difficult for semidivisor-3s than for semidivisor-2s.
A few little conventions:
- Dozenal integers suffixed with prime (&#8242;). This is the uncial point.
- Decimal integers suffixed with middle dot (·). This is the decimal point.

You may see me use * prefix for messages before 11&#400;7-03-1X, and a whole range of similar radix points. I will often use X and &#400; for :A and :B.

Sometimes, I will imply that an integer is in dozenal, so I won't add any marks to it. You should be able to tell that "10 = 22 * 3" is in dozenal.
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 10 2011, 10:59 PM #7

m1n1f1g, Yes, that is a plausible definition. Let's look at an analogous situation. Let the integer [i]p[/i] be a prime represented in the prime decomposition of [i]r[/i]. Let the integer [i]q[/i] be a prime unrepresented in the prime decomposition of [i]r[/i]. Then [i]p[/i] | [i]r[/i] and [i]q[/i] is coprime to [i]r[/i]. Using the definition of "coprime" that I normally encounter, we read that an integer [i]a[/i] is coprime to [i]b[/i] iff gcd([i]a[/i], [i]b[/i]) = 1. To me, that seems more like a "telltale effect". We can say that a number [i]a[/i] is a neutral digit of [i]b[/i] iff 1 < gcd([i]a[/i], [i]b[/i]) < [i]a[/i]. We can also say that [i]a[/i] is a divisor of [i]b[/i] iff gcd([i]a[/i], [i]b[/i]) = [i]a[/i]. A more direct definition would seem to be [i]a[/i] is coprime to [i]b[/i] if the prime decomposition of [i]b[/i] includes no non-unitary divisor of [i]a[/i]. (If it isn't "more direct" than perhaps it is a "structural" definition, toward which I am usually biased.) I'd recommend we use the term "regular number" in general if we are referring to integers that are products powers of the prime divisors [i]p[/i] of base [i]r[/i], to the exclusion of any other prime [i]q[/i]. Such numbers are restricted to the standard form This is an existing and well-supported term. Then we have regular digits which are regular numbers less than or equal to [i]r[/i]. There are two kinds of regular digits, those that divide [i]r[/i], and those which do not divide [i]r[/i], but as you point out, do divide [i]r[/i]^[i]k[/i] for some [i]k[/i] > 1. Consider this chart: |------------------------------------------------| Regular Numbers |<------Digits----------->| |----------|-----------------| [i]r[/i] Divisors | Semidivisors I think you'll find that the distinction between regular digits is less important than portrayed here. My analysis uses [i]r[/i] as a dividing line since that is the only line that makes sense. If you want to consider the "remoteness" of the regular digit [i]g[/i] from [i]r[/i] as a sort of index, I think that is possible. Use this formula That is, the maximum difference between the multiplicity [i]a[/i] of [i]p[/i] in [i]d[/i] and multiplicity [i]e[/i] of [i]p[/i] in [i]r[/i]. I suppose we'd need to let any negative value of this differential be truncated to zero, since there is no effect of a "deficient divisor", say digit 6 base 72 (2 * 3 vs. 2^3 * 3 ^ 2) on its behavior across the basic applications. (I have to go to base 72 to get a divisor that fits "under the limbo bar" and isn't a square root; I can't use a prime power, because these have no semidivisor, but they [i]do[/i] have regular numbers [i]g[/i] > [i]r[/i].) This would make digit 2 base 10 a regular number at level 0 (a divisor), digit 4 base 10 a regular number at level 1, digit 8 base 10 a regular number at level 2, number 16 base 10 a regular number at level 3, etc. Then we can know the number of places in the terminating decimal representation: the multiplicity differential + 1. This distinction is indeed useful for this purpose. Then the semidivisor is simply a regular number [i]g[/i] < [i]r[/i] that does not divide [i]r[/i], and a divisor is a regular number whose "maximum multiplicity differential" is zero (or less, if we permit the differential to possess negative value). Thus we have a continuum of regular digits, with special cases. For other purposes, we can acknowledge the special cases, but for the purpose I think you're considering, there isn't really a need to acknowledge them.
Quote
Like
Share

m1n1f1g
Dozens Disciple
m1n1f1g
Dozens Disciple
Joined: Feb 20 2011, 10:15 AM

Oct 11 2011, 04:55 PM #8

While looking back to your definition of [i]a[/i] I found this: [quote="icarus @ Oct 10 2011, 10:15 PM"]Then a divisor [i]d[/i] of [i]r[/i] can be expressed as [/quote] Shouldn't that be Anyway, your indices seem better, with divisors being 0 rather than 1. I wanted that, but I couldn't justify it mathematically. I thought "regular numbers" were numbers which are 5-smooth. They're effectively what you would call regular numbers of base 26.
A few little conventions:
- Dozenal integers suffixed with prime (&#8242;). This is the uncial point.
- Decimal integers suffixed with middle dot (·). This is the decimal point.

You may see me use * prefix for messages before 11&#400;7-03-1X, and a whole range of similar radix points. I will often use X and &#400; for :A and :B.

Sometimes, I will imply that an integer is in dozenal, so I won't add any marks to it. You should be able to tell that "10 = 22 * 3" is in dozenal.
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 11 2011, 06:30 PM #9

M1n1f1g, I've fixed it. Normally I don't "edit" messages but with these posts I will do so, so that they are correct. Later this will go on the DSA website as part of a larger effort, probably in early 2012. [b]Regular Number.[/b] The notion of "regular number" does arise in the study of [url=http://it.stlawu.edu/~dmelvill/mesomath/Recip.pdf]Mesopotamian Records[/url] (Duncan Melville). This Wikipedia definition of [url=http://en.wikipedia.org/wiki/Regular_number]regular number[/url] uses this definition. Let the integers {a, b, c} >= 0 be the exponents of the prime divisors 2, 3, and 5, respectively. Let [i]n[/i] be an integer. A regular [sexagesimal] number is a number of the form This is the Sloane number sequence [url=http://oeis.org/A051037]A051037[/url], there called "5-smooth numbers: i.e. numbers whose prime divisors are all <= 5": {1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 27, 30, 32, ...} The integer multiples of reciprocals of regular [sexagesimal] numbers enjoy a terminating [sexagesimal] digital expansion. A comment at Sloane's OEIS.org reads, "Sometimes called the Hamming sequence, since Hamming asked for an efficient algorithm to generate the list, in ascending order, of all numbers of the form 2^i 3^j 5^k for i,j,k >= 0. The problem was popularized by Edsger Dijkstra." This is the definition at Wikipedia and equivalent to the formula in this post, immediately above. This definition of "regular [sexagesimal] number" is thus equivalent to "5-smooth number". You would be correct in interpreting a "5-smooth number" also to be a regular number in base thirty, since the distinct prime divisors of thirty {2, 3, 5} are those of sixty {2, 3, 5}. The 5-smooth numbers are also regular in bases 120 and 360, and are a subset of the regular numbers of base 2520, since the distinct prime divisors of the first two are {2, 3, 5}, but those of 2520 are {2, 3, 5, 7}. The definition of [url=http://mathworld.wolfram.com/RegularNumber.html]regular number[/url] at MathWorld talks of a decimal regular number. Using the variables we set immediately above, a regular [decimal] number is a number of the form This is the Sloane number sequence [url=http://oeis.org/A003592]A003592[/url], simply referred to as "Numbers of the form 2^i*5^j", avoiding the term "regular [decimal] numbers": {1, 2, 4, 5, 8, 10, 16, 20, 25, 32, 40, 50, 64, 80, 100, ...} Nonetheless, a description reads, "These are the natural numbers whose reciprocals are terminating decimals". This is equivalent to the definition at MathWorld and the formula in this post immediately above. Examples in source [E] starting at page 140 use the regular [decimal] number for exploration of representation of numbers by decimals. (See Hardy & Wright 2008, Chapter IX, "The Representation of Numbers by Decimals".) The same number sequence are regular vigesimal numbers, since the decimal distinct prime divisors {2, 5} are also the vigesimal distinct prime divisors {2, 5}. Source [A] page 316 states the following: Ore 1948, Chapter 13, "Theory of Decimal Expansions", page 316, specifically: "In general, let us say that a number is regular with respect to some base number [i]b[/i] when it can be expanded in the corresponding number system with a finite number of negative powers of [i]b[/i]. ... one concludes that the regular numbers are the fractions [i]r[/i] = [i]p[/i]/[i]q[/i], where [i]q[/i] contains no other prime factors other than those that divide [i]b[/i]." This is a more general definition than those at MathWorld/Melville and Wikipedia/Hardy & Wright. Clearly the definitions at MathWorld/Melville and Wikipedia/Hardy & Wright are simply base-specific definitions of a larger concept of "regularity", i.e., those numbers [i]g[/i] such that the prime divisors [i]p[/i] of [i]g[/i] are limited to those distinct prime divisors [i]p[/i] found in the prime decomposition of the number base [i]r[/i], and exclude all prime numbers [i]q[/i] not found in the prime decomposition of [i]r[/i]. The definition I use is the general definition of regular number given by Ore, by analogy of using "digital fraction" in place of "decimal fraction", "radix point" or "unit point" in place of "decimal [point]", etc. I use "5-smooth number" or "regular sexagesimal number" to refer to numbers of the form and "regular decimal number" for those of the form The regular dozenal numbers, {1, 2, 3, 4, 6, 8, 9, 10;, 14;, 16;, 20;, 23;, 28;, ...} I refer to as "three-smooth" or "regular dozenal" numbers. Using variables set at the start of this post, these are of the form
Quote
Like
Share

dgoodmaniii
Dozens Demigod
dgoodmaniii
Dozens Demigod
Joined: May 21 2009, 01:45 PM

Oct 12 2011, 06:41 PM #10

Keep them coming, please! I'm learning more number theory in this thread than I did in fourteen years of public schooling.
All numbers in my posts are dozenal unless stated otherwise.
For ten, I use :A or X; for elv, I use :B or E. For the digital/fractional/radix point, I use the Humphrey point, ";".
TGM for the win!
Dozenal Adventures
Quote
Like
Share

m1n1f1g
Dozens Disciple
m1n1f1g
Dozens Disciple
Joined: Feb 20 2011, 10:15 AM

Oct 12 2011, 10:01 PM #11

dgoodmaniii @ Oct 12 2011, 07:41 PM wrote:Keep them coming, please!&nbsp; I'm learning more number theory in this thread than I did in fourteen years of public schooling.
Good observation. The only one of these terms I've learnt in school is "divisor" (well, "factor" as it is often called). I haven't done A levels yet, but I can't see them cropping up there. The concepts are interesting to study, but probably only by people who are already interested in maths. I suppose they're a bit difficult to test on, beyond "How many totatives does the number 16 have?". There should be a coursework task to write about something interesting in an interesting way, I'm sick of writing rushed history essays for exams. :angry:

On the regular numbers thing, according to your evidence you seem entitled to call them regular numbers for an arbitrary base. The evidence fits logically in an OR operation of proof, meaning that you've already proved your point. Actually, that really meant nothing, all I'm saying is that you can continue as before.
A few little conventions:
- Dozenal integers suffixed with prime (&#8242;). This is the uncial point.
- Decimal integers suffixed with middle dot (·). This is the decimal point.

You may see me use * prefix for messages before 11&#400;7-03-1X, and a whole range of similar radix points. I will often use X and &#400; for :A and :B.

Sometimes, I will imply that an integer is in dozenal, so I won't add any marks to it. You should be able to tell that "10 = 22 * 3" is in dozenal.
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 13 2011, 03:30 PM #12

[b]Euler Totient Function.[/b] m1n1f1g implies above that the question of "how many totatives does the number 16 have" is perhaps a trivial question, and in everyday life it might be so. Another way to state "how many totatives does the number 16 have" is "how many numbers 0 < [i]n[/i] <= [i]r[/i] are coprime to [i]r[/i] = 16?" This question is a central topic in elementary number theory, studied by the greatest mathematicians, Euler, Fermat, principally. The following sources have chapters on the function: [ A ] Chapter 5.5 "The Aliquot Parts", "Euler's Function" [ B ] Section 9 "Euler's Theorem and Function" [ D ] Chapter 3.4 "Reduced Residue Systems and Euler's [phi] Function" [ E ] Chapter 5.5 "Congruences and Residues", "Euler's Function phi([i]m[/i])" [ F ] Chapter 5 "Euler's Function" The Euler function, for the rest of the world outside of those who love number bases, is more closely associated with the notion of congruences / modular math and the greatest common divisor (highest common factor) than "totatives". The function counts how many numbers 0 < [i]n[/i] <= [i]r[/i] have gcd([i]n[/i], [i]r[/i]) = 1. (Remember that gcd([i]n[/i], [i]r[/i]) = 1 is usually cited as the definition for "coprime / relatively prime", it is the [i]sure test[/i] that indicates [i]n[/i] and [i]r[/i] are coprime.) This [url=http://muppetlabs.com/~breadbox/txt/rsa.html]page[/url] summarizes the RSA public-key cryptography algorithm. (Read more about RSA at [url=http://en.wikipedia.org/wiki/RSA]Wikipedia[/url]) If you visit it, you'll see that the Euler totient function is highly important to the algorithm. In fact, if you are planning to encrypt a message, you [i]want[/i] a lot of "resistance", you want as many totatives as you can get. If you're encrypting a message, you need large prime numbers. The document provides references and does a good job of explaining the basics of the method. This method was developed (looking at Wikipedia) in the seventies. This is an example of how a seemingly unimportant basic mathematical property can become a seriously powerful application. Imagine what today's internet/computer society would be like without public-key encryption? Because the Euler totient function was discovered around the time when modular math, congruences, and residues were, strangely this end of the "digit spectrum" is well-founded in mathematics. Thankfully we can "detect" how many totatives there are in a base, how many integers 0 < [i]n[/i] <= [i]r[/i] are coprime to [i]r[/i] without having to count them like [url=http://www.rohitn.com/numbers/numbers_EulerTotient.aspx]this example[/url] (but the row examples are a neat way of studying the function). Let the integer [i]r[/i] >= 2 be a number base. Let the prime [i]p[/i] be a prime divisor of [i]r[/i] (i.e., [i]p[/i] | [i]r[/i]). Let the integer [i]e[/i] > 0 be the multiplicity (i.e., exponent) of [i]p[/i] in [i]r[/i]. Let the integer [i]k[/i] >= 1. Consider the standard prime power decomposition of [i]r[/i]: with [i]p[/i][sub]1[/sub] < [i]p[/i][sub]1[/sub] < ... < [i]p[/i][sub][i]k[/i][/sub] Sources [A, p. 110], [C, [url=http://mathworld.wolfram.com/TotientFunction.html]formula 1[/url]], [D, pp. 43-44] state that This means every prime has (prime - 1) totatives. Using the nomenclature earlier established in this thread Reading further in these sources, you'll see the function is multiplicative, dependent on the distinct prime divisors [i]p[/i][sub][i]k[/i][/sub] of [i]r[/i]. Sources [A, p. 113], [B, p. 70], [C, [url=http://mathworld.wolfram.com/TotientFunction.html]formulae 12-13[/url]], [D, p. 45], [E, pp. 64-65], [F, p. 87] show that we can compute the Euler totient function by Please do not neglect to check the sources. These sources have more information about any of the topics than can be posted on this forum. I think anyone interested in number bases should be familiar with the things that have been posted thus far (except perhaps the "neutral digits" as presented here; folks should know about regular digits, though. I think the neutral digits paper fills in a gap and allows us to succinctly analyze any number base [i]r[/i]). Many of the sources ([A], [B], [D]) are available from Dover, meaning that they aren't that expensive. Source [C], [url=http://mathworld.wolfram.com]MathWorld[/url], is a good internet reference, like an encyclopedia for maths. Hardy & Wright (source [E]) and Jones & Jones (source [F]) are more expensive and more serious. There are things I doubt I'll ever understand in both of them. One never knows where this knowledge will take you. I tutor eighth grade (13-14 year old for the UK readers on this site) girls in pre-algebra. Many many times the comment pops up "why do we even have to know this," "if it can't equal six than why do they even write a six, why don't they write seven," etc. We live in a world where algorithms increasingly determine outcomes, where one can make billions on an algorithm. Number theory, mathematics, and logic are the keys to the algorithms.
Quote
Like
Share

daedalus
daedalus

Oct 14 2011, 05:28 PM #13

[img]http://www.vincico.com/arqam/digits/_dn34.jpg[/img] [img]http://www.vincico.com/arqam/digits/_dn36.jpg[/img]
Quote
Share

m1n1f1g
Dozens Disciple
m1n1f1g
Dozens Disciple
Joined: Feb 20 2011, 10:15 AM

Oct 14 2011, 10:25 PM #14

Were you supposed to be logged in as daedalus? I thought that was your quick-fix temporary profile.

Anyway, it's surprising to see how many bases are better than binary in this respect, but also how that side is far slower to reach 0 than the primes are to reach 1. It's common sense really, that when r = infinity, r/(r-1) = 1; but it's amazing to think that this base may have no totatives, if it is a multiple of everything. Not that that'd be useful. Every number would be a special case, and each new multiplication attempted would need to be worked out manually, by adding numbers repetitively and looking them up on some colossal number line. But that's stupid :P.
A few little conventions:
- Dozenal integers suffixed with prime (&#8242;). This is the uncial point.
- Decimal integers suffixed with middle dot (·). This is the decimal point.

You may see me use * prefix for messages before 11&#400;7-03-1X, and a whole range of similar radix points. I will often use X and &#400; for :A and :B.

Sometimes, I will imply that an integer is in dozenal, so I won't add any marks to it. You should be able to tell that "10 = 22 * 3" is in dozenal.
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 14 2011, 10:43 PM #15

Yes, I've noticed that. That was a mistake. When I used this device I had an autofill and it put in what I logged in last time. It almost happened twice!

When you say "better than binary" you mean "better than the number bases that are powers of two" and can include any number bases that are powers of any single prime. "Better" here meaning having a lower proportion of totatives, which represent resistance to human intuitive computation.

I think binary is the best base, if you are not limited by human cognitive ability. Specifically, if you can parse "11111011011" as fast as "2011" decimal. This is what I can't study: what is the lowest base that does not throw us for a loop when we try to parse strings of digits? To me, it seems like 7 or 8. I have a way to gauge it but it isn't as steeped in mathematics as the facts conspire against large bases.
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 14 2011, 10:45 PM #16

Visit this [url=http://www.vincico.com/arqam/DigitBaseRelationship.pdf]link[/url] for a PDF with digit maps for all bases 2 <= [i]r[/i] <= 120.
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 14 2011, 10:49 PM #17

[img]http://www.vincico.com/arqam/digits/33310625m12.jpg[/img] This is part of a larger work that applies the analysis to all number bases below 26; that will be available at the DSA website. There is another method of analysis that is planned, but I am far from finishing it. Ciao for now, family dinner, a patriarch is having his birthday gala and I get to sit with all the kiddies!
Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Dec 5 2011, 04:17 PM #18

Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Apr 26 2012, 10:43 PM #19

Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Sep 14 2012, 09:57 PM #20

Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 5 2012, 03:17 PM #21

Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 5 2012, 03:22 PM #22

Quote
Like
Share

icarus
Dozens Demigod
icarus
Dozens Demigod
Joined: Apr 11 2006, 12:29 PM

Oct 5 2012, 03:58 PM #23

Quote
Like
Share

Double sharp
Dozens Demigod
Double sharp
Dozens Demigod
Joined: Sep 19 2015, 11:02 AM

Oct 23 2017, 03:33 PM #24

icarus @ Oct 5 2012 @ 03:58 PM wrote:If we have bases that incorporate larger primes p > 7, we might accept more profound “blunting” to buy resolution of smaller primes. This might indicate that our number base is out of tune!
This in fact suggests that because primes above 7 become a natural part of factorisation at a scale too fine for any auxiliary use, bases with prime factors larger than 7 essentially act like these primes don't really exist for the purpose of auxiliaries, and simply have to use unmodified superior highly composites whether or not they gel well with the base (and they don't). (Which is a bit different from decimal, which can use unmodified superior highly composites, but gels well with them.)
Quote
Like
Share