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


Groups > sci.math > #334333

Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43

From David Bernier <david250@videotron.ca>
Newsgroups sci.math
Subject Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43
Date 2016-05-19 09:43 -0400
Organization A noiseless patient Spider
Message-ID <nhkfme$291$1@dont-email.me> (permalink)
References <nhifmc$jl1$1@dont-email.me> <nhj1ft$2uva$2@macpro.inf.ed.ac.uk> <nhk839$4rd$1@dont-email.me> <nhke8k$sin$1@dont-email.me>

Show all headers | View raw


On 05/19/2016 09:18 AM, David Bernier wrote:
> On 05/19/2016 07:33 AM, David Bernier wrote:
>> On 05/18/2016 08:30 PM, Richard Tobin wrote:
>>> In article <nhifmc$jl1$1@dont-email.me>,
>>> David Bernier  <david250@videotron.ca> wrote:
>>>> I wrote a computer program to search exhaustively
>>>> through the 2^43 possible sequences
>>>> {s_1, s_2, .... s_43} to search for the minimum
>>>> discrepancy D possible for these 2^43 sequences.
>>>
>>> Ok, back to the beginning.  This paper:
>>>
>>>   https://arxiv.org/abs/1402.2184
>>>
>>> exibits the following sequence of length 1160 with discrepancy 2:
>>>
>>> -++-+--++-++-+--+--++-+--+--++-+--++-++-+-++--++-+---+-++-+--+--++++--+--++-+--++-++----++-++-+-++--++-+-+---++-+--++-++-+--++-+--+---+-++-+--++-++-+--+--++-++-+--++-+--+++-+-+----+++-+--+--+++---++-++-+--+--+++--+-+-+--+-+++-++-+--+--++-+--++-++-+--+--++--+++---+++-+---++-+--++--+-+--+-+++-+--++-++-+--++-+--+--++-+--++--+-++-+-+--+-+-++-+--++-+--+--++-+-+-++-+-+-++---+-+--++++--+---++-+-++-+--++-+--+--++-+--++++--+---+-++++--+--++-++-+--++-+--+--++-+--++-++-+--++-+--+--++-++-+----+++-+--++--+++---+-++-+--+-++---+-++-++-+--+--++--++++-+--+--+--++++--+--+++---++-++-+--++--+-+--+--++-++-+--+--+-+++-++-+--+--++--+-++-++-+--+--+--++-++-+--+++---++-+--++-++---+++---++-++----+++--+-++-+--+--++-+--++-++-+-++--++--++----+++-++--++----++-+++--++---+++----+-+-++-++-++-+-+----+++--++-+--++-++-+--+--+--++-+--++-++-+--++--+-+--+-+-+-++++---+-+-++--+--+-+-+-++-+-+++--+-+--+--+-+++--+-+++---++-+--+--++-++--++---++-+-++--++-+---+-++-+--+-++--++-+--++-+--+-+++-+--++--+-+-+++--+-+--++-++-+--+--+-++
-
> -
>> -+-++-+-++--++-+--+++-+----++--+-++-+-++--++-+--++-+-++--++-+---+-++-+--+++----+-+-++--++-+--++-++-++-+--+--+--++++---++---+-+-++-+-+++--+-++--+-+--+-+-++---+++-++
>>>
>>> So any initial subsequence of it will also have discrepancy <= 2.
>>>
>>> The paper also shows (or at least reports that a computer program has
>>> shown) that no sequence of length > 1160 has discrepancy 2.
>>>
>>> -- Richard
>>>
>>
>> The same authors have another pre-print that has now been published in
>> an Elvesier journal.
>>
>> In the abstract, at the end of it, the authors write:
>>
>> " We also demonstrate that unrestricted discrepancy 3 sequences can be
>> longer than 130,000.  "
> 
> The data and more is avilable from Konev's website
> at his university:
> 
> < http://cgi.csc.liv.ac.uk/~konev/edp/ >
> 
> at:
> "Discrepancy 3, unrestricted but starting as completely multiplicative"
>   o A discrepancy 3 sequence of length 130000. A graphical
> representation (bzipped).
> 
> 
> I downloaded it and converted it to a file for input
> to PARI/gp .
> 
> The commands and arrays/vectors are modifications of what works for
> length 1160 :
> 
> ? sum(QQ=1,130000 , vtestsuper130[QQ]^2)   // test sum of squares
> %364 = 130000   // all ok.
> 
> 
> 
> 
> ? maxl130k=vector(130000); // initialize Vector
> 
> 
> ? for(X=1, 130000 , maxl130k[X] = floor(130000/X) ); // assignement of
> vector components
> 
> 
> 
> ?
> D=0;for(X=1,130000,for(Y=1,maxl130k[X],avs=abs(sum(Z=1,Y,vtestsuper130[Z*X]));if((avs>D),D=avs;print(D))))
> 
> 1
> 2
> 3
> ...
> 
> Program has found discrepancy 3 progression.
> 
> It's inefficient, because I redo the same sums, e.g.
> if d = 1 ,
> s_1 + s_2
> s_1 + s_2 + s_3
> ...
> s_1 + s_2 + .... s_1000
> ...
> s_1 + s_2 + .... s_{10,000}
> ...
> and so on up to
> s_1 + s_2 + .... s_{130,000} .

This below is much faster (less than a second):

vtestsuper130 is an array of +1's and -1's of length 130,000.

?
D=0;
for(X=1, 130000, partialsum=0;
   for(Y=1, maxl130k[X], partialsum = partialsum+vtestsuper130[Y*X];
  	avs=abs(partialsum);
        if((avs>D), D=avs; print(D))
     )
  )

output:

1
2
3

time = 820 ms.

David

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

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


Thread

About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 15:30 -0400
  Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 16:18 -0400
    Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 20:46 +0000
      Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 18:43 -0400
        Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 22:52 +0000
          Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 19:41 -0400
            Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 23:54 +0000
              Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 23:56 +0000
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 00:11 +0000
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 23:06 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 02:38 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-20 08:03 +0000
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 05:17 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-20 09:39 +0000
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 05:48 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-21 04:01 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-21 05:11 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-21 09:39 +0000
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-21 06:58 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 James Waldby <not@valid.invalid> - 2016-05-19 04:17 +0000
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 17:41 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 17:52 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 James Waldby <not@valid.invalid> - 2016-05-21 01:35 +0000
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 21:22 -0400
              Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 20:54 -0400
            Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 20:21 -0400
    Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 17:57 -0400
      Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 23:44 +0000
        Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 00:03 -0400
      Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 01:02 +0100
        Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 22:12 -0400
    Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 01:59 +0100
      Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 23:18 -0400
        Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 10:58 +0100
          Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 06:14 -0400
            Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 13:56 +0100
              Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 13:00 +0000
              Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 09:52 -0400
                Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 21:31 +0100
      Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 07:54 +0000
        Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 09:44 +0000
  Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 00:30 +0000
    Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 23:07 -0400
    Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 01:42 -0400
      Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 03:02 -0400
        Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 04:02 -0400
          Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 06:25 -0400
    Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 07:33 -0400
      Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 09:18 -0400
        Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 09:43 -0400
          Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 10:15 -0400
  Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-21 15:07 +0000
    Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-21 13:42 -0400
      Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-22 18:13 -0400
        Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-22 23:26 -0400
          Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-23 00:04 -0400
            Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-23 06:36 -0400
              Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-23 18:29 -0400

csiph-web