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


Groups > sci.math > #330349 > unrolled thread

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

Started byDavid Bernier <david250@videotron.ca>
First post2016-03-23 00:11 -0400
Last post2016-03-25 03:06 -0400
Articles 20 on this page of 31 — 6 participants

Back to article view | Back to sci.math


Contents

  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

Page 1 of 2  [1] 2  Next page →


#330349 — signed sums of consecutive blocks of 5 decimal digits from Pi summing to zero

FromDavid Bernier <david250@videotron.ca>
Date2016-03-23 00:11 -0400
Subjectsigned sums of consecutive blocks of 5 decimal digits from Pi summing to zero
Message-ID<nct4qr$ud2$1@dont-email.me>
Supposing I write a series of integers between 0 and 99999 inclusive
using the decimal digits of pi, like this:

14159
26535
89793
23846
26433
83279
50288
41971
69399
37510
etc.

Then I find that by adding multipliers of either +1 or -1 in front of
each block of 5 digits, I can obtain a total sum of zero using the
first 20 blocks of 5 digits like so:

14159-26535+89793+23846-26433-83279+50288-41971+69399+37510+58209+74944-59230-78164+
6286-20899-86280+34825+34211-70679

total = 0 .

Note: 6286, which comes from the 5-digit block
"06286", is a 4-digit integer.

Pi digits at Wikipedia:
< https://en.wikipedia.org/wiki/Six_nines_in_pi > .

It's related to the so-called Number Partition Problem
in complexity theory, otherwise known as the
partition problem:

< https://en.wikipedia.org/wiki/Partition_problem > ,

Brian Hayes, AMERICAN SCIENTIST, 2002:

< http://www.americanscientist.org/issues/pub/the-easiest-hard-problem > .

If c_k denotes the integer formed in the canonical way
from the k'th block of 5 digits of pi after "3.", for k>= 1,
i.e.
c_1, c_2, c_3, c_4,  ....  =
14159, 26535, 89793, 23846, ....

then for 16<=k <= 19 I haven't found any sign assignments, + and - ,
for the length 'k' sequence c1, ... c_k yielding a sum of zero.

I haven't checked-out 3<= k <= 15 .

David Bernier

-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [next] | [standalone]


#330350

FromDavid Bernier <david250@videotron.ca>
Date2016-03-23 03:50 -0400
Message-ID<ncthmt$sae$1@dont-email.me>
In reply to#330349
On 03/23/2016 12:11 AM, David Bernier wrote:
> Supposing I write a series of integers between 0 and 99999 inclusive
> using the decimal digits of pi, like this:
> 
> 14159
> 26535
> 89793
> 23846
> 26433
> 83279
> 50288
> 41971
> 69399
> 37510
> etc.
> 
> Then I find that by adding multipliers of either +1 or -1 in front of
> each block of 5 digits, I can obtain a total sum of zero using the
> first 20 blocks of 5 digits like so:
> 
> 14159-26535+89793+23846-26433-83279+50288-41971+69399+37510+58209+74944-59230-78164+
> 6286-20899-86280+34825+34211-70679
> 
> total = 0 .
> 
> Note: 6286, which comes from the 5-digit block
> "06286", is a 4-digit integer.
> 
> Pi digits at Wikipedia:
> < https://en.wikipedia.org/wiki/Six_nines_in_pi > .
> 
> It's related to the so-called Number Partition Problem
> in complexity theory, otherwise known as the
> partition problem:
> 
> < https://en.wikipedia.org/wiki/Partition_problem > ,
> 
> Brian Hayes, AMERICAN SCIENTIST, 2002:
> 
> < http://www.americanscientist.org/issues/pub/the-easiest-hard-problem > .
> 
> If c_k denotes the integer formed in the canonical way
> from the k'th block of 5 digits of pi after "3.", for k>= 1,
> i.e.
> c_1, c_2, c_3, c_4,  ....  =
> 14159, 26535, 89793, 23846, ....
> 
> then for 16<=k <= 19 I haven't found any sign assignments, + and - ,
> for the length 'k' sequence c1, ... c_k yielding a sum of zero.
> 
> I haven't checked-out 3<= k <= 15 .
> 
> David Bernier
> 

For integers, similarly, from blocks of 6 digits:

 141592+653589-793238-462643-383279+502884-197169+399375-105820-974944+592307+816406+286208-998628- 34825+342117+ 67982+148086

total = 0 ,
with 18 blocks of 6 digits of pi starting with
141592  and consecutively.

The last, or 148086, conmprises digits after the decimal point 103 to 108.

dave


-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#330351

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-03-23 08:11 +0000
Message-ID<nctj2l$i8p$1@odin.sdf-eu.org>
In reply to#330350
David Bernier <david250@videotron.ca> wrote:
> On 03/23/2016 12:11 AM, David Bernier wrote:
>> Supposing I write a series of integers between 0 and 99999 inclusive
>> using the decimal digits of pi, like this:
>> 
>> 14159
>> 26535
>> 89793
>> 23846
>> 26433
>> 83279
>> 50288
>> 41971
>> 69399
>> 37510
>> etc.
>> 
>> Then I find that by adding multipliers of either +1 or -1 in front of
>> each block of 5 digits, I can obtain a total sum of zero using the
>> first 20 blocks of 5 digits like so:
>> 
>> 14159-26535+89793+23846-26433-83279+50288-41971+69399+37510+58209+74944-59230-78164+
>> 6286-20899-86280+34825+34211-70679
>> 
>> total = 0 .
>> 
>> Note: 6286, which comes from the 5-digit block
>> "06286", is a 4-digit integer.
>> 
>> Pi digits at Wikipedia:
>> < https://en.wikipedia.org/wiki/Six_nines_in_pi > .
>> 
>> It's related to the so-called Number Partition Problem
>> in complexity theory, otherwise known as the
>> partition problem:
>> 
>> < https://en.wikipedia.org/wiki/Partition_problem > ,
>> 
>> Brian Hayes, AMERICAN SCIENTIST, 2002:
>> 
>> < http://www.americanscientist.org/issues/pub/the-easiest-hard-problem > .
>> 
>> If c_k denotes the integer formed in the canonical way
>> from the k'th block of 5 digits of pi after "3.", for k>= 1,
>> i.e.
>> c_1, c_2, c_3, c_4,  ....  =
>> 14159, 26535, 89793, 23846, ....
>> 
>> then for 16<=k <= 19 I haven't found any sign assignments, + and - ,
>> for the length 'k' sequence c1, ... c_k yielding a sum of zero.
>> 
>> I haven't checked-out 3<= k <= 15 .
>> 
>> David Bernier
>> 
> 
> For integers, similarly, from blocks of 6 digits:
> 
> 141592+653589-793238-462643-383279+502884-197169+399375-105820-974944+592307+816406+286208-998628- 34825+342117+ 67982+148086
> 
> total = 0 ,
> with 18 blocks of 6 digits of pi starting with
> 141592  and consecutively.
> 
> The last, or 148086, conmprises digits after the decimal point 103 to 108.


There are apparently 2 solutions.

Here is a little Prolog program to play with your blocks.

== snip ===

%% list of "blocks"
list([141592,653589,793238,462643,383279,502884,197169,399375,105820,974944,592307,816406,286208,998628, 34825,342117, 67982,148086]).


%% how to add blocks
%% sum(Sumin,List,Result).
sum(Inp,[],Inp).	%% Result == Inp
sum(Inp,[X|Xs],Outp) :-
sum(Inp,Xs,Temp),
%% can either add or subtract X
(
Outp is Temp + X
;
Outp is Temp - X
).


:- list(Nums), sum(0,Nums,Outp), Outp=0.	%% can we find a solution?

% sum(Sumin,List,Sum,HowIn,HowOut).
sum(Inp,[],Inp,How,How).	%% Sum == Inp
sum(Inp,[X|Xs],Sum,Howin,Howout) :-
sum(Inp,Xs,Temp,Howin,Howmid),
%% can either add or subtract X
(
Sum is Temp + X, Howout = [(+)|Howmid]
;
Sum is Temp - X, Howout = [(-)|Howmid]
).

:- writeln(first).
:- list(Nums), 
sum(0,Nums,Sum,[],How), 
Sum=0,
writeln(How).	%% show me!

%%% show me them all
:- writeln(all).
:- list(Nums), 
sum(0,Nums,Sum,[],How), 
Sum=0,
writeln(How),	%% show me!
fail
; 
true.

=== end snip ===

Here is the logfile from the run of the above "script":

=== snip ===
first
[+,+,-,-,-,+,-,+,-,-,+,+,+,-,-,+,+,+]
all
[+,+,-,-,-,+,-,+,-,-,+,+,+,-,-,+,+,+]
[-,-,+,+,+,-,+,-,+,+,-,-,-,+,+,-,-,-]
=== end ===

--
In the days when Sussman was a novice Minsky once came to him as he sat
hacking at the PDP-6.  "What are you doing?", asked Minsky.  "I am
training a randomly wired neural net to play Tic-Tac-Toe."  "Why is the
net wired randomly?", asked Minsky.  "I do not want it to have any
preconceptions of how to play." Minsky shut his eyes.  "Why do you
close your eyes?", Sussman asked his teacher.  "So the room will be
empty."  At that moment, Sussman was enlightened.

[toc] | [prev] | [next] | [standalone]


#330352

FromDavid Bernier <david250@videotron.ca>
Date2016-03-23 05:07 -0400
Message-ID<nctm7g$a97$1@dont-email.me>
In reply to#330351
On 03/23/2016 04:11 AM, R Kym Horsell wrote:
> David Bernier <david250@videotron.ca> wrote:
>> On 03/23/2016 12:11 AM, David Bernier wrote:
>>> Supposing I write a series of integers between 0 and 99999 inclusive
>>> using the decimal digits of pi, like this:
>>>
>>> 14159
>>> 26535
>>> 89793
>>> 23846
>>> 26433
>>> 83279
>>> 50288
>>> 41971
>>> 69399
>>> 37510
>>> etc.
>>>
>>> Then I find that by adding multipliers of either +1 or -1 in front of
>>> each block of 5 digits, I can obtain a total sum of zero using the
>>> first 20 blocks of 5 digits like so:
>>>
>>> 14159-26535+89793+23846-26433-83279+50288-41971+69399+37510+58209+74944-59230-78164+
>>> 6286-20899-86280+34825+34211-70679
>>>
>>> total = 0 .
>>>
>>> Note: 6286, which comes from the 5-digit block
>>> "06286", is a 4-digit integer.
>>>
>>> Pi digits at Wikipedia:
>>> < https://en.wikipedia.org/wiki/Six_nines_in_pi > .
>>>
>>> It's related to the so-called Number Partition Problem
>>> in complexity theory, otherwise known as the
>>> partition problem:
>>>
>>> < https://en.wikipedia.org/wiki/Partition_problem > ,
>>>
>>> Brian Hayes, AMERICAN SCIENTIST, 2002:
>>>
>>> < http://www.americanscientist.org/issues/pub/the-easiest-hard-problem > .
>>>
>>> If c_k denotes the integer formed in the canonical way
>>> from the k'th block of 5 digits of pi after "3.", for k>= 1,
>>> i.e.
>>> c_1, c_2, c_3, c_4,  ....  =
>>> 14159, 26535, 89793, 23846, ....
>>>
>>> then for 16<=k <= 19 I haven't found any sign assignments, + and - ,
>>> for the length 'k' sequence c1, ... c_k yielding a sum of zero.
>>>
>>> I haven't checked-out 3<= k <= 15 .
>>>
>>> David Bernier
>>>
>>
>> For integers, similarly, from blocks of 6 digits:
>>
>> 141592+653589-793238-462643-383279+502884-197169+399375-105820-974944+592307+816406+286208-998628- 34825+342117+ 67982+148086
>>
>> total = 0 ,
>> with 18 blocks of 6 digits of pi starting with
>> 141592  and consecutively.
>>
>> The last, or 148086, conmprises digits after the decimal point 103 to 108.
> 
> 
> There are apparently 2 solutions.
> 
> Here is a little Prolog program to play with your blocks.
> 
> == snip ===
> 
> %% list of "blocks"
> list([141592,653589,793238,462643,383279,502884,197169,399375,105820,974944,592307,816406,286208,998628, 34825,342117, 67982,148086]).
> 
> 
> %% how to add blocks
> %% sum(Sumin,List,Result).
> sum(Inp,[],Inp).	%% Result == Inp
> sum(Inp,[X|Xs],Outp) :-
> sum(Inp,Xs,Temp),
> %% can either add or subtract X
> (
> Outp is Temp + X
> ;
> Outp is Temp - X
> ).
> 
> 
> :- list(Nums), sum(0,Nums,Outp), Outp=0.	%% can we find a solution?
> 
> % sum(Sumin,List,Sum,HowIn,HowOut).
> sum(Inp,[],Inp,How,How).	%% Sum == Inp
> sum(Inp,[X|Xs],Sum,Howin,Howout) :-
> sum(Inp,Xs,Temp,Howin,Howmid),
> %% can either add or subtract X
> (
> Sum is Temp + X, Howout = [(+)|Howmid]
> ;
> Sum is Temp - X, Howout = [(-)|Howmid]
> ).
> 
> :- writeln(first).
> :- list(Nums), 
> sum(0,Nums,Sum,[],How), 
> Sum=0,
> writeln(How).	%% show me!
> 
> %%% show me them all
> :- writeln(all).
> :- list(Nums), 
> sum(0,Nums,Sum,[],How), 
> Sum=0,
> writeln(How),	%% show me!
> fail
> ; 
> true.
> 
> === end snip ===
> 
> Here is the logfile from the run of the above "script":
> 
> === snip ===
> first
> [+,+,-,-,-,+,-,+,-,-,+,+,+,-,-,+,+,+]
> all
> [+,+,-,-,-,+,-,+,-,-,+,+,+,-,-,+,+,+]
> [-,-,+,+,+,-,+,-,+,+,-,-,-,+,+,-,-,-]
> === end ===
> 
> --
> In the days when Sussman was a novice Minsky once came to him as he sat
> hacking at the PDP-6.  "What are you doing?", asked Minsky.  "I am
> training a randomly wired neural net to play Tic-Tac-Toe."  "Why is the
> net wired randomly?", asked Minsky.  "I do not want it to have any
> preconceptions of how to play." Minsky shut his eyes.  "Why do you
> close your eyes?", Sussman asked his teacher.  "So the room will be
> empty."  At that moment, Sussman was enlightened.
> 

A very nice story from olden days , the Wizards...

AFAIK, when one can get a sum of zero, changing every sign to
its opposite sign will also give an assignment with total zero,
and it seems to me indeed your two solutions have signs
reversed.

For blocks of 7, in PARI/gp, this looks promising, but
it's not fast:

? for(KB=1,25, vg = vector(KB); for(Y=1,KB, vg[Y] =
floor(Pi*(10^(7*Y)))%(10^7)); wg=vector(KB); for(Z=1, 2^KB , for(Y=1,KB,
wg[Y] = 2*(floor( Z/(2^(Y-1)))%2) -1) ;  sss = sum(WW=1,KB,
wg[WW]*vg[WW]); if(abs(sss)<10, newwg=wg; print(KB,"   ", abs(sss)))))


// gp command tests vector lengths 1 to 25, for blocks
// of seven digits from pi ;
// prints sums below 10 in absolute value,
// as well as "KB", the number of blocks having signs.

21   6
21   4
21   4
21   6
23   9
23   9
24   4

// output, if method correct, implies >= 24 blocks of seven needed to
get zero sum.

David Bernier

-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#330353

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-03-23 10:12 +0000
Message-ID<nctq6i$ps3$1@odin.sdf-eu.org>
In reply to#330352
David Bernier <david250@videotron.ca> wrote:
...
> 21   6
> 21   4
> 21   4
> 21   6
> 23   9
> 23   9
> 24   4
> // output, if method correct, implies >= 24 blocks of seven needed to
> get zero sum.
> David Bernier


[+,-,+,+,+,-,+,-,-,-,-,-,-,-,-,-,+,-,+,-,+,+,+,-,+,+,-,+]

--
[Battery Porn #3:]

5-ft high Nuclear Submarine Batteries are very conservatively designed
to outlast the lifetime of a submarine boat, (35 years). 
One of the great improvements is the use of calcium in the very thick
oxide-lead positive plate. This allows low gassing during charging,
which results in only adding water once every two years, and much
lower charge loss, due to charge migration during stand-by. 
We estimate for home use you will get 35 years or better with good care. 
Each cell is 2.0 volts per cell X 7000 amps = 14,000 watt hours, a 12
volt system = 6 cells X 14,000 watt hours= 84,000 watt hours, this
could run an average household for up to 45 days, (ganging more cells
together can accommodate 24 volt, 48 volt, etc., systems). 
With a 48 volt system, (24 cells), 4 X 45 days = 180 days = 6 months. 
When current is drawn from batteries at 200 amps or less, instead of
7000 amps, as above, kilowatt hour ratings are increased 20 to 30%. 
This is due to the lower heating effect of the acid. (1 kilowatt hour
= 1000 watts every hour or a toaster or a 1000 watt light bulb left on
for one hour). 
Operating batteries at room temperature increases the efficiency still more. 
Using the electrolyte pumping system built into each cell increases
the efficiency still more. This prevents acid from settling out, by
pumping acid from the bottom of the cell to the top.

-- http://www.relocationspecialists.org/bat/cell.html

[toc] | [prev] | [next] | [standalone]


#330360

Fromabu.kuanysh05@gmail.com
Date2016-03-23 08:31 -0700
Message-ID<701a6c6f-8903-4315-b7da-024ec583b9b2@googlegroups.com>
In reply to#330353
I don't see any hypothesis, but

> [+,-,+,+,+,-,+,-,-,-,-,-,-,-,-,-,+,-,+,-,+,+,+,-,+,+,-,+]
> 
> --
> [Battery Porn #3:]
> 
> 5-ft high Nuclear Submarine Batteries are very conservatively designed
> to outlast the lifetime of a submarine boat, (35 years). 
> One of the great improvements is the use of calcium in the very thick
> oxide-lead positive plate. This allows low gassing during charging,
> which results in only adding water once every two years, and much
> lower charge loss, due to charge migration during stand-by. 
> We estimate for home use you will get 35 years or better with good care. 
> Each cell is 2.0 volts per cell X 7000 amps = 14,000 watt hours, a 12
> volt system = 6 cells X 14,000 watt hours= 84,000 watt hours, this
> could run an average household for up to 45 days, (ganging more cells
> together can accommodate 24 volt, 48 volt, etc., systems). 
> With a 48 volt system, (24 cells), 4 X 45 days = 180 days = 6 months. 
> When current is drawn from batteries at 200 amps or less, instead of
> 7000 amps, as above, kilowatt hour ratings are increased 20 to 30%. 
> This is due to the lower heating effect of the acid. (1 kilowatt hour
> = 1000 watts every hour or a toaster or a 1000 watt light bulb left on
> for one hour). 
> Operating batteries at room temperature increases the efficiency still more. 
> Using the electrolyte pumping system built into each cell increases
> the efficiency still more. This prevents acid from settling out, by
> pumping acid from the bottom of the cell to the top.
> 
> -- http://www.relocationspecialists.org/bat/cell.html

[toc] | [prev] | [next] | [standalone]


#330370

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-03-23 17:21 +0000
Message-ID<ncujbe$19ff$1@macpro.inf.ed.ac.uk>
In reply to#330352
In article <nctm7g$a97$1@dont-email.me>,
David Bernier  <david250@videotron.ca> wrote:

>For blocks of 7, in PARI/gp, this looks promising, but
>it's not fast:
>
>? for(KB=1,25, vg = vector(KB); for(Y=1,KB, vg[Y] =
>floor(Pi*(10^(7*Y)))%(10^7)); wg=vector(KB); for(Z=1, 2^KB , for(Y=1,KB,
>wg[Y] = 2*(floor( Z/(2^(Y-1)))%2) -1) ;  sss = sum(WW=1,KB,
>wg[WW]*vg[WW]); if(abs(sss)<10, newwg=wg; print(KB,"   ", abs(sss)))))
>
>
>// gp command tests vector lengths 1 to 25, for blocks
>// of seven digits from pi ;
>// prints sums below 10 in absolute value,
>// as well as "KB", the number of blocks having signs.
>
>21   6
>21   4
>21   4
>21   6
>23   9
>23   9
>24   4
>
>// output, if method correct, implies >= 24 blocks of seven needed to
>get zero sum.

First solution is with 28 blocks.  There are three:

+1415926+5358979+3238462-6433832+7950288+4197169+3993751+582097-4944592+3078164+628620-8998628+348253-4211706+7982148-865132+8230664-7093844-6095505+8223172-5359408+1284811-1745028+4102701-9385211-555964+4622948-9549303

+1415926-5358979+3238462+6433832+7950288-4197169+3993751-582097-4944592-3078164-628620-8998628-348253-4211706-7982148-865132+8230664-7093844+6095505-8223172+5359408+1284811+1745028-4102701+9385211+555964-4622948+9549303

+1415926-5358979-3238462-6433832-7950288+4197169-3993751+582097+4944592+3078164-628620+8998628+348253-4211706-7982148+865132-8230664+7093844+6095505+8223172-5359408+1284811-1745028+4102701+9385211-555964+4622948-9549303

-- Richard

[toc] | [prev] | [next] | [standalone]


#330365

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-03-23 16:20 +0000
Message-ID<ncufnh$17j4$1@macpro.inf.ed.ac.uk>
In reply to#330349
The parent article contains a list of the solutions up to 30 blocks.
It may be exceed the line limit on some servers.  In summary,
here is the number of solutions for each block count up to 30:

0 solutions with 2 blocks
0 solutions with 3 blocks
0 solutions with 4 blocks
0 solutions with 5 blocks
0 solutions with 6 blocks
0 solutions with 7 blocks
0 solutions with 8 blocks
0 solutions with 9 blocks
0 solutions with 10 blocks
0 solutions with 11 blocks
0 solutions with 12 blocks
0 solutions with 13 blocks
0 solutions with 14 blocks
0 solutions with 15 blocks
0 solutions with 16 blocks
0 solutions with 17 blocks
0 solutions with 18 blocks
0 solutions with 19 blocks
1 solutions with 20 blocks
2 solutions with 21 blocks
0 solutions with 22 blocks
13 solutions with 23 blocks
0 solutions with 24 blocks
0 solutions with 25 blocks
113 solutions with 26 blocks
179 solutions with 27 blocks
368 solutions with 28 blocks
734 solutions with 29 blocks
1497 solutions with 30 blocks

-- Richard

[toc] | [prev] | [next] | [standalone]


#330367

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-03-23 16:29 +0000
Message-ID<ncug9g$17j4$2@macpro.inf.ed.ac.uk>
In reply to#330365
In article <ncufnh$17j4$1@macpro.inf.ed.ac.uk>, I wrote:

>0 solutions with 19 blocks
>1 solutions with 20 blocks
>2 solutions with 21 blocks
>0 solutions with 22 blocks
>13 solutions with 23 blocks
>0 solutions with 24 blocks
>0 solutions with 25 blocks
>113 solutions with 26 blocks
>179 solutions with 27 blocks
>368 solutions with 28 blocks
>734 solutions with 29 blocks
>1497 solutions with 30 blocks

There can obviously only be a solution with a block count N if
there are an even number of odd-valued blocks in the first
N blocks.  19, 22, 24, and 25 above are precluded for that
reason.

-- Richard

[toc] | [prev] | [next] | [standalone]


#330382

Fromabu.kuanysh05@gmail.com
Date2016-03-23 17:51 -0700
Message-ID<ce060f60-c887-418c-8b9d-6e0f0bfd557d@googlegroups.com>
In reply to#330367
yeah, hm

> There can obviously only be a solution with a block count N if
> there are an even number of odd-valued blocks in the first
> N blocks.  19, 22, 24, and 25 above are precluded for that
> reason.
> 
> -- Richard

[toc] | [prev] | [next] | [standalone]


#330394

FromDavid Bernier <david250@videotron.ca>
Date2016-03-24 01:06 -0400
Message-ID<ncvsfc$sl9$1@dont-email.me>
In reply to#330367
On 03/23/2016 12:29 PM, Richard Tobin wrote:
> In article <ncufnh$17j4$1@macpro.inf.ed.ac.uk>, I wrote:
> 
>> 0 solutions with 19 blocks
>> 1 solutions with 20 blocks
>> 2 solutions with 21 blocks
>> 0 solutions with 22 blocks
>> 13 solutions with 23 blocks
>> 0 solutions with 24 blocks
>> 0 solutions with 25 blocks
>> 113 solutions with 26 blocks
>> 179 solutions with 27 blocks
>> 368 solutions with 28 blocks
>> 734 solutions with 29 blocks
>> 1497 solutions with 30 blocks
> 
> There can obviously only be a solution with a block count N if
> there are an even number of odd-valued blocks in the first
> N blocks.  19, 22, 24, and 25 above are precluded for that
> reason.
> 
> -- Richard
> 

Ok.

In other words, independently of the parity of the block count N,
a solution won't exist when the number of odd-valued blocks, among the
first N blocks, is an odd number. This is not hard to show using modulo
two arithmectic.

Hopefully, I've expressed your observation correctly this time.

David Bernier


-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#330369

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-03-23 17:10 +0000
Message-ID<ncuim7$1956$1@macpro.inf.ed.ac.uk>
In reply to#330365
In article <ncufnh$17j4$1@macpro.inf.ed.ac.uk>, I wrote:
>here is the number of solutions for each block count up to 30:

Here is the same for up to 84 blocks.  I stopped there because
the number overflows 64 bits, but it would be easy enough to
go somewhat further using a bignum library.

2 blocks: 0 solutions
3 blocks: 0 solutions
4 blocks: 0 solutions
5 blocks: 0 solutions
6 blocks: 0 solutions
7 blocks: 0 solutions
8 blocks: 0 solutions
9 blocks: 0 solutions
10 blocks: 0 solutions
11 blocks: 0 solutions
12 blocks: 0 solutions
13 blocks: 0 solutions
14 blocks: 0 solutions
15 blocks: 0 solutions
16 blocks: 0 solutions
17 blocks: 0 solutions
18 blocks: 0 solutions
19 blocks: 0 solutions
20 blocks: 1 solutions
21 blocks: 2 solutions
22 blocks: 0 solutions
23 blocks: 13 solutions
24 blocks: 0 solutions
25 blocks: 0 solutions
26 blocks: 113 solutions
27 blocks: 179 solutions
28 blocks: 368 solutions
29 blocks: 734 solutions
30 blocks: 1497 solutions
31 blocks: 0 solutions
32 blocks: 0 solutions
33 blocks: 0 solutions
34 blocks: 21533 solutions
35 blocks: 0 solutions
36 blocks: 83865 solutions
37 blocks: 163535 solutions
38 blocks: 0 solutions
39 blocks: 0 solutions
40 blocks: 0 solutions
41 blocks: 0 solutions
42 blocks: 5082328 solutions
43 blocks: 0 solutions
44 blocks: 19870378 solutions
45 blocks: 0 solutions
46 blocks: 77940100 solutions
47 blocks: 0 solutions
48 blocks: 302174398 solutions
49 blocks: 602850429 solutions
50 blocks: 0 solutions
51 blocks: 0 solutions
52 blocks: 0 solutions
53 blocks: 9417592631 solutions
54 blocks: 18685482738 solutions
55 blocks: 37115441479 solutions
56 blocks: 73162228451 solutions
57 blocks: 0 solutions
58 blocks: 0 solutions
59 blocks: 578122456040 solutions
60 blocks: 0 solutions
61 blocks: 0 solutions
62 blocks: 0 solutions
63 blocks: 8920780002042 solutions
64 blocks: 0 solutions
65 blocks: 35088817272680 solutions
66 blocks: 70091578534981 solutions
67 blocks: 136594347934379 solutions
68 blocks: 267044746665159 solutions
69 blocks: 0 solutions
70 blocks: 0 solutions
71 blocks: 2053329641135211 solutions
72 blocks: 4028729686040356 solutions
73 blocks: 0 solutions
74 blocks: 16113847816418908 solutions
75 blocks: 32054706133679022 solutions
76 blocks: 63798396453189802 solutions
77 blocks: 0 solutions
78 blocks: 253844928072814870 solutions
79 blocks: 0 solutions
80 blocks: 0 solutions
81 blocks: 1986044979050719614 solutions
82 blocks: 3966010615304491702 solutions
83 blocks: 0 solutions
84 blocks: 15482289000443224948 solutions

-- Richard

[toc] | [prev] | [next] | [standalone]


#330398

FromDavid Bernier <david250@videotron.ca>
Date2016-03-24 04:42 -0400
Message-ID<nd094f$trn$1@dont-email.me>
In reply to#330369
On 03/23/2016 01:10 PM, Richard Tobin wrote:
> In article <ncufnh$17j4$1@macpro.inf.ed.ac.uk>, I wrote:
>> here is the number of solutions for each block count up to 30:
> 
> Here is the same for up to 84 blocks.  I stopped there because
> the number overflows 64 bits, but it would be easy enough to
> go somewhat further using a bignum library.
[...]
> 20 blocks: 1 solutions
[...]
> 84 blocks: 15482289000443224948 solutions
> 

I made a plot of the number of solutions you found as a function of the
block count N, with numbers of solutions on a logarithmic scale;
data points with "0 solutions" were omitted.

The resulting graph appears at the end of a post on my blog:

<
https://meditationatae.wordpress.com/2016/03/24/number-partition-problem-discussed-in-sci-math/
>  .

David Bernier

-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#330400

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-03-24 08:51 +0000
Message-ID<nd09qc$26l0$2@macpro.inf.ed.ac.uk>
In reply to#330398
In article <nd094f$trn$1@dont-email.me>,
David Bernier  <david250@videotron.ca> wrote:

>I made a plot of the number of solutions you found as a function of the
>block count N, with numbers of solutions on a logarithmic scale;
>data points with "0 solutions" were omitted.
>
>The resulting graph appears at the end of a post on my blog:
>
><
>https://meditationatae.wordpress.com/2016/03/24/number-partition-problem-discussed-in-sci-math/

This is much as you would expect: for each extra block there are twice
as many arrangements of +s and -s, so the number of ways of getting
zero should roughly double.

-- Richard

[toc] | [prev] | [next] | [standalone]


#330389

FromDavid Bernier <david250@videotron.ca>
Date2016-03-23 15:29 -0400
Message-ID<ncuqla$mku$1@dont-email.me>
In reply to#330349
On 03/23/2016 12:11 AM, David Bernier wrote:
> Supposing I write a series of integers between 0 and 99999 inclusive
> using the decimal digits of pi, like this:
> 
> 14159
> 26535
> 89793
> 23846
> 26433
> 83279
> 50288
> 41971
> 69399
> 37510
> etc.
> 
> Then I find that by adding multipliers of either +1 or -1 in front of
> each block of 5 digits, I can obtain a total sum of zero using the
> first 20 blocks of 5 digits like so:
> 
> 14159-26535+89793+23846-26433-83279+50288-41971+69399+37510+58209+74944-59230-78164+
> 6286-20899-86280+34825+34211-70679
> 
> total = 0 .
> 
> Note: 6286, which comes from the 5-digit block
> "06286", is a 4-digit integer.
> 
> Pi digits at Wikipedia:
> < https://en.wikipedia.org/wiki/Six_nines_in_pi > .
> 
> It's related to the so-called Number Partition Problem
> in complexity theory, otherwise known as the
> partition problem:
> 
> < https://en.wikipedia.org/wiki/Partition_problem > ,
> 
> Brian Hayes, AMERICAN SCIENTIST, 2002:
> 
> < http://www.americanscientist.org/issues/pub/the-easiest-hard-problem > .
> 
> If c_k denotes the integer formed in the canonical way
> from the k'th block of 5 digits of pi after "3.", for k>= 1,
> i.e.
> c_1, c_2, c_3, c_4,  ....  =
> 14159, 26535, 89793, 23846, ....
> 
> then for 16<=k <= 19 I haven't found any sign assignments, + and - ,
> for the length 'k' sequence c1, ... c_k yielding a sum of zero.
> 
> I haven't checked-out 3<= k <= 15 .
> 
> David Bernier
> 

To Richard Tobin:

Yes, I was able to use PARI/gp to check your first 28-block solution,
for blocks of 7 digits as follows:

?
1415926+5358979+3238462-6433832+7950288+4197169+3993751+582097-4944592+3078164+628620-8998628+348253-4211706+7982148-865132+8230664-7093844-6095505+8223172-5359408+1284811-1745028+4102701-9385211-555964+4622948-9549303
%1 = 0

For the 20 blocks using 5-digit blocks, one can Google the text from
digit '1' to the final digit '9', with the 19 intervening signs,
and the Google calculator gives the answer ZERO.

For some reason, this doesn't work for me when I Google
your 28-block solution, 7-digit blocks:
Google calculator returns an answer without being asked,
unfortunately that answer isn't Zero ...

David

-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#330390

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-03-24 03:33 +0000
Message-ID<ncvn6j$dos$4@odin.sdf-eu.org>
In reply to#330389
David Bernier <david250@videotron.ca> wrote:
> On 03/23/2016 12:11 AM, David Bernier wrote:
>> Supposing I write a series of integers between 0 and 99999 inclusive
>> using the decimal digits of pi, like this:
>> 14159
>> 26535
>> 89793
>> 23846
>> 26433
>> 83279
>> 50288
>> 41971
>> 69399
>> 37510
>> etc.
>> Then I find that by adding multipliers of either +1 or -1 in front of
>> each block of 5 digits, I can obtain a total sum of zero using the
>> first 20 blocks of 5 digits like so:
>> 14159-26535+89793+23846-26433-83279+50288-41971+69399+37510+58209+74944-59230-78164+
>> 6286-20899-86280+34825+34211-70679
>> total = 0 .
>> Note: 6286, which comes from the 5-digit block
>> "06286", is a 4-digit integer.
>> Pi digits at Wikipedia:
>> < https://en.wikipedia.org/wiki/Six_nines_in_pi > .
>> It's related to the so-called Number Partition Problem
>> in complexity theory, otherwise known as the
>> partition problem:
>> < https://en.wikipedia.org/wiki/Partition_problem > ,
>> Brian Hayes, AMERICAN SCIENTIST, 2002:
>> < http://www.americanscientist.org/issues/pub/the-easiest-hard-problem > .
>> If c_k denotes the integer formed in the canonical way
>> from the k'th block of 5 digits of pi after "3.", for k>= 1,
>> i.e.
>> c_1, c_2, c_3, c_4,  ....  =
>> 14159, 26535, 89793, 23846, ....
>> then for 16<=k <= 19 I haven't found any sign assignments, + and - ,
>> for the length 'k' sequence c1, ... c_k yielding a sum of zero.
>> I haven't checked-out 3<= k <= 15 .
>> David Bernier
> To Richard Tobin:
> Yes, I was able to use PARI/gp to check your first 28-block solution,
> for blocks of 7 digits as follows:
> ?
> 1415926+5358979+3238462-6433832+7950288+4197169+3993751+582097-4944592+3078164+628620-8998628+348253-4211706+7982148-865132+8230664-7093844-6095505+8223172-5359408+1284811-1745028+4102701-9385211-555964+4622948-9549303
> %1 = 0
> For the 20 blocks using 5-digit blocks, one can Google the text from
> digit '1' to the final digit '9', with the 19 intervening signs,
> and the Google calculator gives the answer ZERO.
> For some reason, this doesn't work for me when I Google
> your 28-block solution, 7-digit blocks:
> Google calculator returns an answer without being asked,
> unfortunately that answer isn't Zero ...
> David


As an exercise, I managed to run some 8 and 9 digit blocks on
an experimental computer.
Unfortunately it is a probabilistic thing and just gives "a" solution
in a rather short time, but it's a bit difficult to specificy it
find the shortest solution.

For 8-digit blocks it finds:

length 91
+ + + + + - - + + - + + + + + - + + + - - - - - + - + - - + - + + - - - - + + + - + + - - + + + - + + + + - - - - - + + - + + + + + + - - - + - - + - - - - - + - - - + + - + - - - -
0.220 sec cpu

For 9-digit blocks:

length 231
+ + - + + + + + - - + - + - - + + - - + + + - + + - - + - - + + + + - + + - + + + + - + + - - + - - + + + - - + - - + - - - + - + + + + - - + + + + + - + + + + - + - - - + - + - - - + + - + + - + - - - - + + - + - - + - - - - - - - + - + + - + + + - - + - + + + - + + - - - - + + - + - + + - - + + - - - + - - - - + + + - - + + - - - + + - - + + + + - - + - + + + + - + - - - + + - + + + - + - + + + + + + + + - - - + - + - + - + - + - - - - - + - + + + - - - -
78.120 sec cpu

--
[The wayback machine:]

Dr. Hansen and other scientists testifying today said there was now
broad consensus among scientists that the greenhouse effect was
speeding up the increase in global temperatures. 

Less Urgency in 1983

In 1983 a report by the National Academy of Sciences [~2000 members
elected because of their contribution in their field of research] said
the greenhouse effect was a ''cause for concern,'' but concluded that
there was time to prepare for its impact.

The academy report projected a doubling of greenhouse gases by the
third quarter of the next century. Dr. Hansen's research, however,
found that if there is no change in the current rate of growth, the
greenhouse gases would double by the late 2020's.

A report by the Environmental Protection Agency three years ago said
the warming trend could start by the 1990's and could reach as much as
4 degrees Fahrenheit by 2040, but this was attacked by President
Reagan's science adviser at the time, George A. Keyworth, as
''unnecessarily alarmist.''

-- NY Times, June 1986
<http://www.nytimes.com/1986/06/11/us/swifter-warming-of-globe-foreseen.
html>

[Flash forward ~30 years:]

<http://berkeleyearth.lbl.gov/regions/europe>
Shows c1850 Europe's avg temp was around 7.5C.  Before that time the
graphs shows some meandering +-.5C over the prev 100y.  The avg temp
has risen 1.5C from c1850 to around 9C now.  Since 1990 the rate of
warming is around 3C per cent.  I.e. in another 30 years from now 
(~2050) it is expected to add another .9C -- i.e. to a level around 
2.5C (4.5 deg F) above pre-industrial times.

[toc] | [prev] | [next] | [standalone]


#330391

FromDavid Bernier <david250@videotron.ca>
Date2016-03-24 00:47 -0400
Message-ID<ncvrad$q9f$1@dont-email.me>
In reply to#330390
On 03/23/2016 11:33 PM, R Kym Horsell wrote:
> David Bernier <david250@videotron.ca> wrote:
>> On 03/23/2016 12:11 AM, David Bernier wrote:
>>> Supposing I write a series of integers between 0 and 99999 inclusive
>>> using the decimal digits of pi, like this:
>>> 14159
>>> 26535
>>> 89793
>>> 23846
>>> 26433
>>> 83279
>>> 50288
>>> 41971
>>> 69399
>>> 37510
>>> etc.
>>> Then I find that by adding multipliers of either +1 or -1 in front of
>>> each block of 5 digits, I can obtain a total sum of zero using the
>>> first 20 blocks of 5 digits like so:
>>> 14159-26535+89793+23846-26433-83279+50288-41971+69399+37510+58209+74944-59230-78164+
>>> 6286-20899-86280+34825+34211-70679
>>> total = 0 .
>>> Note: 6286, which comes from the 5-digit block
>>> "06286", is a 4-digit integer.
>>> Pi digits at Wikipedia:
>>> < https://en.wikipedia.org/wiki/Six_nines_in_pi > .
>>> It's related to the so-called Number Partition Problem
>>> in complexity theory, otherwise known as the
>>> partition problem:
>>> < https://en.wikipedia.org/wiki/Partition_problem > ,
>>> Brian Hayes, AMERICAN SCIENTIST, 2002:
>>> < http://www.americanscientist.org/issues/pub/the-easiest-hard-problem > .
>>> If c_k denotes the integer formed in the canonical way
>>> from the k'th block of 5 digits of pi after "3.", for k>= 1,
>>> i.e.
>>> c_1, c_2, c_3, c_4,  ....  =
>>> 14159, 26535, 89793, 23846, ....
>>> then for 16<=k <= 19 I haven't found any sign assignments, + and - ,
>>> for the length 'k' sequence c1, ... c_k yielding a sum of zero.
>>> I haven't checked-out 3<= k <= 15 .
>>> David Bernier
>> To Richard Tobin:
>> Yes, I was able to use PARI/gp to check your first 28-block solution,
>> for blocks of 7 digits as follows:
>> ?
>> 1415926+5358979+3238462-6433832+7950288+4197169+3993751+582097-4944592+3078164+628620-8998628+348253-4211706+7982148-865132+8230664-7093844-6095505+8223172-5359408+1284811-1745028+4102701-9385211-555964+4622948-9549303
>> %1 = 0
>> For the 20 blocks using 5-digit blocks, one can Google the text from
>> digit '1' to the final digit '9', with the 19 intervening signs,
>> and the Google calculator gives the answer ZERO.
>> For some reason, this doesn't work for me when I Google
>> your 28-block solution, 7-digit blocks:
>> Google calculator returns an answer without being asked,
>> unfortunately that answer isn't Zero ...
>> David
> 
> 
> As an exercise, I managed to run some 8 and 9 digit blocks on
> an experimental computer.
> Unfortunately it is a probabilistic thing and just gives "a" solution
> in a rather short time, but it's a bit difficult to specificy it
> find the shortest solution.
> 
> For 8-digit blocks it finds:
> 
> length 91
> + + + + + - - + + - + + + + + - + + + - - - - - + - + - - + - + + - - - - + + + - + + - - + + + - + + + + - - - - - + + - + + + + + + - - - + - - + - - - - - + - - - + + - + - - - -
> 0.220 sec cpu
> 
> For 9-digit blocks:
> 
> length 231
> + + - + + + + + - - + - + - - + + - - + + + - + + - - + - - + + + + - + + - + + + + - + + - - + - - + + + - - + - - + - - - + - + + + + - - + + + + + - + + + + - + - - - + - + - - - + + - + + - + - - - - + + - + - - + - - - - - - - + - + + - + + + - - + - + + + - + + - - - - + + - + - + + - - + + - - - + - - - - + + + - - + + - - - + + - - + + + + - - + - + + + + - + - - - + + - + + + - + - + + + + + + + + - - - + - + - + - + - + - - - - - + - + + + - - - -
> 78.120 sec cpu
> 
> --
> [The wayback machine:]
> 
> Dr. Hansen and other scientists testifying today said there was now
> broad consensus among scientists that the greenhouse effect was
> speeding up the increase in global temperatures. 
> 
> Less Urgency in 1983
> 
> In 1983 a report by the National Academy of Sciences [~2000 members
> elected because of their contribution in their field of research] said
> the greenhouse effect was a ''cause for concern,'' but concluded that
> there was time to prepare for its impact.
> 
> The academy report projected a doubling of greenhouse gases by the
> third quarter of the next century. Dr. Hansen's research, however,
> found that if there is no change in the current rate of growth, the
> greenhouse gases would double by the late 2020's.
> 
> A report by the Environmental Protection Agency three years ago said
> the warming trend could start by the 1990's and could reach as much as
> 4 degrees Fahrenheit by 2040, but this was attacked by President
> Reagan's science adviser at the time, George A. Keyworth, as
> ''unnecessarily alarmist.''
> 
> -- NY Times, June 1986
> <http://www.nytimes.com/1986/06/11/us/swifter-warming-of-globe-foreseen.
> html>
> 
> [Flash forward ~30 years:]
> 
> <http://berkeleyearth.lbl.gov/regions/europe>
> Shows c1850 Europe's avg temp was around 7.5C.  Before that time the
> graphs shows some meandering +-.5C over the prev 100y.  The avg temp
> has risen 1.5C from c1850 to around 9C now.  Since 1990 the rate of
> warming is around 3C per cent.  I.e. in another 30 years from now 
> (~2050) it is expected to add another .9C -- i.e. to a level around 
> 2.5C (4.5 deg F) above pre-industrial times.
> 

I'd expect every additional digit in the block length to require about
3.3 more bits, say for every digit in addition to the 5 in the
Problem from the 1st Post in thread .

However I'd caution that there's some probabilistic heuristics involved,
also that as Richard Tobin pointed out, with an odd number of blocks
AND an odd number of odd integers in the blocks, calculations
modulo 2 show that any signed sum , with +/- 1 integers, is bound
in this particular case to yield an odd integer, whether positive
or negative.

David Bernier


-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#330396

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-03-24 05:54 +0000
Message-ID<ncvvei$75i$3@odin.sdf-eu.org>
In reply to#330391
David Bernier <david250@videotron.ca> wrote:
> On 03/23/2016 11:33 PM, R Kym Horsell wrote:
>> David Bernier <david250@videotron.ca> wrote:
>>> On 03/23/2016 12:11 AM, David Bernier wrote:
>>>> Supposing I write a series of integers between 0 and 99999 inclusive
>>>> using the decimal digits of pi, like this:
>>>> 14159
>>>> 26535
>>>> 89793
>>>> 23846
>>>> 26433
>>>> 83279
>>>> 50288
>>>> 41971
>>>> 69399
>>>> 37510
>>>> etc.
>>>> Then I find that by adding multipliers of either +1 or -1 in front of
>>>> each block of 5 digits, I can obtain a total sum of zero using the
>>>> first 20 blocks of 5 digits like so:
>>>> 14159-26535+89793+23846-26433-83279+50288-41971+69399+37510+58209+74944-59230-78164+
>>>> 6286-20899-86280+34825+34211-70679
>>>> total = 0 .
>>>> Note: 6286, which comes from the 5-digit block
>>>> "06286", is a 4-digit integer.
>>>> Pi digits at Wikipedia:
>>>> < https://en.wikipedia.org/wiki/Six_nines_in_pi > .
>>>> It's related to the so-called Number Partition Problem
>>>> in complexity theory, otherwise known as the
>>>> partition problem:
>>>> < https://en.wikipedia.org/wiki/Partition_problem > ,
>>>> Brian Hayes, AMERICAN SCIENTIST, 2002:
>>>> < http://www.americanscientist.org/issues/pub/the-easiest-hard-problem > .
>>>> If c_k denotes the integer formed in the canonical way
>>>> from the k'th block of 5 digits of pi after "3.", for k>= 1,
>>>> i.e.
>>>> c_1, c_2, c_3, c_4,  ....  =
>>>> 14159, 26535, 89793, 23846, ....
>>>> then for 16<=k <= 19 I haven't found any sign assignments, + and - ,
>>>> for the length 'k' sequence c1, ... c_k yielding a sum of zero.
>>>> I haven't checked-out 3<= k <= 15 .
>>>> David Bernier
>>> To Richard Tobin:
>>> Yes, I was able to use PARI/gp to check your first 28-block solution,
>>> for blocks of 7 digits as follows:
>>> ?
>>> 1415926+5358979+3238462-6433832+7950288+4197169+3993751+582097-4944592+3078164+628620-8998628+348253-4211706+7982148-865132+8230664-7093844-6095505+8223172-5359408+1284811-1745028+4102701-9385211-555964+4622948-9549303
>>> %1 = 0
>>> For the 20 blocks using 5-digit blocks, one can Google the text from
>>> digit '1' to the final digit '9', with the 19 intervening signs,
>>> and the Google calculator gives the answer ZERO.
>>> For some reason, this doesn't work for me when I Google
>>> your 28-block solution, 7-digit blocks:
>>> Google calculator returns an answer without being asked,
>>> unfortunately that answer isn't Zero ...
>>> David
>> As an exercise, I managed to run some 8 and 9 digit blocks on
>> an experimental computer.
>> Unfortunately it is a probabilistic thing and just gives "a" solution
>> in a rather short time, but it's a bit difficult to specificy it
>> find the shortest solution.
>> For 8-digit blocks it finds:
>> length 91
>> + + + + + - - + + - + + + + + - + + + - - - - - + - + - - + - + + - - - - + + + - + + - - + + + - + + + + - - - - - + + - + + + + + + - - - + - - + - - - - - + - - - + + - + - - - -
>> 0.220 sec cpu
>> For 9-digit blocks:
>> length 231
>> + + - + + + + + - - + - + - - + + - - + + + - + + - - + - - + + + + - + + - + + + + - + + - - + - - + + + - - + - - + - - - + - + + + + - - + + + + + - + + + + - + - - - + - + - - - + + - + + - + - - - - + + - + - - + - - - - - - - + - + + - + + + - - + - + + + - + + - - - - + + - + - + + - - + + - - - + - - - - + + + - - + + - - - + + - - + + + + - - + - + + + + - + - - - + + - + + + - + - + + + + + + + + - - - + - + - + - + - + - - - - - + - + + + - - - -
>> 78.120 sec cpu
>> --
>> [The wayback machine:]
>> Dr. Hansen and other scientists testifying today said there was now
>> broad consensus among scientists that the greenhouse effect was
>> speeding up the increase in global temperatures. 
>> Less Urgency in 1983
>> In 1983 a report by the National Academy of Sciences [~2000 members
>> elected because of their contribution in their field of research] said
>> the greenhouse effect was a ''cause for concern,'' but concluded that
>> there was time to prepare for its impact.
>> The academy report projected a doubling of greenhouse gases by the
>> third quarter of the next century. Dr. Hansen's research, however,
>> found that if there is no change in the current rate of growth, the
>> greenhouse gases would double by the late 2020's.
>> A report by the Environmental Protection Agency three years ago said
>> the warming trend could start by the 1990's and could reach as much as
>> 4 degrees Fahrenheit by 2040, but this was attacked by President
>> Reagan's science adviser at the time, George A. Keyworth, as
>> ''unnecessarily alarmist.''
>> -- NY Times, June 1986
>> <http://www.nytimes.com/1986/06/11/us/swifter-warming-of-globe-foreseen.
>> html>
>> [Flash forward ~30 years:]
>> <http://berkeleyearth.lbl.gov/regions/europe>
>> Shows c1850 Europe's avg temp was around 7.5C.  Before that time the
>> graphs shows some meandering +-.5C over the prev 100y.  The avg temp
>> has risen 1.5C from c1850 to around 9C now.  Since 1990 the rate of
>> warming is around 3C per cent.  I.e. in another 30 years from now 
>> (~2050) it is expected to add another .9C -- i.e. to a level around 
>> 2.5C (4.5 deg F) above pre-industrial times.
> I'd expect every additional digit in the block length to require about
> 3.3 more bits, say for every digit in addition to the 5 in the
> Problem from the 1st Post in thread .
> However I'd caution that there's some probabilistic heuristics involved,


There aren't "probabilistic heuristics" involved. Without giving too much
IP away, it performs a complete search of the 2^len space but to retrieve and
verify the answer it found takes the significant time and it's a 
highly variable amount of time.

When I first programmed it up and ran the 7-digit block problem it
very quickly (much less than 1 sec) said yes, there is a 28-step solution.

But I then added in some code to get back the sequence of signs
and re-ran the thing and it took maybe 1 hr before
a solution was found again. 

It seems this style of computer has a built-in Murphey factor.

If it knows you're interested in the answer this time it takes it's damn time
about answering.

> also that as Richard Tobin pointed out, with an odd number of blocks
> AND an odd number of odd integers in the blocks, calculations
> modulo 2 show that any signed sum , with +/- 1 integers, is bound
> in this particular case to yield an odd integer, whether positive
> or negative.
> David Bernier

[toc] | [prev] | [next] | [standalone]


#330399

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-03-24 08:46 +0000
Message-ID<nd09h2$26l0$1@macpro.inf.ed.ac.uk>
In reply to#330390
In article <ncvn6j$dos$4@odin.sdf-eu.org>,
R Kym Horsell  <kym@kymhorsell.com> wrote:

>As an exercise, I managed to run some 8 and 9 digit blocks on
>an experimental computer.

What do you mean by "experimental computer"?

>Unfortunately it is a probabilistic thing and just gives "a" solution
>in a rather short time, but it's a bit difficult to specificy it
>find the shortest solution.
>
>For 8-digit blocks it finds:
>
>length 91
>+ + + + + - - + + - + + + + + - + + + - - - - - + - + - - + - + + - - -
>- + + + - + + - - + + + - + + + + - - - - - + + - + + + + + + - - - + -
>- + - - - - - + - - - + + - + - - - -
>0.220 sec cpu

There is a 28-block solution for 8 digits:

+14159265+35897932-38462643+38327950-28841971+69399375+10582097-49445923-7816406+28620899+86280348+25342117+6798214-80865132-82306647+9384460+95505822+31725359-40812848-11174502+84102701+93852110-55596446+22948954-93038196-44288109-75665933-44612847

>For 9-digit blocks:
>
>length 231
>+ + - + + + + + - - + - + - - + + - - + + + - + + - - + - - + + + + - +
>+ - + + + + - + + - - + - - + + + - - + - - + - - - + - + + + + - - + +
>+ + + - + + + + - + - - - + - + - - - + + - + + - + - - - - + + - + - -
>+ - - - - - - - + - + + - + + + - - + - + + + - + + - - - - + + - + - +
>+ - - + + - - - + - - - - + + + - - + + - - - + + - - + + + + - - + - +
>+ + + - + - - - + + - + + + - + - + + + + + + + + - - - + - + - + - + -
>+ - - - - - + - + + + - - - -
>78.120 sec cpu

There is a 31-block solution for 9 digits:

+141592653-589793238+462643383+279502884+197169399+375105820-974944592+307816406-286208998+628034825-342117067-982148086+513282306+647093844+609550582+231725359+408128481-117450284-102701938-521105559+644622948+954930381-964428810-975665933+446128475-648233786-783165271-201909145+648566923-460348610+454326648

To a first approximation we may expect it to take log2(10) ~= 3
extra blocks to find a solution for each extra digit in a block.

It takes about 5 seconds to find the first 9-digit solution it on my
Mac, but since my program is allocating an array of 2^31 64-bit
integers to do that it's not going to get any further.

-- Richard

[toc] | [prev] | [next] | [standalone]


#330401

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-03-24 09:54 +0000
Message-ID<nd0dgu$id1$1@odin.sdf-eu.org>
In reply to#330399
Richard Tobin <richard@cogsci.ed.ac.uk> wrote:
> In article <ncvn6j$dos$4@odin.sdf-eu.org>,
> R Kym Horsell  <kym@kymhorsell.com> wrote:
>>As an exercise, I managed to run some 8 and 9 digit blocks on
>>an experimental computer.
> What do you mean by "experimental computer"?

Apple doesn't sell one yet.

>>Unfortunately it is a probabilistic thing and just gives "a" solution
>>in a rather short time, but it's a bit difficult to specificy it
>>find the shortest solution.
>>For 8-digit blocks it finds:
>>length 91
>>+ + + + + - - + + - + + + + + - + + + - - - - - + - + - - + - + + - - -
>>- + + + - + + - - + + + - + + + + - - - - - + + - + + + + + + - - - + -
>>- + - - - - - + - - - + + - + - - - -
>>0.220 sec cpu
> There is a 28-block solution for 8 digits:
> +14159265+35897932-38462643+38327950-28841971+69399375+10582097-49445923-7816406+28620899+86280348+25342117+6798214-80865132-82306647+9384460+95505822+31725359-40812848-11174502+84102701+93852110-55596446+22948954-93038196-44288109-75665933-44612847
>>For 9-digit blocks:
>>length 231
>>+ + - + + + + + - - + - + - - + + - - + + + - + + - - + - - + + + + - +
>>+ - + + + + - + + - - + - - + + + - - + - - + - - - + - + + + + - - + +
>>+ + + - + + + + - + - - - + - + - - - + + - + + - + - - - - + + - + - -
>>+ - - - - - - - + - + + - + + + - - + - + + + - + + - - - - + + - + - +
>>+ - - + + - - - + - - - - + + + - - + + - - - + + - - + + + + - - + - +
>>+ + + - + - - - + + - + + + - + - + + + + + + + + - - - + - + - + - + -
>>+ - - - - - + - + + + - - - -
>>78.120 sec cpu
> There is a 31-block solution for 9 digits:
> +141592653-589793238+462643383+279502884+197169399+375105820-974944592+307816406-286208998+628034825-342117067-982148086+513282306+647093844+609550582+231725359+408128481-117450284-102701938-521105559+644622948+954930381-964428810-975665933+446128475-648233786-783165271-201909145+648566923-460348610+454326648
> To a first approximation we may expect it to take log2(10) ~= 3
> extra blocks to find a solution for each extra digit in a block.
> It takes about 5 seconds to find the first 9-digit solution it on my
> Mac, but since my program is allocating an array of 2^31 64-bit
> integers to do that it's not going to get any further.
> -- Richard


Interesting. I didn't even try to look for solutions that short.

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 points to there being problems that live between
the "big" for non-experimental computers and "small" for experimental 
computers that may be difficult for either.

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | sci.math


csiph-web