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


Groups > sci.math > #330426

Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero

From R Kym Horsell <kym@kymhorsell.com>
Newsgroups sci.math
Subject Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero
Date 2016-03-24 19:02 +0000
Organization SDF Public Access UNIX System, Est. 1987
Message-ID <nd1dja$psp$2@odin.sdf-eu.org> (permalink)
References <nct4qr$ud2$1@dont-email.me> <ncvn6j$dos$4@odin.sdf-eu.org> <nd09h2$26l0$1@macpro.inf.ed.ac.uk> <nd0dgu$id1$1@odin.sdf-eu.org> <nd0hqo$2age$2@macpro.inf.ed.ac.uk>

Show all headers | View raw


Richard Tobin <richard@cogsci.ed.ac.uk> wrote:
> In article <nd0dgu$id1$1@odin.sdf-eu.org>,
> R Kym Horsell  <kym@kymhorsell.com> wrote:
> 
>>Indeed, setting up a run just now for 32 bits doesn't immediately
>>find the 31-bit solutions. (It's been running for ~60 sec as I type this).
>>
>>It must mean the density of solutions for certain lengths
>>is significantly higher than others because the hardware in
>>question is "attracted" to them when producing answers.
> 
> It would be very surprising if the density was significantly
> different from what is statistically expected for anything other
> than the smallest lengths that work.
> 
> Can you find, say, a 50-block solution immediately?

If it starts out configured to 50-length sequenmces it immediately
finds one of 41:

+14159265+35897932+38462643+38327950-28841971+69399375-10582097+49445923
-07816406-28620899+86280348+25342117-06798214+80865132-82306647-09384460
-95505822-31725359+40812848+11174502+84102701-93852110-55596446+22948954
+93038196-44288109-75665933+44612847+56482337+86783165+27120190-91456485
-66923460+34861045-43266482-13393607+26024914-12737245-87006606-31558817
-48815209
2.043 sec cpu

This is still 10x longer than the first one I looked at, but
the diff in runtimes doesn't  mean much.

The mental model of the machine is a very large number of small processors
that work in parallel.

If each is configured with a "50 bit" memory (as above) then
there are 2^50 (*) processors arranged in a square with 33554432
rows and ditto columns.

Each processor has it's own unique ID stored in its memory
and can access system-wide constants.

I think of it as just a mighty big Illiac IV with some funny
restrictions.

By executing 50 64-bit parallel arith operations the ensemble
can add up the 50 8-digit constants with each processor's ID 
used to decide on +/- operations along the way.

At each stage the sum so far is tested for 0 and a processor
local flag set if so. When the flag is set that processor stops
executing.

After the 50th step the hard part begins. Each (say) column
now has to be searched 1 at a time for any processor in that
column that has its flag set.

The hardware can check all 33554432 processor flags
in that column, but there is "no way" to check all 33554432
column flags in one hit.

Even at length 41 (as above) the number of solutions must be
so rare that it searched 2059450 columns before it found
any that had its flag set.

In one step you can retrieve the ID of the processor with its flag
set and decode the solution, which then needs to be verified given
a butterfly fart on Jupiter may affect the result.

If you end up searching all 33 mn columns and find no flags
then either butterfly indigestion screwed things up and
you maybe should start again from scratch, or there is in fact
no solution.

After 10 times with no solution accept there is no solution.

(*) Don't worry about the number of particles in the visible
universe as a limit -- there may  be more than one universe
and they're all on a LAN.

> What if you use random digits instead of pi?
> -- Richard

Can't see there should be any diff. Just another 0/1 programming prob.

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


Thread

signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-23 00:11 -0400
  Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-23 03:50 -0400
    Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero R Kym Horsell <kym@kymhorsell.com> - 2016-03-23 08:11 +0000
      Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-23 05:07 -0400
        Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero R Kym Horsell <kym@kymhorsell.com> - 2016-03-23 10:12 +0000
          Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero abu.kuanysh05@gmail.com - 2016-03-23 08:31 -0700
        Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-23 17:21 +0000
  Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-23 16:20 +0000
    Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-23 16:29 +0000
      Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero abu.kuanysh05@gmail.com - 2016-03-23 17:51 -0700
      Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-24 01:06 -0400
    Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-23 17:10 +0000
      Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-24 04:42 -0400
        Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-24 08:51 +0000
  Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-23 15:29 -0400
    Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero R Kym Horsell <kym@kymhorsell.com> - 2016-03-24 03:33 +0000
      Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-24 00:47 -0400
        Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero R Kym Horsell <kym@kymhorsell.com> - 2016-03-24 05:54 +0000
      Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-24 08:46 +0000
        Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero R Kym Horsell <kym@kymhorsell.com> - 2016-03-24 09:54 +0000
          Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-24 11:00 +0000
            Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero R Kym Horsell <kym@kymhorsell.com> - 2016-03-24 11:58 +0000
          Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-24 11:08 +0000
            Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero R Kym Horsell <kym@kymhorsell.com> - 2016-03-24 19:02 +0000
            Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero Barry Schwarz <schwarzb@dqel.com> - 2016-03-24 14:05 -0700
  Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-24 00:56 -0400
    Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero djoyce099 <hlauk.h.bogart@gmail.com> - 2016-03-24 11:06 -0700
      Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero djoyce099 <hlauk.h.bogart@gmail.com> - 2016-03-24 15:42 -0700
        Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero djoyce099 <hlauk.h.bogart@gmail.com> - 2016-03-24 17:46 -0700
  Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-03-24 14:44 +0000
    Re: signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero David Bernier <david250@videotron.ca> - 2016-03-25 03:06 -0400

csiph-web