5 ms·
In decimal, in general in decimal to write a fractions you need an infinite number of digits (with repetition). We have convenient notation for that repetition
by eru 4y ago
In decimal, in general in decimal to write a fractions you need an infinite number of digits (with repetition). We have convenient notation for that repetition. A few special fractions can be written with finitely many digits.
Using base 12 or 60 you are in the same situation.
If you want elegance, you should cut down on the number of special cases.
Hence I would suggest to use a base like 11 or 59. That way more fractions will be covered by the general case.
Base 11 also works well for counting on your fingers. (Though base 6 works for that one as well.)
- WastingMyTime89 4y ago12 and 60 are both optimal cases for what you are describing. That's what highly composite numbers are: the set of natural numbers having more divisors than all smaller ones. 12 is the smallest number having 6 divisors and 60 the smallest one having 12. Both 11 and 59 would be inconvenient bases. They are primes.
- eru 4y ago12 and 60 just introduce more special cases, exactly because they have so many divisors. Prime numbers have no non-trivial divisors. So more fractions get handled by the general case, the case of infinitely repeated digits. > 12 and 60 are both optimal cases for what you are describing. Optimal in what sense? They are certainly more convenient. I was describing mathematical elegance.
- WastingMyTime89 4y ago> Prime numbers have no non-trivial divisors. So more fractions get handled by the general case, the case of infinitely repeated digits. I don’t understand what you mean by special cases and general cases. R\Q is dense in R so most numbers can’t be written as repeating digits at all whatever the base you are using and in every bases all numbers which have a finite representation also have a repeating one by subtracting 1 to the last digit and adding an infinity of the biggest available digit after (decimal representations are not unique). Generally you want more divisors for your base. The more divisors you have the nicer the fractional part is likely to look like for common operations.
- deleted 4y ago[deleted]
- eru 4y agoI am not talking about numbers in R. I am talking about representing numbers from Q in a decimal fraction. (Or in a fraction to basis 11 or 12 or 60 etc.) (I'm not sure why anyone would want to bring up R? Why R and not eg p-adic numbers? Or algebraic numbers?) General case: your fraction p/q will be expressed as some repeating decimal fraction, like 22/7 = 3.|142857 (where | marks the start of the repeat.) Special case: your fraction p/q will be expressed by a decimal fraction that stops. Like 2/5 = 0.4 or so. You can't get rid of the general case. No matter what base you pick, the representation of the vast majority of your fractions will have infinite repeats. You can however minimize the occurrences of the special case by picking a base with fewer divisors. In contrast, picking a base with more divisors, like 12 or 60 gives you more special cases to worry about. (And yes, you can apply the trick you suggested, to sort of remove the special case by writing 0.4 as 0.3|9. Or for that matter as 0.4|0; but I'm not sure that last one buys you anything.) Just to be clear: this is all a bit tongue in cheek and just talking about what system is mathematically more elegant, by having fewer special cases. In practice, having more divisors is convenient; though in practice just rounding after some number of digits is also fine.
- benj111 4y agoHow does base 11 work for counting on your fingers? Last I checked, most of us have only 10 digits
- eru 4y agoWith your ten digits, it's easy to symbolize eleven digits: zero, one, two, ..., nine and ten. Hence base eleven is very convenient. Base six is probably most practical for this: You can count from zero to five on your left hand. When you go to six, you close your left hand (go to zero) and increment the count on your right hand by one. Two hands let you count from zero to thirty-five (inclusive).
- benj111 4y agoYes sorry. That's a good, (and obvious) point
- ted_dunning 4y agoI use 8 fingers with two thumbs for carrying. That can be interpreted mathematically or practically.
- eru 4y agoBase nine is your friend then? (Or base five, perhaps?)
- ted_dunning 4y agoYou are off here a bit. ALL decimal, base 12 and base 60 expansions of rational numbers end in a repeating sequence. Just like base 11 and 59. The only difference between 1/7 and 1/5 in decimal is that for the 1/7, the repeating sequence is 7 digits long (142857) and for 1/5 the repeating sequence is 1 digit long (0). In base 12, 1/5 has a 4 digit repeating sequence (2497).