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


Groups > sci.electronics.design > #382977

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

From Jamie M <jmorken@shaw.ca>
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-27 19:48 -0700
Organization Aioe.org NNTP Server
Message-ID <n0pd2h$nta$1@speranza.aioe.org> (permalink)
References <n0p6v5$dcv$1@speranza.aioe.org> <abc03b5uhe4u7tckjth3pqeugqm0bsvedc@4ax.com>

Show all headers | View raw


On 10/27/2015 7:23 PM, John Larkin wrote:
> On Tue, 27 Oct 2015 18:04:37 -0700, Jamie M <jmorken@shaw.ca> wrote:
>
>> Hi,
>>
>> Is it possible to distinguish between digits of PI and digits of a
>> pseudorandom sequence, without using any PI digit lookup table or
>> calculating digits of PI?  For example, a 100,000 digit sequence of
>> consecutive digits in PI from any starting point compared to a
>> sequence of 100,000 pseudorandom digits.
>>
>> cheers,
>> Jamie
>
> I read somewhere that the digits of pi pass all known tests for
> randomness. So, no.
>
>

Hi,

There are definitely some periodic patterns in pi, the algorithm
I made is a compression algorithm that compresses based on periodicity,
and pi is about 1% more compressed than the pseudorandom sequence
up to the number of digits I have been able to analyze so far,
1million digit sequence length.

I tested it at many different scales and starting points in the 
sequence, here are the results if interested:

The column on the left, 0, 100, 1000, 10000 etc.. is the first
element of the sequence that was compressed, and then the top row:
100, 1000, 10000 (up to 800000) is the total length of consecutive 
digits that were compressed.


pseudorandom sequence results:
https://www.dropbox.com/s/cx9ht50hfwd67vo/20151027%20pseudorandom%20compressed%20sequence%20comparison%20results.png

pi sequence results:
https://www.dropbox.com/s/ts9vbd1hy5x4wa1/20151027%20PI%20compressed%20sequence%20comparison%20results.png

graph showing the percent different compression of the pi sequences
versus the pseudorandom sequences:
https://www.dropbox.com/s/y7wmelr6fhkt2h0/20151027%20PI%20vs%20pseudorandom%20compression%20comparison.png


I would like to test it on some sequences with longer lengths than
1million, ideally up to 10million at least, to see what that curve
does.

My compression algorithm can identify periodic patterns in sequences
so that is what was detected in the pi sequence, whereas the pseudorandom
sequence is the noisiest sequence I compressed so far.

If anyone has a sequence they think might be noisier (less periodic)
than the  pseudorandom sequence I tested please send me a link to it
and I will compress it to see how it compares to the pseudorandom one.

Also any other sequences considered random that you think might have
some patterns are welcome :D

I will release the algorithm opensource at some point if it is useful.

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 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