Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #383843
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! |
| Date | 2015-11-04 01:51 -0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <n1ckfd$n1i$1@speranza.aioe.org> (permalink) |
Hi, Continuing my irrational? quest of compressing and then comparing irrational numbers, I have found a clear bias in the compressed sequences of pi and e. The simple test: 1. black box compression algorithm (well not so black box as I posted the C# code for it in a previous thread) 2. two sequences: a. 160million digits of e (natural log) ascii text base10 sequence b. 160million digits of pi ascii text base10 sequence 3. script to compress digits from the 160million sequences in this format: a. break the 160million digit sequence into 1600 consecutive chunks, each of 100,000 digits b. compress each of the 100,000 digit chunks c. make a list of the "compressed lines" output for each of the 1600 compressed sequences (compressed lines is the output of the compression algorithm) d. sort the list of 1600 compressed sequences in ascending order from lowest compressed lines to highest. e. compare the sorted 1600 compressed sequences of pi to the sorted 1600 compressed sequences of e (natural log) by subtracting to find the difference in compressed lines for each of the 1600 sorted compressed sequences. f.graph the difference 4. success! There is an obvious bias in the vast majority of the 1600 compressed sequences, showing that e has slightly more compressed lines per compressed sequence than pi does. The bias is a small one, but it exists, and the bias between e and pi is not the biggest one either, out of the four sequences I tested, e, golden ratio, pi, and sqrt2, golden ratio had a larger bias than e to pi: 100000 sequence length compressed averages (1600 samples per up to 160million) compressed lines: e 1202.123 golden ratio 1203.872 pi 1200.819 sqrt2 1202.009 https://www.dropbox.com/s/03l7dhspfjv4qis/e%20%28natural%20log%29%20tends%20to%20have%20more%20compressed%20lines%20than%20pi.png This bias is seen in other ways too, but I think this comparison really is hard to refute statistically. More comparisons of sequences are in here if interested: https://www.dropbox.com/s/sxiircwgyrf3ovw/averages%28merged%20multiple%20runs%298%20sci.electronics.design.xlsx I have reached the limit of my sequence digits (160million) but am trying to get ones up to 10billion digits! cheers, Jamie
Back to sci.electronics.design | Previous | Next — Next in thread | Find similar | Unroll thread
algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! Jamie M <jmorken@shaw.ca> - 2015-11-04 01:51 -0800
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! John S <Sophi.2@invalid.org> - 2015-11-04 06:29 -0600
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! bitrex <bitrex@de.lete.earthlink.net> - 2015-11-04 07:56 -0500
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! John S <Sophi.2@invalid.org> - 2015-11-04 07:02 -0600
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! Jamie M <jmorken@shaw.ca> - 2015-11-04 11:19 -0800
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! bitrex <bitrex@de.lete.earthlink.net> - 2015-11-04 14:48 -0500
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! Jamie M <jmorken@shaw.ca> - 2015-11-04 14:27 -0800
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! Jamie M <jmorken@shaw.ca> - 2015-11-04 14:43 -0800
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! Jamie M <jmorken@shaw.ca> - 2015-11-04 17:51 -0800
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! Joe Hey <joehey@mailinator.com> - 2015-11-05 06:56 +0000
Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!! Jamie M <jmorken@shaw.ca> - 2015-11-05 01:17 -0800
csiph-web