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


Groups > sci.electronics.design > #383250

Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length

From Martin Brown <|||newspam|||@nezumi.demon.co.uk>
Newsgroups sci.electronics.design
Subject Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length
Date 2015-10-30 11:53 +0000
Organization Aioe.org NNTP Server
Message-ID <n0vln2$sdt$1@speranza.aioe.org> (permalink)
References (11 earlier) <n0rd7u$5fh$2@speranza.aioe.org> <n0t6r9$q7c$2@dont-email.me> <n0uf6i$lq9$1@speranza.aioe.org> <n0vcnm$8l4$1@speranza.aioe.org> <n0vj7v$n5u$1@speranza.aioe.org>

Show all headers | View raw


On 30/10/2015 11:10, Jamie M wrote:
> On 10/30/2015 2:19 AM, Martin Brown wrote:
>> On 30/10/2015 00:55, Jamie M wrote:

>>> No idea how to explain the divergence, maybe it is something in
>>> the compression algorithm that causes it but I don't see how,
>>> I think more averaged data is needed still.
>>
>>  From the position of the feature I would hazard a guess that there is a
>> 16kbyte to 64k search buffer in the compression algorithm being used.

OK. You made me curious enough to find allegedly 100k digits of pi and 
feed them to my byte wise entropy calculator. It turns out that the web 
page titled 100k digits of Pi actually has 200k digits on it!

http://www.geom.uiuc.edu/~huberty/math5337/groupe/digits.html

Anyway assuming that they really are the digits of pi there is an 
obvious curiosity in that there is a 1% bias in favour of "1" and a half 
% bias against 2 & 9 over this relatively short range whilst
5,6,3,7,0,8 & 4 are all suspiciously close to their ideal value!

Filename : pi100k.txt
  File size =     200002
  Entropy   =      2.303     ( max. 5.545 )
  States used =   10.00      ( max. 256   )

Zero frequency :  0-47 58-255

Most frequent bytes:
   49  31 "1" 20278
   53  35 "5" 20054
   54  36 "6" 20054
   51  33 "3" 20052
   55  37 "7" 20050
   48  30 "0" 19998
   56  38 "8" 19956
   52  34 "4" 19940
   50  32 "2" 19816
   57  39 "9" 19804

I doubt if it is significant in number theory but it would be enough to 
skew compression in favour of higher compressibility. Someone else has 
already done this and the bias vanishes for longer sequences:

http://www.eveandersson.com/pi/precalculated-frequencies

Here 1 is least frequent in the first 10M digits.

-- 
Regards,
Martin Brown

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 a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-27 18:04 -0700
  Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-27 18:06 -0700
    Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length "David Eather" <eather@tpg.com.au> - 2015-10-28 19:29 +1000
    Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jasen Betts <jasen@xnet.co.nz> - 2015-10-29 04:53 +0000
      Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length pippo2@disney.com (Jack) - 2015-10-29 22:41 +0100
      Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length krw <krw@nowhere.com> - 2015-10-29 20:19 -0400
        Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Chris <c@b.a> - 2015-10-30 17:00 +1100
  Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length John Larkin <jjlarkin@highlandtechnology.com> - 2015-10-27 19:23 -0700
    Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-27 19:48 -0700
      Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length David Brown <david.brown@hesbynett.no> - 2015-10-28 09:45 +0100
      Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2015-10-28 08:24 -0400
        Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2015-10-28 09:19 -0400
        Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-28 12:52 -0700
        Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-28 13:01 -0700
        Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jasen Betts <jasen@xnet.co.nz> - 2015-10-29 04:57 +0000
          Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length rickman <gnuarm@gmail.com> - 2015-10-29 03:05 -0400
            Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-29 12:47 +0000
              Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2015-10-29 13:27 -0400
              Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length dplatt@coop.radagast.org (Dave Platt) - 2015-10-29 18:35 -0700
            Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length David Brown <david.brown@hesbynett.no> - 2015-10-29 14:25 +0100
            Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jasen Betts <jasen@xnet.co.nz> - 2015-10-29 20:41 +0000
    Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-27 20:02 -0700
    Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-27 20:23 -0700
      Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Adrian Jansen <adrian@qq.vv.net> - 2015-10-28 14:38 +1000
      Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length George Herold <gherold@teachspin.com> - 2015-10-28 06:20 -0700
  Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length DAB <x@y.com> - 2015-10-28 12:45 +0800
    Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-27 22:25 -0700
      Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length DAB <x@y.com> - 2015-10-28 14:02 +0800
    Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-27 22:29 -0700
      Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length rickman <gnuarm@gmail.com> - 2015-10-28 02:09 -0400
        Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-28 00:28 -0700
          Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length rickman <gnuarm@gmail.com> - 2015-10-28 04:09 -0400
            Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-28 04:25 -0700
              Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-28 04:31 -0700
              Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-28 12:26 +0000
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-28 12:41 -0700
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length rickman <gnuarm@gmail.com> - 2015-10-28 15:50 -0400
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-28 19:59 +0000
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-28 14:03 -0700
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length David Brown <david.brown@hesbynett.no> - 2015-10-29 14:29 +0100
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-29 17:55 -0700
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-30 09:19 +0000
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-30 04:10 -0700
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-30 11:53 +0000
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-30 12:13 +0000
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-30 13:16 -0700
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-11-01 12:34 -0800
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-11-01 12:38 -0800
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-11-01 18:22 -0800
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-11-01 19:30 -0800
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length "David Eather" <eather@tpg.com.au> - 2015-11-02 18:10 +1000
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-11-02 12:52 -0800
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-30 04:33 -0700
                Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jamie M <jmorken@shaw.ca> - 2015-10-29 04:07 -0700
  Re: algorithm that can distinguish between a sequence of PI digits and a sequence of pseudorandom digits of equal length Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-28 09:49 +0000

csiph-web