Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| 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 05:54 +0000 |
| Organization | SDF Public Access UNIX System, Est. 1987 |
| Message-ID | <ncvvei$75i$3@odin.sdf-eu.org> (permalink) |
| References | <nct4qr$ud2$1@dont-email.me> <ncuqla$mku$1@dont-email.me> <ncvn6j$dos$4@odin.sdf-eu.org> <ncvrad$q9f$1@dont-email.me> |
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
Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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