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


Groups > sci.electronics.design > #383917

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, sci.math
Subject Re: algorithm that can distinguish between a sequence of pi digits and e (natural log) digits!!
Date 2015-11-04 17:51 -0800
Organization Aioe.org NNTP Server
Message-ID <n1ecno$ht4$1@speranza.aioe.org> (permalink)
References (2 earlier) <zfn_x.60878$kk3.40294@fx15.iad> <n1dloa$4ic$1@speranza.aioe.org> <%ht_x.313$eu3.277@fx12.iad> <n1e0ol$ssb$1@speranza.aioe.org> <n1e1mb$uq9$1@speranza.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


On 11/4/2015 2:43 PM, Jamie M wrote:

> More testing required!
>
> cheers,
> Jamie
>
>

Hi,

Here is some more data showing the actual output of the compression
algorithm to show the details of how the sequence e has more compressed 
lines for the same sequence length than pi sometimes:

sequence input e (natural log)
1000 compressed digits
starting digit (from sequence of e digits) 76522000

C0(null)[2,3,6,6,8,7,9,5,9,9,9,5]
  C3(3,5)[3,14,166,30,107,67,8,187,26,137,13,19,102,43,54]
  C11(0,8)[6,217,24,78,13,248,138,91,19,27]
  C2(2,3)[31,2,201,94,41,13,75,198,49,15,11,62,187]
  C0(3,2)[34,88,74,181,23,60,34,232,67,2,19,105,55]
  C19(8,3)[18,178,100,113,308,207]
  C14(3,1)[24,126,152,15,9,21,4,64,111,167,15,31,107]
  C44(6,4)[4,68,11,18,82,141,271,46,44,95,63,45]
  C45(4,6)[4,38,28,10,19,4,162,53,300,3,120,21,31,148]
  C32(0,2)[19,3,18,129,5,46,259,89,82,38,62,180]
  C31(7,0)[22,8,20,119,105,43,39,18,289,282]
  C52(2,7)[3,120,221,40,21,326,192]
  C15(1,9)[43,38,45,115,86,130,108,128,104,80]
  C30(8,7)[34,3,13,89,30,152,5,84,253,123,4,29,118]
  C40(7,3)[25,202,8,77,45,264,39,55,5,224]
  C36(3,8)[30,89,59,7,47,424,64,188]
  C63(7,8)[5,25,83,108,143,291]
  C9(1,0)[61,59,22,166,126,38,55,8,137,93,70,85]
  C50(6,0)[24,305,72,288,39,26,66,44]
  C60(9,7)[17,36,313,6,2,39,198,234,50,28]
  C29(9,8)[50,59,317,295]
  C75(0,6)[7,37,100,20,167,73,80,136,45]
  C76(6,9)[14,141,9,5,373,16,198]
  C39(1,7)[53,73,239,41,71,2,5,192,2,37]
  C46(6,1)[49,326,28,20,11,35,28,17,7]
  C23(9,6)[74,132,13,6,220,102,67,275]
  C78(7,9)[21,60,274,4,17,13,7,13,3,34,145,102,135,10,40,12]
  C86(9,4)[14,2,22,48,480,181,4,132,24]
  C4(5,9)[101,48,483,39,49,25,48,43,61,3,56]
  C91(9,1)[15,36,251,45,141,46,148,38,18,14,31]
  C101(4,9)[11,25,91,52,289,36,4,324]
  C111(7,4)[3,18,147,22,140,68,10,2,190,74]
  C83(6,5)[37,169,212,47,193,98]
  C85(2,9)[38,48,52,208,46,323,10,18,8,156]
  C62(0,7)[69,147,47,48,13,23,43,93,114,256]
  C128(4,1)[5,56,3,19,91,101,39,80,52,31,143,63]
    C9(2,67)[2]
    C10(67,2)[2]
  C47(1,6)[87,78,14,35,42,43,104,167,38]
  C24(6,2)[111,436,23,62,49,60,3,41,128]
  C69(8,1)[71,10,29,292,25,38,357,6,102]
  C5(9,3)[149,337,36,2,81,68,47,88,68,37,60]
  C22(8,9)[134,226,10,31,175,26,25,224,81]
  C157(9,5)[3,64,8,243,13,68,63,16,74,93,62,29,10,4,34,18]
  C158(5,7)[3,105,17,182,24,13,208,49,3]
  C104(2,5)[63,15,90,10,9,156,66,82,88,44,31,38,104]
  C21(5,8)[147,19,204,24,2,116,332,77,24]
  C166(7,2)[4,80,63,61,61,11,12,45,85,143,91,28,140]
  C84(5,2)[90,116,186,136,8,83,86,58,36,11,32,54]
  C12(8,4)[165,11,81,133,16,67,306]
  C117(4,8)[61,177,198,70,7,368]
  C143(1,4)[37,11,171,32,174,5,2,31,206]
    C6(2,67)[3]
  C103(4,2)[78,28,61,24,76,25,252,188]
  C13(4,3)[171,608,93,38]
  C121(5,3)[74,139,5,60,140,53,36,231,18,31]
  C73(2,6)[124,170,11,164,162,62,57,72]
  C149(6,8)[49,209,4,485]
  C27(2,0)[178,46,253,117,230,76,11]
  C136(2,4)[72,2,89,470,115,79]
  C163(6,3)[50,7,42,49,47,6,129,171,3,23,7,182,94]
  C183(5,4)[34,56,13,6,121,443,141]
  C146(4,0)[72,46,246,143,33,139,122]
  C7(5,1)[218,30,72,491,131]
  C222(8,2)[13,62,32,127,6,295,70]
  C16(9,0)[230,11,86,81,54,105,16,7,70,258,23,4]
  C28(0,9)[219,178,130,122,186,76,19,19]
  C98(6,7)[151,55,43,240,45,155,81,119,2]
  C202(2,1)[51,122,197,17,12,13,2,304]
  C193(1,5)[61,79,257,37,96,152]
  C118(8,0)[141,78,71,146,49,116,32,194]
  C108(3,4)[155,267,34,65,221,63]
    C4(33,3)[2]
  C152(0,5)[113,41,32,349,168,75,5,13]
  C109(4,7)[165,26,119,67,34,120,59,31,40,194,6]
  C238(3,0)[39,58,18,6,13,13,177,96,76,120,8]
  C173(4,5)[114,127,117,7,27,137,74,82,136]
  C233(5,0)[74,17,227,7,38,146,39]
  C147(0,4)[161,46,183,15,52,3,15,153,31,140]
  C295(2,8)[19,87,60,2,32,153,142,25,33]
  C312(3,7)[7,187,162,11]
  C57(7,1)[264,196,124,39,36]
  C107(1,3)[215,54,185,16,169,107,8,60]
  C260(0,1)[84,36,64,38,172,89,109,76]
  C162(7,6)[195,53,10,213,130,106,119]
  C318(0,3)[42,29,116,58,21,168,27]
  C203(1,2)[163,64,111,74,284]
  C328(1,8)[53,41,17,31,13,14,105,217,11,59,64]
  C281(9,2)[102,416]
  C285(8,5)[127,4,48,382]
  C288(5,6)[160,66,33,19,20,98,5,39,49,26,128,5,36]
  C43(3,6)[449,101,144,141,8]
  C94(8,6)[406,131,200,35]
  C326(7,5)[220,127,115,29,148,6]
  C528(3,9)[50,302,30,72]


That is 95 lines, more than any other of the 160,000 compressed
sequences of e digits from the first 160million digits of e,
the next closest had 94 lines.

The extra lines are coming from the indented (tabbed) lines,
there are four of them above:

  C9(2,67)[2]
  C10(67,2)[2]
  C6(2,67)[3]
  C4(33,3)[2]

The bias I've detected in pi, is that there are fewer of these indented 
lines created than for other sequences ie e (natural log).

These tabbed lines are "second order chirplets" and are created when
the original sequence has a pattern like this:

....,a,b,(gap1),a,b,(gap2),a,b,(gap1),a,b,(gap2),a,b.....

so for example:
a=3
b=4
gap1=random number of random digits (ie 3 random digits 5,7,1 and 6,2,8)
gap2=random number of random digits (ie 2 random digits 8,8 and 0,9 and 7,2)

So this example sequence could look like:

3,4, 5,7,1, 3,4, 8,8, 3,4, 6,2,8, 3,4, 7,2, 3,4

or

3,4,5,7,1,3,4,8,8,3,4,6,2,8,3,4,7,2,3,4

The above sequence has only one consecutive pair of digits that
exist at least twice: 3,4.  And the gaps between each occurrence
of where 3,4 occurs are the digits counted from each occurance
of 3,4,
so for the first 3,4 set it to 0
the second 3,4 count 5 digits from the first 3,4
the third 3,4 count 4 digits from the second 3,4
the fourth 3,4 count 5 digits from the third 3,4
the fifth 3,4 count 4 digits from the fourth 3,4

This gives a new sequence:

5,4,5,4

My compression algorithm recursively looks for the same
patterns in this second order sequence to identify
consecutive pairs of digits that exist at least twice,
so since this sequence has 5,4 that meet this criteria,
it makes a "second order chirplet" in the output compressed
file (the indented one above that occurs more in the e
sequence than pi!)

So from this example, that is a small difference I identified
in e (natural log) compared to pi, ie pi will have a very small
extra chance that a second order chirplet won't get created,
ie instead of the 5,4,5,4 sequence, it may be 5,4,5,3 etc
which would not create a second order chirplet.

So therefore I would say that pi is slightly less periodic,
and slightly more random than e!  At least to the 160million
digits I tested.

There are fewer of these types of second order structures in pi than
there are in e, just a very small amount fewer though.

My compression algorithm works up to n-order periodic structuring,
but I have only compressed up to 10million digits at once in a
single sequence and didn't see any chirplets past second order,
in these very random sequences, but in more periodic sequences,
there are lots of high order (ie 7th level chirplets, ie in a
quantized sine wave)

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