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


Groups > sci.math > #334268 > unrolled thread

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

Started byDavid Bernier <david250@videotron.ca>
First post2016-05-18 15:30 -0400
Last post2016-05-23 18:29 -0400
Articles 18 on this page of 58 — 4 participants

Back to article view | Back to sci.math


Contents

  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

Page 3 of 3 — ← Prev page 1 2 [3]


#334314

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-05-19 09:44 +0000
Message-ID<nhk1td$fi8$1@macpro.inf.ed.ac.uk>
In reply to#334310
In article <nhjrgc$cck$1@macpro.inf.ed.ac.uk>,
Richard Tobin <richard@cogsci.ed.ac.uk> wrote:
>In article <871t4yx3pq.fsf@bsb.me.uk>,
>Ben Bacarisse  <ben.usenet@bsb.me.uk> wrote:
>
>>
>>I've got lots of 2s but also
>>
>>+-+++-+---++-+-+------+-+++--+--++-+++-+++-
>>---+-+---++-++++++--+--++-+++-+-+---++-+--+
>>---+-+---++-+++-++--+--++-+++-+++---++-+--+
>>++--+--++--+-+---++-+++-+--+++-+++--+-++---
>>---+-+---++-+++-++--+--++-+++-+++---++-+--+
>>-+++-+---++-+++-+---++-+--+---++--++++-++--
>>---+-+---++-+++-+--++--+-++-+-+++-++++--+--
>>
>>which, if the program is correct, have discrepancy 1.
>
>Something wrong here: d=1, n=4: s_1+s_2+s_3+s_4 = 2.

Exhaustive search shows that the longest sequences with discrepancy 1
are of length 11.  They are

  +--+-++--++
and  
  +--+-++--+-
  
and their negations.

I believe this is a list of all sequences with discrepancy 1, up
to negation:

 +
 +-
 +-+
 +--
 +--+
 +--++
 +--+-
 +--+-+
 +--+-++
 +--+-+-
 +--+-++-
 +--+-++-+
 +--+-++--
 +--+-++--+
 +--+-++--++
 +--+-++--+-

-- Richard

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


#334282

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-05-19 00:30 +0000
Message-ID<nhj1ft$2uva$2@macpro.inf.ed.ac.uk>
In reply to#334268
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

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


#334299

FromDavid Bernier <david250@videotron.ca>
Date2016-05-18 23:07 -0400
Message-ID<nhjae4$aek$2@dont-email.me>
In reply to#334282
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
> 

Ok. Many thanks !

David



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

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


#334304

FromDavid Bernier <david250@videotron.ca>
Date2016-05-19 01:42 -0400
Message-ID<nhjji1$op$1@dont-email.me>
In reply to#334282
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:
> 
> -++-+--++-++-+--+--++-+--+--++-+--++-++-+-++--++-+---+-++-+--+--++++--+--++-+--++-++----++-++-+-++--++-+-+---++-+--++-++-+--++-+--+---+-++-+--++-++-+--+--++-++-+--++-+--+++-+-+----+++-+--+--+++---++-++-+--+--+++--+-+-+--+-+++-++-+--+--++-+--++-++-+--+--++--+++---+++-+---++-+--++--+-+--+-+++-+--++-++-+--++-+--+--++-+--++--+-++-+-+--+-+-++-+--++-+--+--++-+-+-++-+-+-++---+-+--++++--+---++-+-++-+--++-+--+--++-+--++++--+---+-++++--+--++-++-+--++-+--+--++-+--++-++-+--++-+--+--++-++-+----+++-+--++--+++---+-++-+--+-++---+-++-++-+--+--++--++++-+--+--+--++++--+--+++---++-++-+--++--+-+--+--++-++-+--+--+-+++-++-+--+--++--+-++-++-+--+--+--++-++-+--+++---++-+--++-++---+++---++-++----+++--+-++-+--+--++-+--++-++-+-++--++--++----+++-++--++----++-+++--++---+++----+-+-++-++-++-+-+----+++--++-+--++-++-+--+--+--++-+--++-++-+--++--+-+--+-+-+-++++---+-+-++--+--+-+-+-++-+-+++--+-+--+--+-+++--+-+++---++-+--+--++-++--++---++-+-++--++-+---+-++-+--+-++--++-+--++-+--+-+++-+--++--+-+-+++--+-+--++-++-+--+--+-++--
-+-++-+-++--++-+--+++-+----++--+-++-+-++--++-+--++-+-++--++-+---+-++-+--+++----+-+-++--++-+--++-++-++-+--+--+--++++---++---+-+-++-+-+++--+-++--+-+--+-+-++---+++-++
> 

Indeed. It's rather amazing to me. I got the 1160-sequence from the PDF
at arxiv.

PARI/gp finds a discrepancy D = 2 for the sequence of Konek et al of
length 1160:

?
D=0;for(X=1,1160,for(Y=1,maxl1160[X],avs=abs(sum(Z=1,Y,vtestKonekLis[Z*X]));if((avs>D),D=avs;print(D))))
1
2

Thatt was my PARI/gp command, for future reference.

1,2 means the maximum absolute values (the "record values")
were initially 1,  then an absolute value of 2, and that's
the maximum for all admissible (n, d), i.e.
1<= n <= 1160, 1<= d <= 1160 as long as n*d <= 1160.


? vtestKonekLis
%354 =

[-1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1,
1, -1, 1, -1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1,
-1, 1, 1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1,
1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1,
1, 1, -1, -1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, -1,
1, -1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1,
-1, 1, 1, -1, 1, -1, -1, 1, -1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1,
1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1,
1, -1, 1, -1, -1, 1, 1, 1, -1, 1, -1, 1, -1, -1, -1, -1, 1, 1, 1, -1, 1,
-1, -1, 1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1,
1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, -1,
1, 1, -1, 1, -1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1,
1, -1, -1, 1, -1, -1, 1, 1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, 1,
-1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1, -1,
1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, -1,
-1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1,
-1, 1, -1, -1, 1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1,
1, -1, -1, 1, 1, -1, 1, -1, 1, -1, 1, 1, -1, 1, -1, 1, -1, 1, 1, -1, -1,
-1, 1, -1, 1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, -1, 1,
-1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1, 1, -1, 1,
-1, -1, 1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, -1, 1, 1, 1, 1, -1, -1, 1,
-1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1,
1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1,
1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, -1, -1, 1, 1, 1, -1, 1, -1,
-1, 1, 1, -1, -1, 1, 1, 1, -1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1,
-1, 1, 1, -1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1,
1, 1, -1, -1, 1, 1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1, -1, -1, 1, 1, 1,
1, -1, -1, 1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1,
-1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1,
-1, -1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1,
1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1, -1,
-1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1,
-1, 1, 1, -1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1,
-1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1,
1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, -1, -1,
1, 1, -1, -1, -1, -1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, -1, -1, -1,
1, 1, -1, 1, 1, 1, -1, -1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, -1, 1,
-1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, -1, 1, -1, -1, -1, -1, 1, 1,
1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1,
-1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, 1,
-1, -1, 1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, 1, 1, 1, 1, -1, -1, -1,
1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, -1, 1, -1, 1, -1, 1, 1, -1, 1,
-1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1, -1, -1, 1, -1, 1, 1, 1, -1,
-1, 1, -1, 1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1, 1,
-1, 1, 1, -1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1,
-1, 1, -1, -1, -1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1,
1, -1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 1,
1, -1, -1, 1, -1, 1, -1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1, 1, -1, 1,
1, -1, 1, -1, -1, 1, -1, -1, 1, -1, 1, 1, -1, -1, -1, 1, -1, 1, 1, -1,
1, -1, 1, 1, -1, -1, 1, 1, -1, 1, -1, -1, 1, 1, 1, -1, 1, -1, -1, -1,
-1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, -1,
-1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1,
-1, 1, -1, -1, 1, 1, 1, -1, -1, -1, -1, 1, -1, 1, -1, 1, 1, -1, -1, 1,
1, -1, 1, -1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, 1, -1, -1, 1,
-1, -1, 1, 1, 1, 1, -1, -1, -1, 1, 1, -1, -1, -1, 1, -1, 1, -1, 1, 1,
-1, 1, -1, 1, 1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1,
-1, 1, -1, 1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1]

//  1160 numbers from +1, -1  above, discrepancy D = 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
> 


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

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


#334309

FromDavid Bernier <david250@videotron.ca>
Date2016-05-19 03:02 -0400
Message-ID<nhjo6v$dd6$1@dont-email.me>
In reply to#334304
On 05/19/2016 01:42 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:
>>
>> -++-+--++-++-+--+--++-+--+--++-+--++-++-+-++--++-+---+-++-+--+--++++--+--++-+--++-++----++-++-+-++--++-+-+---++-+--++-++-+--++-+--+---+-++-+--++-++-+--+--++-++-+--++-+--+++-+-+----+++-+--+--+++---++-++-+--+--+++--+-+-+--+-+++-++-+--+--++-+--++-++-+--+--++--+++---+++-+---++-+--++--+-+--+-+++-+--++-++-+--++-+--+--++-+--++--+-++-+-+--+-+-++-+--++-+--+--++-+-+-++-+-+-++---+-+--++++--+---++-+-++-+--++-+--+--++-+--++++--+---+-++++--+--++-++-+--++-+--+--++-+--++-++-+--++-+--+--++-++-+----+++-+--++--+++---+-++-+--+-++---+-++-++-+--+--++--++++-+--+--+--++++--+--+++---++-++-+--++--+-+--+--++-++-+--+--+-+++-++-+--+--++--+-++-++-+--+--+--++-++-+--+++---++-+--++-++---+++---++-++----+++--+-++-+--+--++-+--++-++-+-++--++--++----+++-++--++----++-+++--++---+++----+-+-++-++-++-+-+----+++--++-+--++-++-+--+--+--++-+--++-++-+--++--+-+--+-+-+-++++---+-+-++--+--+-+-+-++-+-+++--+-+--+--+-+++--+-+++---++-+--+--++-++--++---++-+-++--++-+---+-++-+--+-++--++-+--++-+--+-+++-+--++--+-+-+++--+-+--++-++-+--+--+-++-
-
> -+-++-+-++--++-+--+++-+----++--+-++-+-++--++-+--++-+-++--++-+---+-++-+--+++----+-+-++--++-+--++-++-++-+--+--+--++++---++---+-+-++-+-+++--+-++--+-+--+-+-++---+++-++
>>
> 
> Indeed. It's rather amazing to me. I got the 1160-sequence from the PDF
> at arxiv.
> 
> PARI/gp finds a discrepancy D = 2 for the sequence of Konek et al of
> length 1160:
> 
> ?
> D=0;for(X=1,1160,for(Y=1,maxl1160[X],avs=abs(sum(Z=1,Y,vtestKonekLis[Z*X]));if((avs>D),D=avs;print(D))))
> 1
> 2
> 
> Thatt was my PARI/gp command, for future reference.
> 
> 1,2 means the maximum absolute values (the "record values")
> were initially 1,  then an absolute value of 2, and that's
> the maximum for all admissible (n, d), i.e.
> 1<= n <= 1160, 1<= d <= 1160 as long as n*d <= 1160.
[snip]
> ? vtestKonekLis

When I arrange the length 1160 with 33 numbers to a line
for 35 lines, followed by 5 numbers on the 36th line,

I observe correlations of numbers from the same column
For example, column 11 has 34 '+' signs, and one '-' sign.

Column 22 has  34 '-' signs, and just one '+' sign.
All this seems rather odd...

Konek et al dicrepancy D=2 sequence of length 1160
displayed L to R at 33 numbers per line, and 5
on line number 35:

-++-+--++-++-+--+--++-+--+--++-+-
-++-++-+-++--++-+---+-++-+--+--++
++--+--++-+--++-++----++-++-+-++-
-++-+-+---++-+--++-++-+--++-+--+-
--+-++-+--++-++-+--+--++-++-+--++
-+--+++-+-+----+++-+--+--+++---++
-++-+--+--+++--+-+-+--+-+++-++-+-
-+--++-+--++-++-+--+--++--+++---+
++-+---++-+--++--+-+--+-+++-+--++
-++-+--++-+--+--++-+--++--+-++-+-
+--+-+-++-+--++-+--+--++-+-+-++-+
-+-++---+-+--++++--+---++-+-++-+-
-++-+--+--++-+--++++--+---+-++++-
-+--++-++-+--++-+--+--++-+--++-++
-+--++-+--+--++-++-+----+++-+--++
--+++---+-++-+--+-++---+-++-++-+-
-+--++--++++-+--+--+--++++--+--++
+---++-++-+--++--+-+--+--++-++-+-
-+--+-+++-++-+--+--++--+-++-++-+-
-+--+--++-++-+--+++---++-+--++-++
---+++---++-++----+++--+-++-+--+-
-++-+--++-++-+-++--++--++----+++-
++--++----++-+++--++---+++----+-+
-++-++-++-+-+----+++--++-+--++-++
-+--+--+--++-+--++-++-+--++--+-+-
-+-+-+-++++---+-+-++--+--+-+-+-++
-+-+++--+-+--+--+-+++--+-+++---++
-+--+--++-++--++---++-+-++--++-+-
--+-++-+--+-++--++-+--++-+--+-+++
-+--++--+-+-+++--+-+--++-++-+--+-
-+-++---+-++-+-++--++-+--+++-+---
-++--+-++-+-++--++-+--++-+-++--++
-+---+-++-+--+++----+-+-++--++-+-
-++-++-++-+--+--+--++++---++---+-
+-++-+-+++--+-++--+-+--+-+-++---+
++-++

David

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

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


#334311

FromDavid Bernier <david250@videotron.ca>
Date2016-05-19 04:02 -0400
Message-ID<nhjro9$oja$1@dont-email.me>
In reply to#334309
On 05/19/2016 03:02 AM, David Bernier wrote:
> On 05/19/2016 01:42 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:
>>>
>>> -++-+--++-++-+--+--++-+--+--++-+--++-++-+-++--++-+---+-++-+--+--++++--+--++-+--++-++----++-++-+-++--++-+-+---++-+--++-++-+--++-+--+---+-++-+--++-++-+--+--++-++-+--++-+--+++-+-+----+++-+--+--+++---++-++-+--+--+++--+-+-+--+-+++-++-+--+--++-+--++-++-+--+--++--+++---+++-+---++-+--++--+-+--+-+++-+--++-++-+--++-+--+--++-+--++--+-++-+-+--+-+-++-+--++-+--+--++-+-+-++-+-+-++---+-+--++++--+---++-+-++-+--++-+--+--++-+--++++--+---+-++++--+--++-++-+--++-+--+--++-+--++-++-+--++-+--+--++-++-+----+++-+--++--+++---+-++-+--+-++---+-++-++-+--+--++--++++-+--+--+--++++--+--+++---++-++-+--++--+-+--+--++-++-+--+--+-+++-++-+--+--++--+-++-++-+--+--+--++-++-+--+++---++-+--++-++---+++---++-++----+++--+-++-+--+--++-+--++-++-+-++--++--++----+++-++--++----++-+++--++---+++----+-+-++-++-++-+-+----+++--++-+--++-++-+--+--+--++-+--++-++-+--++--+-+--+-+-+-++++---+-+-++--+--+-+-+-++-+-+++--+-+--+--+-+++--+-+++---++-+--+--++-++--++---++-+-++--++-+---+-++-+--+-++--++-+--++-+--+-+++-+--++--+-+-+++--+-+--++-++-+--+--+-++
-
> -
>> -+-++-+-++--++-+--+++-+----++--+-++-+-++--++-+--++-+-++--++-+---+-++-+--+++----+-+-++--++-+--++-++-++-+--+--+--++++---++---+-+-++-+-+++--+-++--+-+--+-+-++---+++-++
>>>
>>
>> Indeed. It's rather amazing to me. I got the 1160-sequence from the PDF
>> at arxiv.
>>
>> PARI/gp finds a discrepancy D = 2 for the sequence of Konek et al of
>> length 1160:
>>
>> ?
>> D=0;for(X=1,1160,for(Y=1,maxl1160[X],avs=abs(sum(Z=1,Y,vtestKonekLis[Z*X]));if((avs>D),D=avs;print(D))))
>> 1
>> 2
>>
>> Thatt was my PARI/gp command, for future reference.
>>
>> 1,2 means the maximum absolute values (the "record values")
>> were initially 1,  then an absolute value of 2, and that's
>> the maximum for all admissible (n, d), i.e.
>> 1<= n <= 1160, 1<= d <= 1160 as long as n*d <= 1160.
> [snip]
>> ? vtestKonekLis
> 
> When I arrange the length 1160 with 33 numbers to a line
> for 35 lines, followed by 5 numbers on the 36th line,
> 
> I observe correlations of numbers from the same column
> For example, column 11 has 34 '+' signs, and one '-' sign.
> 
> Column 22 has  34 '-' signs, and just one '+' sign.
> All this seems rather odd...
> 
> Konek et al dicrepancy D=2 sequence of length 1160
> displayed L to R at 33 numbers per line, and 5
> on line number 35:
> 
> -++-+--++-++-+--+--++-+--+--++-+-
> -++-++-+-++--++-+---+-++-+--+--++
> ++--+--++-+--++-++----++-++-+-++-
> -++-+-+---++-+--++-++-+--++-+--+-
> --+-++-+--++-++-+--+--++-++-+--++
> -+--+++-+-+----+++-+--+--+++---++
> -++-+--+--+++--+-+-+--+-+++-++-+-
> -+--++-+--++-++-+--+--++--+++---+
> ++-+---++-+--++--+-+--+-+++-+--++
> -++-+--++-+--+--++-+--++--+-++-+-
> +--+-+-++-+--++-+--+--++-+-+-++-+
> -+-++---+-+--++++--+---++-+-++-+-
> -++-+--+--++-+--++++--+---+-++++-
> -+--++-++-+--++-+--+--++-+--++-++
> -+--++-+--+--++-++-+----+++-+--++
> --+++---+-++-+--+-++---+-++-++-+-
> -+--++--++++-+--+--+--++++--+--++
> +---++-++-+--++--+-+--+--++-++-+-
> -+--+-+++-++-+--+--++--+-++-++-+-
> -+--+--++-++-+--+++---++-+--++-++
> ---+++---++-++----+++--+-++-+--+-
> -++-+--++-++-+-++--++--++----+++-
> ++--++----++-+++--++---+++----+-+
> -++-++-++-+-+----+++--++-+--++-++
> -+--+--+--++-+--++-++-+--++--+-+-
> -+-+-+-++++---+-+-++--+--+-+-+-++
> -+-+++--+-+--+--+-+++--+-+++---++
> -+--+--++-++--++---++-+-++--++-+-
> --+-++-+--+-++--++-+--++-+--+-+++
> -+--++--+-+-+++--+-+--++-++-+--+-
> -+-++---+-++-+-++--++-+--+++-+---
> -++--+-++-+-++--++-+--++-+-++--++
> -+---+-++-+--+++----+-+-++--++-+-
> -++-++-++-+--+--+--++++---++---+-
> +-++-+-+++--+-++--+-+--+-+-++---+
> ++-++

If we arrange the 1160 numbers in
rows of 30, we get 38 rows of 30
and a leftover of 20 numbers, which
we can arrange on a 39th partial row
of only 20 numbers:

-++-+--++-++-+--+--++-+--+--++
-+--++-++-+-++--++-+---+-++-+-
-+--++++--+--++-+--++-++----++
-++-+-++--++-+-+---++-+--++-++
-+--++-+--+---+-++-+--++-++-+-
-+--++-++-+--++-+--+++-+-+----
+++-+--+--+++---++-++-+--+--++
+--+-+-+--+-+++-++-+--+--++-+-
-++-++-+--+--++--+++---+++-+--
-++-+--++--+-+--+-+++-+--++-++
-+--++-+--+--++-+--++--+-++-+-
+--+-+-++-+--++-+--+--++-+-+-+
+-+-+-++---+-+--++++--+---++-+
-++-+--++-+--+--++-+--++++--+-
--+-++++--+--++-++-+--++-+--+-
-++-+--++-++-+--++-+--+--++-++
-+----+++-+--++--+++---+-++-+-
-+-++---+-++-++-+--+--++--++++
-+--+--+--++++--+--+++---++-++
-+--++--+-+--+--++-++-+--+--+-
+++-++-+--+--++--+-++-++-+--+-
-+--++-++-+--+++---++-+--++-++
---+++---++-++----+++--+-++-+-
-+--++-+--++-++-+-++--++--++--
--+++-++--++----++-+++--++---+
++----+-+-++-++-++-+-+----+++-
-++-+--++-++-+--+--+--++-+--++
-++-+--++--+-+--+-+-+-++++---+
-+-++--+--+-+-+-++-+-+++--+-+-
-+--+-+++--+-+++---++-+--+--++
-++--++---++-+-++--++-+---+-++
-+--+-++--++-+--++-+--+-+++-+-
-++--+-+-+++--+-+--++-++-+--+-
-+-++---+-++-+-++--++-+--+++-+
----++--+-++-+-++--++-+--++-+-
++--++-+---+-++-+--+++----+-+-
++--++-+--++-++-++-+--+--+--++
++---++---+-+-++-+-+++--+-++--
+-+--+-+-++---+++-++

Then, column 10 ( = 30/3)
has  36 '-' signs and 3 '+' signs.

Column 20 ( two thirds of 30)
has  38 '+' signs, and only one '-' sign.

David

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

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


#334318

FromDavid Bernier <david250@videotron.ca>
Date2016-05-19 06:25 -0400
Message-ID<nhk448$ltr$1@dont-email.me>
In reply to#334311
On 05/19/2016 04:02 AM, David Bernier wrote:
> On 05/19/2016 03:02 AM, David Bernier wrote:
>> On 05/19/2016 01:42 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:
>>>>
>>>> -++-+--++-++-+--+--++-+--+--++-+--++-++-+-++--++-+---+-++-+--+--++++--+--++-+--++-++----++-++-+-++--++-+-+---++-+--++-++-+--++-+--+---+-++-+--++-++-+--+--++-++-+--++-+--+++-+-+----+++-+--+--+++---++-++-+--+--+++--+-+-+--+-+++-++-+--+--++-+--++-++-+--+--++--+++---+++-+---++-+--++--+-+--+-+++-+--++-++-+--++-+--+--++-+--++--+-++-+-+--+-+-++-+--++-+--+--++-+-+-++-+-+-++---+-+--++++--+---++-+-++-+--++-+--+--++-+--++++--+---+-++++--+--++-++-+--++-+--+--++-+--++-++-+--++-+--+--++-++-+----+++-+--++--+++---+-++-+--+-++---+-++-++-+--+--++--++++-+--+--+--++++--+--+++---++-++-+--++--+-+--+--++-++-+--+--+-+++-++-+--+--++--+-++-++-+--+--+--++-++-+--+++---++-+--++-++---+++---++-++----+++--+-++-+--+--++-+--++-++-+-++--++--++----+++-++--++----++-+++--++---+++----+-+-++-++-++-+-+----+++--++-+--++-++-+--+--+--++-+--++-++-+--++--+-+--+-+-+-++++---+-+-++--+--+-+-+-++-+-+++--+-+--+--+-+++--+-+++---++-+--+--++-++--++---++-+-++--++-+---+-++-+--+-++--++-+--++-+--+-+++-+--++--+-+-+++--+-+--++-++-+--+--+-+
+
> -
>> -
>>> -+-++-+-++--++-+--+++-+----++--+-++-+-++--++-+--++-+-++--++-+---+-++-+--+++----+-+-++--++-+--++-++-++-+--+--+--++++---++---+-+-++-+-+++--+-++--+-+--+-+-++---+++-++
>>>>
>>>
>>> Indeed. It's rather amazing to me. I got the 1160-sequence from the PDF
>>> at arxiv.
>>>
>>> PARI/gp finds a discrepancy D = 2 for the sequence of Konek et al of
>>> length 1160:
>>>
>>> ?
>>> D=0;for(X=1,1160,for(Y=1,maxl1160[X],avs=abs(sum(Z=1,Y,vtestKonekLis[Z*X]));if((avs>D),D=avs;print(D))))
>>> 1
>>> 2
>>>
>>> Thatt was my PARI/gp command, for future reference.
>>>
>>> 1,2 means the maximum absolute values (the "record values")
>>> were initially 1,  then an absolute value of 2, and that's
>>> the maximum for all admissible (n, d), i.e.
>>> 1<= n <= 1160, 1<= d <= 1160 as long as n*d <= 1160.
>> [snip]
>>> ? vtestKonekLis
>>
>> When I arrange the length 1160 with 33 numbers to a line
>> for 35 lines, followed by 5 numbers on the 36th line,
>>
>> I observe correlations of numbers from the same column
>> For example, column 11 has 34 '+' signs, and one '-' sign.
>>
>> Column 22 has  34 '-' signs, and just one '+' sign.
>> All this seems rather odd...
>>
>> Konek et al dicrepancy D=2 sequence of length 1160
>> displayed L to R at 33 numbers per line, and 5
>> on line number 35:
>>
>> -++-+--++-++-+--+--++-+--+--++-+-
>> -++-++-+-++--++-+---+-++-+--+--++
>> ++--+--++-+--++-++----++-++-+-++-
>> -++-+-+---++-+--++-++-+--++-+--+-
>> --+-++-+--++-++-+--+--++-++-+--++
>> -+--+++-+-+----+++-+--+--+++---++
>> -++-+--+--+++--+-+-+--+-+++-++-+-
>> -+--++-+--++-++-+--+--++--+++---+
>> ++-+---++-+--++--+-+--+-+++-+--++
>> -++-+--++-+--+--++-+--++--+-++-+-
>> +--+-+-++-+--++-+--+--++-+-+-++-+
>> -+-++---+-+--++++--+---++-+-++-+-
>> -++-+--+--++-+--++++--+---+-++++-
>> -+--++-++-+--++-+--+--++-+--++-++
>> -+--++-+--+--++-++-+----+++-+--++
>> --+++---+-++-+--+-++---+-++-++-+-
>> -+--++--++++-+--+--+--++++--+--++
>> +---++-++-+--++--+-+--+--++-++-+-
>> -+--+-+++-++-+--+--++--+-++-++-+-
>> -+--+--++-++-+--+++---++-+--++-++
>> ---+++---++-++----+++--+-++-+--+-
>> -++-+--++-++-+-++--++--++----+++-
>> ++--++----++-+++--++---+++----+-+
>> -++-++-++-+-+----+++--++-+--++-++
>> -+--+--+--++-+--++-++-+--++--+-+-
>> -+-+-+-++++---+-+-++--+--+-+-+-++
>> -+-+++--+-+--+--+-+++--+-+++---++
>> -+--+--++-++--++---++-+-++--++-+-
>> --+-++-+--+-++--++-+--++-+--+-+++
>> -+--++--+-+-+++--+-+--++-++-+--+-
>> -+-++---+-++-+-++--++-+--+++-+---
>> -++--+-++-+-++--++-+--++-+-++--++
>> -+---+-++-+--+++----+-+-++--++-+-
>> -++-++-++-+--+--+--++++---++---+-
>> +-++-+-+++--+-++--+-+--+-+-++---+
>> ++-++
> 
> If we arrange the 1160 numbers in
> rows of 30, we get 38 rows of 30
> and a leftover of 20 numbers, which
> we can arrange on a 39th partial row
> of only 20 numbers:
> 
> -++-+--++-++-+--+--++-+--+--++
> -+--++-++-+-++--++-+---+-++-+-
> -+--++++--+--++-+--++-++----++
> -++-+-++--++-+-+---++-+--++-++
> -+--++-+--+---+-++-+--++-++-+-
> -+--++-++-+--++-+--+++-+-+----
> +++-+--+--+++---++-++-+--+--++
> +--+-+-+--+-+++-++-+--+--++-+-
> -++-++-+--+--++--+++---+++-+--
> -++-+--++--+-+--+-+++-+--++-++
> -+--++-+--+--++-+--++--+-++-+-
> +--+-+-++-+--++-+--+--++-+-+-+
> +-+-+-++---+-+--++++--+---++-+
> -++-+--++-+--+--++-+--++++--+-
> --+-++++--+--++-++-+--++-+--+-
> -++-+--++-++-+--++-+--+--++-++
> -+----+++-+--++--+++---+-++-+-
> -+-++---+-++-++-+--+--++--++++
> -+--+--+--++++--+--+++---++-++
> -+--++--+-+--+--++-++-+--+--+-
> +++-++-+--+--++--+-++-++-+--+-
> -+--++-++-+--+++---++-+--++-++
> ---+++---++-++----+++--+-++-+-
> -+--++-+--++-++-+-++--++--++--
> --+++-++--++----++-+++--++---+
> ++----+-+-++-++-++-+-+----+++-
> -++-+--++-++-+--+--+--++-+--++
> -++-+--++--+-+--+-+-+-++++---+
> -+-++--+--+-+-+-++-+-+++--+-+-
> -+--+-+++--+-+++---++-+--+--++
> -++--++---++-+-++--++-+---+-++
> -+--+-++--++-+--++-+--+-+++-+-
> -++--+-+-+++--+-+--++-++-+--+-
> -+-++---+-++-+-++--++-+--+++-+
> ----++--+-++-+-++--++-+--++-+-
> ++--++-+---+-++-+--+++----+-+-
> ++--++-+--++-++-++-+--+--+--++
> ++---++---+-+-++-+-+++--+-++--
> +-+--+-+-++---+++-++
> 
> Then, column 10 ( = 30/3)
> has  36 '-' signs and 3 '+' signs.
> 
> Column 20 ( two thirds of 30)
> has  38 '+' signs, and only one '-' sign.

There's just one more pattern:

--------------+---++--------+-----------+-+
+++++++++++++++++++++++++-++-++--+++-+-+++-
++++++++-+++++-++++--+-++-+++-+++-++++++-++
-------+-----------------+---------------++
+++-+++-+++++++++++-+++++++-++++++++++++++-
----------------+--+-----+--++--------+-+--
--------+---++--------+---+----+-----+----+
++++++++++++---++++++++++-++++++++-++++-+--
++-++++++-++-+++-+++-++-++-++++--++-+--+-++
------+-----++++-------------------+--+--+-
++++++-+++-+---+++-++-++++++++-++++++++++--
+++++++++++-+++-+-+++++-+++++-+--+++++-++-+
--+---------------+-+------+----+----------
+++++++++-++++++++++++++-+--+++++-+++++++++
---------+--+-+--------+--+-----++----+-+--
-+-+-----+---+----------+-+++--+-+-------++
++++++-++++++++-++-+++++++-+-++---+++++++-+
----+------+---+-++----++------++--+-+-+++-
------+---+-------------------+---+--+-+-+-
+++++++++-+++-++++++++++-+---+-++++-+-+-+--
++++-++++++-+++++++++++--+++++++++-+-++--++
-------+-+-----+----+---+-+++---+---+-----+
+++++++-+++++++++++--+-+++++++++-++++-+-+++
-----+-----+-------+-+++------+---+----+-+-
---+---+-+---------+---++-+---++-+-+--+--++
+-+--++-+-+-+++++-+++++-+++-++++++++-++++-+
-++-+--++-++-+--+--++-+--+--++-++--+++----

It was obtained by putting the signs in
a 43x27 matrix, meaning 43 rows and 27 columns,
going left to right, then up to down in the usual
manner, then taking the matrix transpose,
which is then a 27x43 matrix with 27 rows,
each with 43 signs, except the very last row,
which has only 42 signs, and not 43.

The exaplanation is that 43x27 =  1161,
so for the 1160 signs from the D=2 length
1160 sequence of the Russians, the last
row cannot be filled, and there's a blank,
say a 10, a -13 ,  or what have you.

David

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

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


#334319

FromDavid Bernier <david250@videotron.ca>
Date2016-05-19 07:33 -0400
Message-ID<nhk839$4rd$1@dont-email.me>
In reply to#334282
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.  "

Two special of +/- 1 sequences are those that are:
(a) multiplicative (number theory), or
(b) completelely multiplicatve (number theory also).

The qualifier "unrestricted" on the +/-1 sequences is
the one formulated by Erdos, so more +/-1 sequences are
included than in either multiplicative or
completely multiplicative. With more sequences,
for a length such as 130,000 , there'a always a
chance of a discrepancy 3 sequence that doesn't fit
in special cases (a) or (b).


It's the paper " Computer-Aided Proof of Erdos Discrepancy Properties "
by Boris Konev and Alexei Lisitsa:

< http://arxiv.org/abs/1405.3097 > .

David

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

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


#334326

FromDavid Bernier <david250@videotron.ca>
Date2016-05-19 09:18 -0400
Message-ID<nhke8k$sin$1@dont-email.me>
In reply to#334319
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} .

David

> Two special of +/- 1 sequences are those that are:
> (a) multiplicative (number theory), or
> (b) completelely multiplicatve (number theory also).
> 
> The qualifier "unrestricted" on the +/-1 sequences is
> the one formulated by Erdos, so more +/-1 sequences are
> included than in either multiplicative or
> completely multiplicative. With more sequences,
> for a length such as 130,000 , there'a always a
> chance of a discrepancy 3 sequence that doesn't fit
> in special cases (a) or (b).
> 
> 
> It's the paper " Computer-Aided Proof of Erdos Discrepancy Properties "
> by Boris Konev and Alexei Lisitsa:
> 
> < http://arxiv.org/abs/1405.3097 > .
> 
> David
> 


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

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


#334333

FromDavid Bernier <david250@videotron.ca>
Date2016-05-19 09:43 -0400
Message-ID<nhkfme$291$1@dont-email.me>
In reply to#334326
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>

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


#334335

FromDavid Bernier <david250@videotron.ca>
Date2016-05-19 10:15 -0400
Message-ID<nhkhin$9ef$1@dont-email.me>
In reply to#334333
On 05/19/2016 09:43 AM, David Bernier wrote:
> 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.

If we're interested in very long sequences that still have discrepancy
D = 3, and we have length L sequences,
then if p is prime and 4*p > L,
then the arithmetic progressions containing , say, s_p
are only:
s_p, s_{2p}, s_{3p}  (progression in the indices).
Since 4*p > L, there is no s_{4p}.

we can assign any value from {-1, +1}
to each of s_p, s_{2p}, s_{3p} independently,
and the absolute values for those progressions will
range from 0 to 3. And they don't intefere with all the
other progessions, so we can toggle each of
s_p, s_{2p}, s_{3p} from +1 to -1 or -1 to +1
without risking raising the discrepancy above 3,
i.e. if it was <= before toggling, it will be <= 3
after toggling; rather, what I mean is that common
difference 'p' when p prime and p> L/4 are not an issue,
*except* for d = 1.

David

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

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


#334415

Fromrichard@cogsci.ed.ac.uk (Richard Tobin)
Date2016-05-21 15:07 +0000
Message-ID<nhptjk$jhl$1@macpro.inf.ed.ac.uk>
In reply to#334268
One might ask how many discrepancy <= 2 sequences there are of a given
length.  The number generally increases at first, but we know it's
zero for length > 1160.

Below is the number of such sequences (up to negation) for each length
up to 75.  One might expect lengths with many factors to be unusually
small compared to their predecessors, as a larger number of extra
sub-sequences would have to be satisfied, but this is not apparent
from the list.  The lengths where the number decreases are

  15, 21, 27, 33, 35, 39, 45, 51, 55, 57, 63, 65, 69, 70, 75

most of which are 3 times an odd number.

1 1
2 2
3 3
4 6
5 9
6 14
7 22
8 44
9 50
10 76
11 120
12 185
13 278
14 441
15 375
16 750
17 1125
18 1392
19 2142
20 3219
21 3031
22 4763
23 7428
24 11472
25 13082
26 19764
27 17561
28 27400
29 40470
30 40663
31 61211
32 122422
33 117467
34 178077
35 154534
36 194021
37 294898
38 450000
39 406733
40 606225
41 918515
42 941097
43 1460973
44 2272171
45 1137280
46 1771369
47 2747843
48 4218493
49 4798681
50 5676182
51 5438268
52 8020072
53 11813449
54 12030348
55 11166454
56 17332658
57 16406539
58 24387247
59 38666989
60 39543466
61 59407513
62 90861744
63 50501931
64 101003862
65 85556030
66 87666302
67 133278100
68 194198795
69 189738686
70 177744675
71 272115518
72 342925417
73 517719263
74 800069995
75 483721592

-- Richard

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


#334417

FromDavid Bernier <david250@videotron.ca>
Date2016-05-21 13:42 -0400
Message-ID<nhq6eg$204$1@dont-email.me>
In reply to#334415
On 05/21/2016 11:07 AM, Richard Tobin wrote:
> One might ask how many discrepancy <= 2 sequences there are of a given
> length.  The number generally increases at first, but we know it's
> zero for length > 1160.
> 
> Below is the number of such sequences (up to negation) for each length
> up to 75.  One might expect lengths with many factors to be unusually
> small compared to their predecessors, as a larger number of extra
> sub-sequences would have to be satisfied, but this is not apparent
> from the list.  The lengths where the number decreases are
> 
>   15, 21, 27, 33, 35, 39, 45, 51, 55, 57, 63, 65, 69, 70, 75
> 
> most of which are 3 times an odd number.
> 
> 1 1
> 2 2
> 3 3
> 4 6
> 5 9
> 6 14
> 7 22
> 8 44
> 9 50
> 10 76
> 11 120
> 12 185
> 13 278
> 14 441
> 15 375
> 16 750
> 17 1125
> 18 1392
> 19 2142
> 20 3219
> 21 3031
> 22 4763
> 23 7428
> 24 11472
> 25 13082
> 26 19764
> 27 17561
> 28 27400
> 29 40470
> 30 40663
> 31 61211
> 32 122422
> 33 117467
> 34 178077
> 35 154534
> 36 194021
> 37 294898
> 38 450000
> 39 406733
> 40 606225
> 41 918515
> 42 941097
> 43 1460973
> 44 2272171
> 45 1137280
> 46 1771369
> 47 2747843
> 48 4218493
> 49 4798681
> 50 5676182
> 51 5438268
> 52 8020072
> 53 11813449
> 54 12030348
> 55 11166454
> 56 17332658
> 57 16406539
> 58 24387247
> 59 38666989
> 60 39543466
> 61 59407513
> 62 90861744
> 63 50501931
> 64 101003862
> 65 85556030
> 66 87666302
> 67 133278100
> 68 194198795
> 69 189738686
> 70 177744675
> 71 272115518
> 72 342925417
> 73 517719263
> 74 800069995
> 75 483721592
> 
> -- Richard
> 

That's very interesting. I think I might use your data from 1...75 to
plot:  log f(n) ,

where f(n) is the number of discrepancy <= 2 sequences of length 'n',
where a sequence and its negation are considered equivalent.

-- David

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

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


#334443

FromDavid Bernier <david250@videotron.ca>
Date2016-05-22 18:13 -0400
Message-ID<nhtanm$73b$1@dont-email.me>
In reply to#334417
On 05/21/2016 01:42 PM, David Bernier wrote:
> On 05/21/2016 11:07 AM, Richard Tobin wrote:
>> One might ask how many discrepancy <= 2 sequences there are of a given
>> length.  The number generally increases at first, but we know it's
>> zero for length > 1160.
>>
>> Below is the number of such sequences (up to negation) for each length
>> up to 75.  One might expect lengths with many factors to be unusually
>> small compared to their predecessors, as a larger number of extra
>> sub-sequences would have to be satisfied, but this is not apparent
>> from the list.  The lengths where the number decreases are
>>
>>   15, 21, 27, 33, 35, 39, 45, 51, 55, 57, 63, 65, 69, 70, 75
>>
>> most of which are 3 times an odd number.
>>
>> 1 1
>> 2 2
>> 3 3
>> 4 6
>> 5 9
>> 6 14
>> 7 22
>> 8 44
>> 9 50
>> 10 76
>> 11 120
>> 12 185
>> 13 278
>> 14 441
>> 15 375
>> 16 750
>> 17 1125
>> 18 1392
>> 19 2142
>> 20 3219
>> 21 3031
>> 22 4763
>> 23 7428
>> 24 11472
>> 25 13082
>> 26 19764
>> 27 17561
>> 28 27400
>> 29 40470
>> 30 40663
>> 31 61211
>> 32 122422
>> 33 117467
>> 34 178077
>> 35 154534
>> 36 194021
>> 37 294898
>> 38 450000
>> 39 406733
>> 40 606225
>> 41 918515
>> 42 941097
>> 43 1460973
>> 44 2272171
>> 45 1137280
>> 46 1771369
>> 47 2747843
>> 48 4218493
>> 49 4798681
>> 50 5676182
>> 51 5438268
>> 52 8020072
>> 53 11813449
>> 54 12030348
>> 55 11166454
>> 56 17332658
>> 57 16406539
>> 58 24387247
>> 59 38666989
>> 60 39543466
>> 61 59407513
>> 62 90861744
>> 63 50501931
>> 64 101003862
>> 65 85556030
>> 66 87666302
>> 67 133278100
>> 68 194198795
>> 69 189738686
>> 70 177744675
>> 71 272115518
>> 72 342925417
>> 73 517719263
>> 74 800069995
>> 75 483721592
>>
>> -- Richard
>>
> 
> That's very interesting. I think I might use your data from 1...75 to
> plot:  log f(n) ,
> 
> where f(n) is the number of discrepancy <= 2 sequences of length 'n',
> where a sequence and its negation are considered equivalent.
> 
> -- David
> 

I posted in my blog about this, including a graph using your data
for n = 1... 75.

Below, I'll use the names of functions that I used in my blog post.

Let count(n) be the number of length n sequences of discrepancy <=2,
up to negation.

Then count(1) = 1.

In the blog post, I define:

f(n) := log( count(n) ) , for n = 1... 75.

Then the average growth of f(n) over the interval [1, 75]
is given by C:= (f(75) - f(1))/74 .

Then, we can define:
g(n) := f(n) - C*(n-1).

Then g(1) = 0, and g(75) = 0.

When g(k) experiences a "large" drop in going from n-1 to n,
in a general sense, there is a bottleneck for length n sequence, making
the length 'n' problem fairly harder than the n-1 problem.

Perhaps the most notable (one of the notable) bottlenecks
is for n = 45, where g(45) is substantially lower than g(44):

<
https://meditationatae.wordpress.com/2016/05/22/on-counts-of-finite-sequences-with-discrepancy-2/
> .

-- David


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

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


#334448

FromDavid Bernier <david250@videotron.ca>
Date2016-05-22 23:26 -0400
Message-ID<nhtt3c$ldi$1@dont-email.me>
In reply to#334443
On 05/22/2016 06:13 PM, David Bernier wrote:
> On 05/21/2016 01:42 PM, David Bernier wrote:
>> On 05/21/2016 11:07 AM, Richard Tobin wrote:
>>> One might ask how many discrepancy <= 2 sequences there are of a given
>>> length.  The number generally increases at first, but we know it's
>>> zero for length > 1160.
>>>
>>> Below is the number of such sequences (up to negation) for each length
>>> up to 75.  One might expect lengths with many factors to be unusually
>>> small compared to their predecessors, as a larger number of extra
>>> sub-sequences would have to be satisfied, but this is not apparent
>>> from the list.  The lengths where the number decreases are
>>>
>>>   15, 21, 27, 33, 35, 39, 45, 51, 55, 57, 63, 65, 69, 70, 75
>>>
>>> most of which are 3 times an odd number.
>>>
>>> 1 1
>>> 2 2
>>> 3 3
>>> 4 6
>>> 5 9
>>> 6 14
>>> 7 22
>>> 8 44
>>> 9 50
>>> 10 76
>>> 11 120
>>> 12 185
>>> 13 278
>>> 14 441
>>> 15 375
>>> 16 750
>>> 17 1125
>>> 18 1392
>>> 19 2142
>>> 20 3219
>>> 21 3031
>>> 22 4763
>>> 23 7428
>>> 24 11472
>>> 25 13082
>>> 26 19764
>>> 27 17561
>>> 28 27400
>>> 29 40470
>>> 30 40663
>>> 31 61211
>>> 32 122422
>>> 33 117467
>>> 34 178077
>>> 35 154534
>>> 36 194021
>>> 37 294898
>>> 38 450000
>>> 39 406733
>>> 40 606225
>>> 41 918515
>>> 42 941097
>>> 43 1460973
>>> 44 2272171
>>> 45 1137280
>>> 46 1771369
>>> 47 2747843
>>> 48 4218493
>>> 49 4798681
>>> 50 5676182
>>> 51 5438268
>>> 52 8020072
>>> 53 11813449
>>> 54 12030348
>>> 55 11166454
>>> 56 17332658
>>> 57 16406539
>>> 58 24387247
>>> 59 38666989
>>> 60 39543466
>>> 61 59407513
>>> 62 90861744
>>> 63 50501931
>>> 64 101003862
>>> 65 85556030
>>> 66 87666302
>>> 67 133278100
>>> 68 194198795
>>> 69 189738686
>>> 70 177744675
>>> 71 272115518
>>> 72 342925417
>>> 73 517719263
>>> 74 800069995
>>> 75 483721592
>>>
>>> -- Richard
>>>
>>
>> That's very interesting. I think I might use your data from 1...75 to
>> plot:  log f(n) ,
>>
>> where f(n) is the number of discrepancy <= 2 sequences of length 'n',
>> where a sequence and its negation are considered equivalent.
>>
>> -- David
>>
> 
> I posted in my blog about this, including a graph using your data
> for n = 1... 75.
> 
> Below, I'll use the names of functions that I used in my blog post.
> 
> Let count(n) be the number of length n sequences of discrepancy <=2,
> up to negation.
> 
> Then count(1) = 1.
> 
> In the blog post, I define:
> 
> f(n) := log( count(n) ) , for n = 1... 75.
> 
> Then the average growth of f(n) over the interval [1, 75]
> is given by C:= (f(75) - f(1))/74 .
> 
> Then, we can define:
> g(n) := f(n) - C*(n-1).
> 
> Then g(1) = 0, and g(75) = 0.
> 
> When g(k) experiences a "large" drop in going from n-1 to n,
> in a general sense, there is a bottleneck for length n sequence, making
> the length 'n' problem fairly harder than the n-1 problem.
> 
> Perhaps the most notable (one of the notable) bottlenecks
> is for n = 45, where g(45) is substantially lower than g(44):
> 
> <
> https://meditationatae.wordpress.com/2016/05/22/on-counts-of-finite-sequences-with-discrepancy-2/
>> .
> 
> -- David
> 
> 

Another idea of mine is a variation on standard depth-first search.

Suppose , as with the software from someone who participated in the
Polymath project on searching for and finding very long
sequences of discrepancy 2, which I'm running on
my home computer,
a solution has been found for  length: 818  but not
yet for length = 819.

As a side-note, PARI/gp says that:
the divisors of 819 form the set:
{1, 3, 7, 9, 13, 21, 39, 63, 91, 117, 273, 819}.

Since it's taking so long, presumably adding to the
818-length sequence either a +1 or a -1 to form
a length = 819 sequence in no case keeps the
discrepancy at D = 2.

Suppose that for some unspecified number 'm',
the program has found a length = m sequence of
discrepancy D=2, and that either of
extending to a length = m+1 via adding in
a +1 (alternately, adding in a -1) in position
m+1 , produce discrepancy D=2 sequences of
length = m+1 .

In standard depth-first search a standard default value
is chosen, when something can be done in twp ways;
let's say the default is adding a +1 in position m+1
when both appending a +1 and appending a -1 give
D=2, length = m+1 sequence.

An alternative is to look at s_n for especially (it seems)
primes, powers of primes, and semi-primes where both prime
factors are close to 1 in ratio, such as 35 = 5*7 .

The idea is that, based on the sign changes at these
supposedly "important" length values,
one choice between +1 and -1 as the value to try first
for the (m+1)'st term, from a D=2 length m sequence, is
preferable to the other, and should be tries first, leaving the
other for second choice, upon back-tracking to erase the initial
choice for the (m+1)'s term.

Richard Tobin's data shows that the number of length=45
D=2 sequences is 50.05257% roughly of the number for
length = 44.

Question:

For the 1,137,280 length = 45 D=2 sequences,
is there a simple function based on the
44 values of s_1, ... s_44 in a 45-term
D=2 length 45 sequence
s_1, ... s_45 predicts with 60% or greater
accuracy a value for s_45 that works?

This gives  1,137,280 cases of L=45 D=2 sequences,
and we're looking at a simple function "predict"
such that in >= 60% of cases of L=45 D=2 sequences,
predict(s_1, ... s_44) give a number 'x' in {-1, +1}
such that (s_1, ... s_44, x) *is* a length =45 D=2
sequence?

Maybe it's wort trying; I'm not too sure, though, that it
will give algorithms/programs that can get past
L = 818 , D=2 sequences faster than the Polymath program
I'm running ...

--David


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

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


#334449

FromDavid Bernier <david250@videotron.ca>
Date2016-05-23 00:04 -0400
Message-ID<nhtvai$qho$1@dont-email.me>
In reply to#334448
On 05/22/2016 11:26 PM, David Bernier wrote:
> On 05/22/2016 06:13 PM, David Bernier wrote:
>> On 05/21/2016 01:42 PM, David Bernier wrote:
>>> On 05/21/2016 11:07 AM, Richard Tobin wrote:
>>>> One might ask how many discrepancy <= 2 sequences there are of a given
>>>> length.  The number generally increases at first, but we know it's
>>>> zero for length > 1160.
>>>>
>>>> Below is the number of such sequences (up to negation) for each length
>>>> up to 75.  One might expect lengths with many factors to be unusually
>>>> small compared to their predecessors, as a larger number of extra
>>>> sub-sequences would have to be satisfied, but this is not apparent
>>>> from the list.  The lengths where the number decreases are
>>>>
>>>>   15, 21, 27, 33, 35, 39, 45, 51, 55, 57, 63, 65, 69, 70, 75
>>>>
>>>> most of which are 3 times an odd number.
>>>>
>>>> 1 1
>>>> 2 2
>>>> 3 3
>>>> 4 6
>>>> 5 9
>>>> 6 14
>>>> 7 22
>>>> 8 44
>>>> 9 50
>>>> 10 76
>>>> 11 120
>>>> 12 185
>>>> 13 278
>>>> 14 441
>>>> 15 375
>>>> 16 750
>>>> 17 1125
>>>> 18 1392
>>>> 19 2142
>>>> 20 3219
>>>> 21 3031
>>>> 22 4763
>>>> 23 7428
>>>> 24 11472
>>>> 25 13082
>>>> 26 19764
>>>> 27 17561
>>>> 28 27400
>>>> 29 40470
>>>> 30 40663
>>>> 31 61211
>>>> 32 122422
>>>> 33 117467
>>>> 34 178077
>>>> 35 154534
>>>> 36 194021
>>>> 37 294898
>>>> 38 450000
>>>> 39 406733
>>>> 40 606225
>>>> 41 918515
>>>> 42 941097
>>>> 43 1460973
>>>> 44 2272171
>>>> 45 1137280
>>>> 46 1771369
>>>> 47 2747843
>>>> 48 4218493
>>>> 49 4798681
>>>> 50 5676182
>>>> 51 5438268
>>>> 52 8020072
>>>> 53 11813449
>>>> 54 12030348
>>>> 55 11166454
>>>> 56 17332658
>>>> 57 16406539
>>>> 58 24387247
>>>> 59 38666989
>>>> 60 39543466
>>>> 61 59407513
>>>> 62 90861744
>>>> 63 50501931
>>>> 64 101003862
>>>> 65 85556030
>>>> 66 87666302
>>>> 67 133278100
>>>> 68 194198795
>>>> 69 189738686
>>>> 70 177744675
>>>> 71 272115518
>>>> 72 342925417
>>>> 73 517719263
>>>> 74 800069995
>>>> 75 483721592
>>>>
>>>> -- Richard
>>>>
>>>
>>> That's very interesting. I think I might use your data from 1...75 to
>>> plot:  log f(n) ,
>>>
>>> where f(n) is the number of discrepancy <= 2 sequences of length 'n',
>>> where a sequence and its negation are considered equivalent.
>>>
>>> -- David
>>>
>>
>> I posted in my blog about this, including a graph using your data
>> for n = 1... 75.
>>
>> Below, I'll use the names of functions that I used in my blog post.
>>
>> Let count(n) be the number of length n sequences of discrepancy <=2,
>> up to negation.
>>
>> Then count(1) = 1.
>>
>> In the blog post, I define:
>>
>> f(n) := log( count(n) ) , for n = 1... 75.
>>
>> Then the average growth of f(n) over the interval [1, 75]
>> is given by C:= (f(75) - f(1))/74 .
>>
>> Then, we can define:
>> g(n) := f(n) - C*(n-1).
>>
>> Then g(1) = 0, and g(75) = 0.
>>
>> When g(k) experiences a "large" drop in going from n-1 to n,
>> in a general sense, there is a bottleneck for length n sequence, making
>> the length 'n' problem fairly harder than the n-1 problem.
>>
>> Perhaps the most notable (one of the notable) bottlenecks
>> is for n = 45, where g(45) is substantially lower than g(44):
>>
>> <
>> https://meditationatae.wordpress.com/2016/05/22/on-counts-of-finite-sequences-with-discrepancy-2/
>>> .
>>
>> -- David
>>
>>
> 
> Another idea of mine is a variation on standard depth-first search.
> 
> Suppose , as with the software from someone who participated in the
> Polymath project on searching for and finding very long
> sequences of discrepancy 2, which I'm running on
> my home computer,
> a solution has been found for  length: 818  but not
> yet for length = 819.
> 
> As a side-note, PARI/gp says that:
> the divisors of 819 form the set:
> {1, 3, 7, 9, 13, 21, 39, 63, 91, 117, 273, 819}.
> 
> Since it's taking so long, presumably adding to the
> 818-length sequence either a +1 or a -1 to form
> a length = 819 sequence in no case keeps the
> discrepancy at D = 2.
> 
> Suppose that for some unspecified number 'm',
> the program has found a length = m sequence of
> discrepancy D=2, and that either of
> extending to a length = m+1 via adding in
> a +1 (alternately, adding in a -1) in position
> m+1 , produce discrepancy D=2 sequences of
> length = m+1 .
> 
> In standard depth-first search a standard default value
> is chosen, when something can be done in twp ways;
> let's say the default is adding a +1 in position m+1
> when both appending a +1 and appending a -1 give
> D=2, length = m+1 sequence.
> 
> An alternative is to look at s_n for especially (it seems)
> primes, powers of primes, and semi-primes where both prime
> factors are close to 1 in ratio, such as 35 = 5*7 .
> 
> The idea is that, based on the sign changes at these
> supposedly "important" length values,
> one choice between +1 and -1 as the value to try first
> for the (m+1)'st term, from a D=2 length m sequence, is
> preferable to the other, and should be tries first, leaving the
> other for second choice, upon back-tracking to erase the initial
> choice for the (m+1)'s term.
> 
> Richard Tobin's data shows that the number of length=45
> D=2 sequences is 50.05257% roughly of the number for
> length = 44.
> 
> Question:
> 
> For the 1,137,280 length = 45 D=2 sequences,
> is there a simple function based on the
> 44 values of s_1, ... s_44 in a 45-term
> D=2 length 45 sequence
> s_1, ... s_45 predicts with 60% or greater
> accuracy a value for s_45 that works?
> 
> This gives  1,137,280 cases of L=45 D=2 sequences,
> and we're looking at a simple function "predict"
> such that in >= 60% of cases of L=45 D=2 sequences,
> predict(s_1, ... s_44) give a number 'x' in {-1, +1}
> such that (s_1, ... s_44, x) *is* a length =45 D=2
> sequence?
> 
> Maybe it's wort trying; I'm not too sure, though, that it
> will give algorithms/programs that can get past
> L = 818 , D=2 sequences faster than the Polymath program
> I'm running ...
> 
> --David
> 
> 

Otherwise, the set of numbers divisible by one or more of 7, 9, 13 are:

{7, 9, 13, 14, 18, 21, 26, 27, 28, 35, 36, 39, 42, 45, 49, 52, 54, 56,
63, 65, 70, 72, 77, 78, 81, 84, 90, 91, 98, 99, 104, 105, 108, 112, 117,
119, 126, 130, 133, 135, 140, 143, 144, 147, 153, 154, 156, 161, 162,
168, 169, 171, 175, 180, 182, 189, 195, 196, 198, 203, 207, 208, 210,
216, 217, 221, 224, 225, 231, 234, 238, 243, 245, 247, 252, 259, 260,
261, 266, 270, 273, 279, 280, 286, 287, 288, 294, 297, 299, 301, 306,
308, 312, 315, 322, 324, 325, 329, 333, 336, 338, 342, 343, 350, 351,
357, 360, 364, 369, 371, 377, 378, 385, 387, 390, 392, 396, 399, 403,
405, 406, 413, 414, 416, 420, 423, 427, 429, 432, 434, 441, 442, 448,
450, 455, 459, 462, 468, 469, 476, 477, 481, 483, 486, 490, 494, 495,
497, 504, 507, 511, 513, 518, 520, 522, 525, 531, 532, 533, 539, 540,
546, 549, 553, 558, 559, 560, 567, 572, 574, 576, 581, 585, 588, 594,
595, 598, 602, 603, 609, 611, 612, 616, 621, 623, 624, 630, 637, 639,
644, 648, 650, 651, 657, 658, 663, 665, 666, 672, 675, 676, 679, 684,
686, 689, 693, 700, 702, 707, 711, 714, 715, 720, 721, 728, 729, 735,
738, 741, 742, 747, 749, 754, 756, 763, 765, 767, 770, 774, 777, 780,
783, 784, 791, 792, 793, 798, 801, 805, 806, 810, 812, 819}

And one could try to asign signs to just these so as to satisfy
the d=7, d=9, d=13, d=63, d=91 and d=117 constraints for D<=
before "filling on the blanks", i.e. the numbers from 1 to 819
that are co-prime to 819, including 1, 2, 3, 4, 5,6, 8, 10, 11, 12.

-- David


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

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


#334459

FromDavid Bernier <david250@videotron.ca>
Date2016-05-23 06:36 -0400
Message-ID<nhum82$rku$1@dont-email.me>
In reply to#334449
On 05/23/2016 12:04 AM, David Bernier wrote:
> On 05/22/2016 11:26 PM, David Bernier wrote:
>> On 05/22/2016 06:13 PM, David Bernier wrote:
>>> On 05/21/2016 01:42 PM, David Bernier wrote:
>>>> On 05/21/2016 11:07 AM, Richard Tobin wrote:
>>>>> One might ask how many discrepancy <= 2 sequences there are of a given
>>>>> length.  The number generally increases at first, but we know it's
>>>>> zero for length > 1160.
>>>>>
>>>>> Below is the number of such sequences (up to negation) for each length
>>>>> up to 75.  One might expect lengths with many factors to be unusually
>>>>> small compared to their predecessors, as a larger number of extra
>>>>> sub-sequences would have to be satisfied, but this is not apparent
>>>>> from the list.  The lengths where the number decreases are
>>>>>
>>>>>   15, 21, 27, 33, 35, 39, 45, 51, 55, 57, 63, 65, 69, 70, 75
>>>>>
>>>>> most of which are 3 times an odd number.
>>>>>
>>>>> 1 1
>>>>> 2 2
>>>>> 3 3
>>>>> 4 6
>>>>> 5 9
>>>>> 6 14
>>>>> 7 22
>>>>> 8 44
>>>>> 9 50
>>>>> 10 76
>>>>> 11 120
>>>>> 12 185
>>>>> 13 278
>>>>> 14 441
>>>>> 15 375
>>>>> 16 750
>>>>> 17 1125
>>>>> 18 1392
>>>>> 19 2142
>>>>> 20 3219
>>>>> 21 3031
>>>>> 22 4763
>>>>> 23 7428
>>>>> 24 11472
>>>>> 25 13082
>>>>> 26 19764
>>>>> 27 17561
>>>>> 28 27400
>>>>> 29 40470
>>>>> 30 40663
>>>>> 31 61211
>>>>> 32 122422
>>>>> 33 117467
>>>>> 34 178077
>>>>> 35 154534
>>>>> 36 194021
>>>>> 37 294898
>>>>> 38 450000
>>>>> 39 406733
>>>>> 40 606225
>>>>> 41 918515
>>>>> 42 941097
>>>>> 43 1460973
>>>>> 44 2272171
>>>>> 45 1137280
>>>>> 46 1771369
>>>>> 47 2747843
>>>>> 48 4218493
>>>>> 49 4798681
>>>>> 50 5676182
>>>>> 51 5438268
>>>>> 52 8020072
>>>>> 53 11813449
>>>>> 54 12030348
>>>>> 55 11166454
>>>>> 56 17332658
>>>>> 57 16406539
>>>>> 58 24387247
>>>>> 59 38666989
>>>>> 60 39543466
>>>>> 61 59407513
>>>>> 62 90861744
>>>>> 63 50501931
>>>>> 64 101003862
>>>>> 65 85556030
>>>>> 66 87666302
>>>>> 67 133278100
>>>>> 68 194198795
>>>>> 69 189738686
>>>>> 70 177744675
>>>>> 71 272115518
>>>>> 72 342925417
>>>>> 73 517719263
>>>>> 74 800069995
>>>>> 75 483721592
>>>>>
>>>>> -- Richard
>>>>>
>>>>
>>>> That's very interesting. I think I might use your data from 1...75 to
>>>> plot:  log f(n) ,
>>>>
>>>> where f(n) is the number of discrepancy <= 2 sequences of length 'n',
>>>> where a sequence and its negation are considered equivalent.
>>>>
>>>> -- David
>>>>
>>>
>>> I posted in my blog about this, including a graph using your data
>>> for n = 1... 75.
>>>
>>> Below, I'll use the names of functions that I used in my blog post.
>>>
>>> Let count(n) be the number of length n sequences of discrepancy <=2,
>>> up to negation.
>>>
>>> Then count(1) = 1.
>>>
>>> In the blog post, I define:
>>>
>>> f(n) := log( count(n) ) , for n = 1... 75.
>>>
>>> Then the average growth of f(n) over the interval [1, 75]
>>> is given by C:= (f(75) - f(1))/74 .
>>>
>>> Then, we can define:
>>> g(n) := f(n) - C*(n-1).
>>>
>>> Then g(1) = 0, and g(75) = 0.
>>>
>>> When g(k) experiences a "large" drop in going from n-1 to n,
>>> in a general sense, there is a bottleneck for length n sequence, making
>>> the length 'n' problem fairly harder than the n-1 problem.
>>>
>>> Perhaps the most notable (one of the notable) bottlenecks
>>> is for n = 45, where g(45) is substantially lower than g(44):
>>>
>>> <
>>> https://meditationatae.wordpress.com/2016/05/22/on-counts-of-finite-sequences-with-discrepancy-2/
>>>> .
>>>
>>> -- David
>>>
>>>
>>
>> Another idea of mine is a variation on standard depth-first search.
>>
>> Suppose , as with the software from someone who participated in the
>> Polymath project on searching for and finding very long
>> sequences of discrepancy 2, which I'm running on
>> my home computer,
>> a solution has been found for  length: 818  but not
>> yet for length = 819.
>>
>> As a side-note, PARI/gp says that:
>> the divisors of 819 form the set:
>> {1, 3, 7, 9, 13, 21, 39, 63, 91, 117, 273, 819}.
>>
>> Since it's taking so long, presumably adding to the
>> 818-length sequence either a +1 or a -1 to form
>> a length = 819 sequence in no case keeps the
>> discrepancy at D = 2.
>>
>> Suppose that for some unspecified number 'm',
>> the program has found a length = m sequence of
>> discrepancy D=2, and that either of
>> extending to a length = m+1 via adding in
>> a +1 (alternately, adding in a -1) in position
>> m+1 , produce discrepancy D=2 sequences of
>> length = m+1 .
>>
>> In standard depth-first search a standard default value
>> is chosen, when something can be done in twp ways;
>> let's say the default is adding a +1 in position m+1
>> when both appending a +1 and appending a -1 give
>> D=2, length = m+1 sequence.
>>
>> An alternative is to look at s_n for especially (it seems)
>> primes, powers of primes, and semi-primes where both prime
>> factors are close to 1 in ratio, such as 35 = 5*7 .
>>
>> The idea is that, based on the sign changes at these
>> supposedly "important" length values,
>> one choice between +1 and -1 as the value to try first
>> for the (m+1)'st term, from a D=2 length m sequence, is
>> preferable to the other, and should be tries first, leaving the
>> other for second choice, upon back-tracking to erase the initial
>> choice for the (m+1)'s term.
>>
>> Richard Tobin's data shows that the number of length=45
>> D=2 sequences is 50.05257% roughly of the number for
>> length = 44.
>>
>> Question:
>>
>> For the 1,137,280 length = 45 D=2 sequences,
>> is there a simple function based on the
>> 44 values of s_1, ... s_44 in a 45-term
>> D=2 length 45 sequence
>> s_1, ... s_45 predicts with 60% or greater
>> accuracy a value for s_45 that works?
>>
>> This gives  1,137,280 cases of L=45 D=2 sequences,
>> and we're looking at a simple function "predict"
>> such that in >= 60% of cases of L=45 D=2 sequences,
>> predict(s_1, ... s_44) give a number 'x' in {-1, +1}
>> such that (s_1, ... s_44, x) *is* a length =45 D=2
>> sequence?
>>
>> Maybe it's wort trying; I'm not too sure, though, that it
>> will give algorithms/programs that can get past
>> L = 818 , D=2 sequences faster than the Polymath program
>> I'm running ...
>>
>> --David
>>
>>
> 
> Otherwise, the set of numbers divisible by one or more of 7, 9, 13 are:
> 
> {7, 9, 13, 14, 18, 21, 26, 27, 28, 35, 36, 39, 42, 45, 49, 52, 54, 56,
> 63, 65, 70, 72, 77, 78, 81, 84, 90, 91, 98, 99, 104, 105, 108, 112, 117,
> 119, 126, 130, 133, 135, 140, 143, 144, 147, 153, 154, 156, 161, 162,
> 168, 169, 171, 175, 180, 182, 189, 195, 196, 198, 203, 207, 208, 210,
> 216, 217, 221, 224, 225, 231, 234, 238, 243, 245, 247, 252, 259, 260,
> 261, 266, 270, 273, 279, 280, 286, 287, 288, 294, 297, 299, 301, 306,
> 308, 312, 315, 322, 324, 325, 329, 333, 336, 338, 342, 343, 350, 351,
> 357, 360, 364, 369, 371, 377, 378, 385, 387, 390, 392, 396, 399, 403,
> 405, 406, 413, 414, 416, 420, 423, 427, 429, 432, 434, 441, 442, 448,
> 450, 455, 459, 462, 468, 469, 476, 477, 481, 483, 486, 490, 494, 495,
> 497, 504, 507, 511, 513, 518, 520, 522, 525, 531, 532, 533, 539, 540,
> 546, 549, 553, 558, 559, 560, 567, 572, 574, 576, 581, 585, 588, 594,
> 595, 598, 602, 603, 609, 611, 612, 616, 621, 623, 624, 630, 637, 639,
> 644, 648, 650, 651, 657, 658, 663, 665, 666, 672, 675, 676, 679, 684,
> 686, 689, 693, 700, 702, 707, 711, 714, 715, 720, 721, 728, 729, 735,
> 738, 741, 742, 747, 749, 754, 756, 763, 765, 767, 770, 774, 777, 780,
> 783, 784, 791, 792, 793, 798, 801, 805, 806, 810, 812, 819}
> 
> And one could try to asign signs to just these so as to satisfy
> the d=7, d=9, d=13, d=63, d=91 and d=117 constraints for D<=
> before "filling on the blanks", i.e. the numbers from 1 to 819
> that are co-prime to 819, including 1, 2, 3, 4, 5,6, 8, 10, 11, 12.
> 
> -- David
> 
> 




Some statistics, using just one
length 818 sequence with
discrepancy D = 2 :

000 or --- :    3 cases,  1 + and 2 -
001 or --+ :    2 cases,  0 - and 2 +
010 or -+- :   12 cases,  5 - and 7 +
011 or -++ :    3 cases,  0 - and 3 +
100 or +-- :    8 cases,  4 - and 4 +
101 or +-+ :    3 cases,  2 - and 1 +
110 or ++- :   54 cases, 29 - and 25 +
111 or +++ :    5 cases,  4 - and 1 +



Explanation:

If we put the solution for D <= 2 of length 818
in rows of 9 signs, then there are 90 complete rows,
totaling 810 signs, and we can omit the last 8
signs for our purpose, correlation statistics.

We're trying to predict the result for the
sign in the 9th column, k'th row, based
on the signs in the columns 6, 7 and 8 of
the k'th row.

We find that in 54 cases ou of 90, columns 6, 7 and 8
have signs "++-", and in 29 of those the next sign is
a -, while in 25 cases, it is a + sign.

It's based on just one length-818 sequence of
discrepancy <= 2, and I'm not sure it's worth
anything as a predictor. Perhaps if
all sequences of length 818 of dicrepancy <=2
were included in the statistics, a predictor
beating an agnostic depth-first search algorithm
could be written. By agnostic, I mean a predictor
that doesn't believe at looking at the past
signs, and always defaults to , e.g.,
a first choice of +1, whenever this allows
extending a sequence by 1 number.

David Bernier



? signminusonoctal
%1859 = [1, 0, 5, 0, 4, 2, 29, 4]


? signplusonoctal
%1858 = [2, 2, 7, 3, 4, 1, 25, 1]


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

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


#334480

FromDavid Bernier <david250@videotron.ca>
Date2016-05-23 18:29 -0400
Message-ID<ni001b$tv2$1@dont-email.me>
In reply to#334459
On 05/23/2016 06:36 AM, David Bernier wrote:
> On 05/23/2016 12:04 AM, David Bernier wrote:
>> On 05/22/2016 11:26 PM, David Bernier wrote:
>>> On 05/22/2016 06:13 PM, David Bernier wrote:
>>>> On 05/21/2016 01:42 PM, David Bernier wrote:
>>>>> On 05/21/2016 11:07 AM, Richard Tobin wrote:
>>>>>> One might ask how many discrepancy <= 2 sequences there are of a given
>>>>>> length.  The number generally increases at first, but we know it's
>>>>>> zero for length > 1160.
>>>>>>
>>>>>> Below is the number of such sequences (up to negation) for each length
>>>>>> up to 75.  One might expect lengths with many factors to be unusually
>>>>>> small compared to their predecessors, as a larger number of extra
>>>>>> sub-sequences would have to be satisfied, but this is not apparent
>>>>>> from the list.  The lengths where the number decreases are
>>>>>>
>>>>>>   15, 21, 27, 33, 35, 39, 45, 51, 55, 57, 63, 65, 69, 70, 75
>>>>>>
>>>>>> most of which are 3 times an odd number.
>>>>>>
>>>>>> 1 1
>>>>>> 2 2
>>>>>> 3 3
>>>>>> 4 6
>>>>>> 5 9
>>>>>> 6 14
>>>>>> 7 22
>>>>>> 8 44
>>>>>> 9 50
>>>>>> 10 76
>>>>>> 11 120
>>>>>> 12 185
>>>>>> 13 278
>>>>>> 14 441
>>>>>> 15 375
>>>>>> 16 750
>>>>>> 17 1125
>>>>>> 18 1392
>>>>>> 19 2142
>>>>>> 20 3219
>>>>>> 21 3031
>>>>>> 22 4763
>>>>>> 23 7428
>>>>>> 24 11472
>>>>>> 25 13082
>>>>>> 26 19764
>>>>>> 27 17561
>>>>>> 28 27400
>>>>>> 29 40470
>>>>>> 30 40663
>>>>>> 31 61211
>>>>>> 32 122422
>>>>>> 33 117467
>>>>>> 34 178077
>>>>>> 35 154534
>>>>>> 36 194021
>>>>>> 37 294898
>>>>>> 38 450000
>>>>>> 39 406733
>>>>>> 40 606225
>>>>>> 41 918515
>>>>>> 42 941097
>>>>>> 43 1460973
>>>>>> 44 2272171
>>>>>> 45 1137280
>>>>>> 46 1771369
>>>>>> 47 2747843
>>>>>> 48 4218493
>>>>>> 49 4798681
>>>>>> 50 5676182
>>>>>> 51 5438268
>>>>>> 52 8020072
>>>>>> 53 11813449
>>>>>> 54 12030348
>>>>>> 55 11166454
>>>>>> 56 17332658
>>>>>> 57 16406539
>>>>>> 58 24387247
>>>>>> 59 38666989
>>>>>> 60 39543466
>>>>>> 61 59407513
>>>>>> 62 90861744
>>>>>> 63 50501931
>>>>>> 64 101003862
>>>>>> 65 85556030
>>>>>> 66 87666302
>>>>>> 67 133278100
>>>>>> 68 194198795
>>>>>> 69 189738686
>>>>>> 70 177744675
>>>>>> 71 272115518
>>>>>> 72 342925417
>>>>>> 73 517719263
>>>>>> 74 800069995
>>>>>> 75 483721592
>>>>>>
>>>>>> -- Richard
>>>>>>
>>>>>
>>>>> That's very interesting. I think I might use your data from 1...75 to
>>>>> plot:  log f(n) ,
>>>>>
>>>>> where f(n) is the number of discrepancy <= 2 sequences of length 'n',
>>>>> where a sequence and its negation are considered equivalent.
>>>>>
>>>>> -- David
>>>>>
>>>>
>>>> I posted in my blog about this, including a graph using your data
>>>> for n = 1... 75.
>>>>
>>>> Below, I'll use the names of functions that I used in my blog post.
>>>>
>>>> Let count(n) be the number of length n sequences of discrepancy <=2,
>>>> up to negation.
>>>>
>>>> Then count(1) = 1.
>>>>
>>>> In the blog post, I define:
>>>>
>>>> f(n) := log( count(n) ) , for n = 1... 75.
>>>>
>>>> Then the average growth of f(n) over the interval [1, 75]
>>>> is given by C:= (f(75) - f(1))/74 .
>>>>
>>>> Then, we can define:
>>>> g(n) := f(n) - C*(n-1).
>>>>
>>>> Then g(1) = 0, and g(75) = 0.
>>>>
>>>> When g(k) experiences a "large" drop in going from n-1 to n,
>>>> in a general sense, there is a bottleneck for length n sequence, making
>>>> the length 'n' problem fairly harder than the n-1 problem.
>>>>
>>>> Perhaps the most notable (one of the notable) bottlenecks
>>>> is for n = 45, where g(45) is substantially lower than g(44):
>>>>
>>>> <
>>>> https://meditationatae.wordpress.com/2016/05/22/on-counts-of-finite-sequences-with-discrepancy-2/
>>>>> .
>>>>
>>>> -- David
>>>>
>>>>
>>>
>>> Another idea of mine is a variation on standard depth-first search.
>>>
>>> Suppose , as with the software from someone who participated in the
>>> Polymath project on searching for and finding very long
>>> sequences of discrepancy 2, which I'm running on
>>> my home computer,
>>> a solution has been found for  length: 818  but not
>>> yet for length = 819.
>>>
>>> As a side-note, PARI/gp says that:
>>> the divisors of 819 form the set:
>>> {1, 3, 7, 9, 13, 21, 39, 63, 91, 117, 273, 819}.
>>>
>>> Since it's taking so long, presumably adding to the
>>> 818-length sequence either a +1 or a -1 to form
>>> a length = 819 sequence in no case keeps the
>>> discrepancy at D = 2.
>>>
>>> Suppose that for some unspecified number 'm',
>>> the program has found a length = m sequence of
>>> discrepancy D=2, and that either of
>>> extending to a length = m+1 via adding in
>>> a +1 (alternately, adding in a -1) in position
>>> m+1 , produce discrepancy D=2 sequences of
>>> length = m+1 .
>>>
>>> In standard depth-first search a standard default value
>>> is chosen, when something can be done in twp ways;
>>> let's say the default is adding a +1 in position m+1
>>> when both appending a +1 and appending a -1 give
>>> D=2, length = m+1 sequence.
>>>
>>> An alternative is to look at s_n for especially (it seems)
>>> primes, powers of primes, and semi-primes where both prime
>>> factors are close to 1 in ratio, such as 35 = 5*7 .
>>>
>>> The idea is that, based on the sign changes at these
>>> supposedly "important" length values,
>>> one choice between +1 and -1 as the value to try first
>>> for the (m+1)'st term, from a D=2 length m sequence, is
>>> preferable to the other, and should be tries first, leaving the
>>> other for second choice, upon back-tracking to erase the initial
>>> choice for the (m+1)'s term.
>>>
>>> Richard Tobin's data shows that the number of length=45
>>> D=2 sequences is 50.05257% roughly of the number for
>>> length = 44.
>>>
>>> Question:
>>>
>>> For the 1,137,280 length = 45 D=2 sequences,
>>> is there a simple function based on the
>>> 44 values of s_1, ... s_44 in a 45-term
>>> D=2 length 45 sequence
>>> s_1, ... s_45 predicts with 60% or greater
>>> accuracy a value for s_45 that works?
>>>
>>> This gives  1,137,280 cases of L=45 D=2 sequences,
>>> and we're looking at a simple function "predict"
>>> such that in >= 60% of cases of L=45 D=2 sequences,
>>> predict(s_1, ... s_44) give a number 'x' in {-1, +1}
>>> such that (s_1, ... s_44, x) *is* a length =45 D=2
>>> sequence?
>>>
>>> Maybe it's wort trying; I'm not too sure, though, that it
>>> will give algorithms/programs that can get past
>>> L = 818 , D=2 sequences faster than the Polymath program
>>> I'm running ...
>>>
>>> --David
>>>
>>>
>>
>> Otherwise, the set of numbers divisible by one or more of 7, 9, 13 are:
>>
>> {7, 9, 13, 14, 18, 21, 26, 27, 28, 35, 36, 39, 42, 45, 49, 52, 54, 56,
>> 63, 65, 70, 72, 77, 78, 81, 84, 90, 91, 98, 99, 104, 105, 108, 112, 117,
>> 119, 126, 130, 133, 135, 140, 143, 144, 147, 153, 154, 156, 161, 162,
>> 168, 169, 171, 175, 180, 182, 189, 195, 196, 198, 203, 207, 208, 210,
>> 216, 217, 221, 224, 225, 231, 234, 238, 243, 245, 247, 252, 259, 260,
>> 261, 266, 270, 273, 279, 280, 286, 287, 288, 294, 297, 299, 301, 306,
>> 308, 312, 315, 322, 324, 325, 329, 333, 336, 338, 342, 343, 350, 351,
>> 357, 360, 364, 369, 371, 377, 378, 385, 387, 390, 392, 396, 399, 403,
>> 405, 406, 413, 414, 416, 420, 423, 427, 429, 432, 434, 441, 442, 448,
>> 450, 455, 459, 462, 468, 469, 476, 477, 481, 483, 486, 490, 494, 495,
>> 497, 504, 507, 511, 513, 518, 520, 522, 525, 531, 532, 533, 539, 540,
>> 546, 549, 553, 558, 559, 560, 567, 572, 574, 576, 581, 585, 588, 594,
>> 595, 598, 602, 603, 609, 611, 612, 616, 621, 623, 624, 630, 637, 639,
>> 644, 648, 650, 651, 657, 658, 663, 665, 666, 672, 675, 676, 679, 684,
>> 686, 689, 693, 700, 702, 707, 711, 714, 715, 720, 721, 728, 729, 735,
>> 738, 741, 742, 747, 749, 754, 756, 763, 765, 767, 770, 774, 777, 780,
>> 783, 784, 791, 792, 793, 798, 801, 805, 806, 810, 812, 819}
>>
>> And one could try to asign signs to just these so as to satisfy
>> the d=7, d=9, d=13, d=63, d=91 and d=117 constraints for D<=
>> before "filling on the blanks", i.e. the numbers from 1 to 819
>> that are co-prime to 819, including 1, 2, 3, 4, 5,6, 8, 10, 11, 12.
>>
>> -- David
>>
>>
> 
> 
> 
> 
> Some statistics, using just one
> length 818 sequence with
> discrepancy D = 2 :
> 
> 000 or --- :    3 cases,  1 + and 2 -
> 001 or --+ :    2 cases,  0 - and 2 +
> 010 or -+- :   12 cases,  5 - and 7 +
> 011 or -++ :    3 cases,  0 - and 3 +
> 100 or +-- :    8 cases,  4 - and 4 +
> 101 or +-+ :    3 cases,  2 - and 1 +
> 110 or ++- :   54 cases, 29 - and 25 +
> 111 or +++ :    5 cases,  4 - and 1 +
> 
> 
> 
> Explanation:
> 
> If we put the solution for D <= 2 of length 818
> in rows of 9 signs, then there are 90 complete rows,
> totaling 810 signs, and we can omit the last 8
> signs for our purpose, correlation statistics.
> 
> We're trying to predict the result for the
> sign in the 9th column, k'th row, based
> on the signs in the columns 6, 7 and 8 of
> the k'th row.
> 
> We find that in 54 cases ou of 90, columns 6, 7 and 8
> have signs "++-", and in 29 of those the next sign is
> a -, while in 25 cases, it is a + sign.
> 
> It's based on just one length-818 sequence of
> discrepancy <= 2, and I'm not sure it's worth
> anything as a predictor. Perhaps if
> all sequences of length 818 of dicrepancy <=2
> were included in the statistics, a predictor
> beating an agnostic depth-first search algorithm
> could be written. By agnostic, I mean a predictor
> that doesn't believe at looking at the past
> signs, and always defaults to , e.g.,
> a first choice of +1, whenever this allows
> extending a sequence by 1 number.
> 
> David Bernier
> 
> 
> 
> ? signminusonoctal
> %1859 = [1, 0, 5, 0, 4, 2, 29, 4]
> 
> 
> ? signplusonoctal
> %1858 = [2, 2, 7, 3, 4, 1, 25, 1]
> 
> 

The program from the Polymath project has an "initial sequence" of
length ~= 500-525. It's where it begins the depth-first search, in
the sense if ther's a minus sign in position 46, then a plus sign
(the default) in position 46 will not be tried.

I reset the "initial sequence" to a length of one,
with x[1] = +1 ,
then for length=390, it back-tracked to position 46 where
it put a minus sign, versus a plus sign for the length 389
solution.

But the length 389 and length 390 solutions agreed on
x[1], x[2], x[3]... x[45].

So now, x[1] to x[46] are set initially, with
x[46] = -1.

dave


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

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | sci.math


csiph-web