| | #1 (permalink) |
| Resident Slayer Join Date: Jan 2005 Location: Sunnydale, CA
Posts: 6,670
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I wanted to come up with a fun and frivolous but scientific topic for my 100th thread, and while I was out on my jog this afternoon the following popped into my head: Decimal numbers come in two varieties:
Now, definitionally, Rational numbers have repeating sequences of digits, so the fraction repeats the three on and on endlessly. Conversely, irrational numbers however have random sequences that do not repeat at all.Here's where my pondering came in: for any particular decimal number, you can create a distribution map of the digits in the decimal representation. For the finite representations, this is just counting appearances so for the number you have the distribution of digits:Which is not only limited but boring to boot! With unbounded numbers, you have an infinite number of digits, so things get a bit more interesting. In order to "compute" the distribution, you need to start working with ratios of each digit to the others. With unbounded rational numbers, this is relatively easy since you can take just the "repeating sequence" and count the occurrences of each digit and then divide by the length of the sequence, so the number has the distribution:This is obviously a skewed distribution! On the other hand this lovely fraction: has the perfectly Poisson Distribution curve of:When you bring in Irrational Numbers though, there's no immediately obvious way to figure this out. Being to lazy to do it right away, I thought I'd throw it out to all the math whizzes out there: What are the distributions of digits in Irrational Numbers? Can we make any interesting generalizations? Since the digits in an Irrational number are random, they *could* all be Poisson Distributed, but are they? How's about or e?Any references to cool Abstract Algebra or Number Theory proofs that are relevant (or have solved this one completely!)? Anyone want to contribute some code to test any theories? ![]() The creator of the universe works in mysterious ways. But he uses a base ten counting system and likes round numbers, ![]() Buffy
__________________ "If you do not agree with anything I say, I'll not only retract it, but deny under oath that I ever said it!" __________________________________________________ ______________-- Tom Lehrer "The shrinks diagnosed me a sociopath with paranoid delusions. But they’re just out to get me cause I threatened to kill them." Forum Administrator Hypography Science Forums - Science for Boys and Girls! Its not for nothing that we hang out here. |
| | |
| | #2 (permalink) |
| ¿42? Join Date: Feb 2005 Location: 33.78N 84.66W
Posts: 5,773
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Distribution of Digits in Irrational Numbers From the looks of this page on the frequency of digits in Pi it looks to be approaching a uniform distribution. OTOH, e does not seem to have a normal distribution according to this source.
__________________ Clay Editor and Forum Administrator stego anyone? Add yourself to Hypography's Frappr. "There are only 10 kinds of people in the world -- .....Those who understand binary, and those who don't." "Draw no conclusions before their time." |
| | |
| | #3 (permalink) |
| Hypographer | Re: Distribution of Digits in Irrational Numbers Not sure if I understand this, but I was reminded of a book I read a while ago which discussed the distribution of prime numbers, the Riemann hypothesis and some other stuff. Maybe you can find some relevant ideas here? Prime number theorem - Wikipedia, the free encyclopedia
__________________ Your Friendly Neighborhood AdministratorWant to sponsor Hypography? Buy a print in our Fall 2008 Benefit Sale Found a problem? Report it in our Bug Tracker Science is not only compatible with spirituality; it is a profound source of spirituality. - Carl Sagan |
| | |
| | #4 (permalink) | |
| Exhausted Gondolier Join Date: Feb 2005 Location: isolated from the world
Posts: 4,445
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Distribution of Digits in Irrational Numbers Quote:
elements, reduced for equivalent ones. Obviously, permutations are all equivalent in the case of a single digit, otherwise there are infinitely many non equivalent permutations.For a rational number, the b numbers of the histogram must be rational, they needn't be for an irrational number but they may be. Cute question, go jogging more often!
__________________ Who's afraid of the Big Black Hole????? Go Black Hole! W the Black Hole! ![]() ![]() ![]() Hasta que el agujero negro nos traga, siempre! Hypography Forum PITA...... er, Administrator. Last edited by Qfwfq; 11-14-2007 at 01:37 AM. Reason: LaTeX woes | |
| | |
| | #5 (permalink) |
| Understanding Join Date: Mar 2007 Location: scotland
Posts: 258
![]() ![]() ![]() ![]() | Re: Distribution of Digits in Irrational Numbers Hi The poisson distribution for rational numbers is given as f(k;λ) = e^(-λ) λ^k / k! Where k is the actual number of occurrences and λ is the expected number and k! is the facotrial of k code hmm try this java code not sure if its what your looking for though. /**Calculates an approximation of the Poisson probability. * @param mean - lambda, the average number of occurrences * @param observed - the actual number of occurences observed * @return ln(Poisson probability) - the natural log of the Poisson probability. */public static double poissonProbabilityApproximation (double mean, int observed){ double k = observed; double a = k * Math.log(mean); double b = -1.0 * mean * Math.log(Math.E); return a + b - Num.factorialApproximation(k);}/**Srivivasa Ramanuja ln(n!) factorial estimation. * Good for larger values of n. * @return ln(n!) */public static double factorialApproximation(double n){ if (n < 2) return 0; double a = (n * Math.log(n)) - n; double b = (Math.log(n * (1.0+ (4 * n * (1.0 + (2.0 * n)))))) / 6.0; return a + b + (Math.log(Math.PI) / 2.0);} Peace ![]() Last edited by Tormod; 11-14-2007 at 03:53 AM. Reason: Tried to clean up the code but failed miserably. |
| | |
| | #6 (permalink) |
| Creating Join Date: May 2005 Location: Silver Spring, MD, USA
Posts: 4,509
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | This reminds me of a question I read (can’t remember the source) that asked the simple question: “Does there exists any finite sequence of digits that does not appear in some irrational number?”For example, the digit sequence 04261960 (my birthday ) appears in starting at the 103245729th position after the decimal (according to The Pi-Search Page).The base of the numeration system used appears unimportant to this question. The assumption is that the answer to this question is “no”, but to the best of my knowledge, this is not only unproven, but nobody has much of an idea how to go about even finding an approach to a proof of it. The question is reminiscent of Borges’s story "The Library of Babel", and Sagan’s novel “Contact”. If it’s answer is indeed, as is expected for at least some irrational number, then in the digits of some (or all) irrational number contain the text of every work that can ever be written using the Latin alphabet, including the complete works of Shakespeare, a compelling theory of everything, an engineering description of a practical fusion power plant, etc. Following the maxim that everything involving numeration becomes as simple as it can get when done in base 2, these similar question about the normalcy (in the sense used upthread) of an irrational number can be asked: “Does there exist an irrational number for which there exists no truncated binary representation contains an equal counts of 1s and 0s?” “Does there exist an number L for which no truncated binary representation of a given irrational number contains equal counts of 1s and 0s greater than L?”For example, the first question is not true of , as it’s first 4, 6, 8, 30, etc. digits consist of equal numbers of 1s and 0s.These questions are related to a coin tossing question I discovered in Krauss's “Beyond Star Trek”, which asks “What is the probability that a true coin will ever produce the same # of heads & tails?” (the answer is “1, a certainty”)
__________________ Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies |
| | |
| | #7 (permalink) | ||||
| Resident Slayer Join Date: Jan 2005 Location: Sunnydale, CA
Posts: 6,670
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Related questions Quote:
does converge to Poisson, it sure takes its own sweet time in getting there, huh!Quote:
![]() Quote:
I do every day! But only occasionally does hitting the wall result in fun stuff. Usually its just an epiphany about a bug or an old boyfriend... Quote: Quote:
)...snoopy: I'm going to try to diambiguate your code sniplet, but could you post an explanation of what its supposed to *do*? ![]() It may be irrational of me, but human beings are quite my favorite species, ![]() Buffy
__________________ "If you do not agree with anything I say, I'll not only retract it, but deny under oath that I ever said it!" __________________________________________________ ______________-- Tom Lehrer "The shrinks diagnosed me a sociopath with paranoid delusions. But they’re just out to get me cause I threatened to kill them." Forum Administrator Hypography Science Forums - Science for Boys and Girls! Its not for nothing that we hang out here. | ||||
| | |
| | #8 (permalink) |
| Understanding Join Date: Mar 2007 Location: scotland
Posts: 258
![]() ![]() ![]() ![]() | Re: Distribution of Digits in Irrational Numbers Hi Buffy the code snippet never turned out well enough pasted it will just type it it calculates the approximation of the poisson probability {if (n<2) return 0; double a = (n * Math.log(n)) - n; double b = (Math.log(n * (1.0+ (4 * n * (1.0 + (2.0 * n)))))) / 6.0; return a + b + (Math.log(Math.PI) / 2.0);} The trouble is it doesnt do much right now its just the core math found it in a old java compiler, but I will work on it so it prints the value of n and a + b + (Math.log(Math.PI) / 2.0) alongside it. Peace ![]() |
| | |
| | #9 (permalink) | |||
| Exhausted Gondolier Join Date: Feb 2005 Location: isolated from the world
Posts: 4,445
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Re: Distribution of Digits in Irrational Numbers Quote:
Quote:
Quote:
However, I would say that if the number is rational, it always has a period (which may be the digit 0) whereas any other sequence of its digits (comprising ones previous to the period) needn't eventually repeat. Knew you'd say that! But ya know what I meant. ![]() Actually that's just a corollary of what I said, and I meant it about all reals.
__________________ Who's afraid of the Big Black Hole????? Go Black Hole! W the Black Hole! ![]() ![]() ![]() Hasta que el agujero negro nos traga, siempre! Hypography Forum PITA...... er, Administrator. | |||
| | |
| | #10 (permalink) | |
| Creating Join Date: May 2005 Location: Silver Spring, MD, USA
Posts: 4,509
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Quote:
![]() . It's missing the 8.To get the latter repeating fraction, we need the much less lovely fractions or, in canonic form, .Any fraction of the form where is a simply normal positive integer -digit integer is simply normal.I don’t know what the loveliest fraction (that is, with the fewest numerator and denominator digits) with a perfectly even distribution of digits, and can’t right off think of a not-too computationally intense (9! or more iterations) way to find it.
__________________ Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies | |
| | |
![]() |
| Bookmarks |
| Tags |
| buffy |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Irrational Numbers | Racoon | Science Projects and Homework | 31 | 2 Weeks Ago |
| Why is the distribution of the population of scientists so skewed? | hallenrm | Watercooler | 1 | 05-11-2007 |
| Repeating digits under long division | CraigD | Physics and Mathematics | 16 | 12-24-2006 |
| Significant digits | kingwinner | Physics and Mathematics | 0 | 02-07-2006 |
| Astronomers find gravity's signature in galaxy distribution | Tormod | Astronomy news | 4 | 01-15-2005 |