Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #383893

Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!!

From Jamie M <jmorken@shaw.ca>
Newsgroups sci.electronics.design
Subject Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!!
Date 2015-11-04 11:19 -0800
Organization Aioe.org NNTP Server
Message-ID <n1dloa$4ic$1@speranza.aioe.org> (permalink)
References <n1ckfd$n1i$1@speranza.aioe.org> <n1cth3$p33$3@dont-email.me> <zfn_x.60878$kk3.40294@fx15.iad>

Show all headers | View raw


On 11/4/2015 4:56 AM, bitrex wrote:
> On 11/4/2015 7:29 AM, John S wrote:
>> On 11/4/2015 3:51 AM, Jamie M wrote:
>>> 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
>>
>> You should submit your findings to the Math Institute of the World (MIW)
>> and have it publicised.
>>
>
> I'm not sure exactly what Jamie is doing, but whatever it is, I don't
> think it's a viable method for comparing the correlation between
> sequences of "random" numbers...

I think one of them, pi or e, has a very slight periodicity so I am
not comparing correlations between random numbers but instead trying
to find the non random part.  Most likely e has a very small bias in
non randomness, at least compared to pi, in that it has slightly more
equal interval repeating pairs of digits, ie 3,4,x,y,z,3,4,a,b,c within
the vast majority of any 100,000 digit block of the sequence.

Not sure exactly but I'm trying to figure out what the exact difference
in periodicity is, and then it should be easy to just look at any
random 100,000 digit block of pi or e and compare if the vast majority
of them do have the same small bias.  I don't know if it qualifies as
random or non random if there is a detectable bias like this, but I
think it should be *theoretically* to "reverse engineer" a 
transcendental sequence back to the formula(s) that were used to create
it maybe eventually.

cheers,
Jamie


Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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