Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.math > #334268 > unrolled thread
| Started by | David Bernier <david250@videotron.ca> |
|---|---|
| First post | 2016-05-18 15:30 -0400 |
| Last post | 2016-05-23 18:29 -0400 |
| Articles | 20 on this page of 58 — 4 participants |
Back to article view | Back to sci.math
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 2 of 3 — ← Prev page 1 [2] 3 Next page →
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-20 17:41 -0400 |
| Message-ID | <nho03e$a95$1@dont-email.me> |
| In reply to | #334303 |
On 05/19/2016 12:17 AM, James Waldby wrote:
> On Thu, 19 May 2016 00:11:49 +0000, Richard Tobin wrote:
>> Richard Tobin ... wrote:
>>
>>> Ok, I see my mistake. I was using 1, 1+d, 1+2d, ... instead of d, 2d, ...
>>
>> After correcting my mistake:
>>
>> ++-+--+-++-+--++--+-++-+----++++--+-+-+-++-
>>
>> and
>>
>> ++-+--+-++-+--++--+-++-+----+-++-++-+-+-++--++---+-+-++-++-+---+--+-+++-+--+++--+--++--+++-+----++++
>
> Although I assume I misunderstood the formula and wrote a wrong program,
> it does show D=2 for both those sequences.
>
> For your earlier sequences
>
> ++-+-+--+--++-+--++-++-+--+--++-++-+--++-+-
>
> and
>
> ++-+-+--+--++-+--++-++-+--+--++-+--+-+++-+--+--++-++--++-+-+
For the length 60 sequence above, one can represent is using X's
for + signs, and O's for minus signs. One can iclude periods to add
space between two consecutive signs on the same line or row.
One can reformat the 60 signs from all on one line to a 20x3 matrix
type representation, at 20 rows of three signs each. For clarity, in
the calculation of lower bounds for the 'D' of the sequence, one can
display the 20x3 "matrix" in two blocks, separated by a blank line,
which has the appearance of a 17x3 matrix in the first block, and
a 3x3 matrix in the second block, like so:
X...X...O
X...O...X
O...O...X
O...O...X
X...O...X
O...O...X
X...O...X
X...O...X
O...O...X
O...O...X
X...O...X
O...O...X
O...X...X
X...O...X
O...O...X
O...O...X
X...O...X
X...O...O
X...X...O
X...O...X
Supposing the sequence above is denoted by a_1, a_2, ... a_60.
Then in total 20 arithmetic progressions of common difference 3
need to be looked at to correctly estimate the "best" lower bounds
to the 'D' of the sequence. The 20 progressions all begin with the
index = 3, corresponding to the third number in the sequence, that is
a_3.
Such progressions that begin with the common difference are known in
the literature as homogeneous arithmetic progressions, at least that
is my supposition. There is a homogeneous progression of common
difference 3, and length 17 in the natural numbers, by which I mean
N \ {0}. It conists of the 17 natural numbers:
3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60 .
This homogenous AP of natural numbers , as an indexing set for
the whole of a_1, a_2, ... a_60 leads us to consider the
subsequence of {a_1,a_2, ... a_60} :
a_3, a_6, a_9, a_12, ... a_60 of 17 numbers.
a_3 is -1, and the 16 other numbers in {a_3, a_6, ... a_20} are all +1.
This implies that:
(setting d:= 3 )
sum_{j=1, ... 17} a_{j*d} = 16 x (+1) + 1 x (-1) = 15.
This implies that the discrepancy 'D' of the length-60
sequence is at least 15. I believe that in fact D = 15.
If you get D=13, I suppose you could look at some of
Richard Tobin's posts, or look-up
Erdos Discrepancy Conjecture, or re-do the calculations.
> it computed D=2 for the first, and D=13 for the other.
[...]
David Bernier
--
pub 4096R/41C769D6 2014-11-04
uid David Bernier (doubledeckerpot5)
<david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-20 17:52 -0400 |
| Message-ID | <nho0ni$cc2$1@dont-email.me> |
| In reply to | #334391 |
On 05/20/2016 05:41 PM, David Bernier wrote:
> On 05/19/2016 12:17 AM, James Waldby wrote:
>> On Thu, 19 May 2016 00:11:49 +0000, Richard Tobin wrote:
>>> Richard Tobin ... wrote:
>>>
>>>> Ok, I see my mistake. I was using 1, 1+d, 1+2d, ... instead of d, 2d, ...
>>>
>>> After correcting my mistake:
>>>
>>> ++-+--+-++-+--++--+-++-+----++++--+-+-+-++-
>>>
>>> and
>>>
>>> ++-+--+-++-+--++--+-++-+----+-++-++-+-+-++--++---+-+-++-++-+---+--+-+++-+--+++--+--++--+++-+----++++
>>
>> Although I assume I misunderstood the formula and wrote a wrong program,
>> it does show D=2 for both those sequences.
>>
>> For your earlier sequences
>>
>> ++-+-+--+--++-+--++-++-+--+--++-++-+--++-+-
>>
>> and
>>
>> ++-+-+--+--++-+--++-++-+--+--++-+--+-+++-+--+--++-++--++-+-+
>
> For the length 60 sequence above, one can represent is using X's
> for + signs, and O's for minus signs. One can iclude periods to add
> space between two consecutive signs on the same line or row.
> One can reformat the 60 signs from all on one line to a 20x3 matrix
> type representation, at 20 rows of three signs each. For clarity, in
> the calculation of lower bounds for the 'D' of the sequence, one can
> display the 20x3 "matrix" in two blocks, separated by a blank line,
> which has the appearance of a 17x3 matrix in the first block, and
> a 3x3 matrix in the second block, like so:
>
> X...X...O
> X...O...X
> O...O...X
> O...O...X
> X...O...X
> O...O...X
> X...O...X
> X...O...X
> O...O...X
> O...O...X
> X...O...X
> O...O...X
> O...X...X
> X...O...X
> O...O...X
> O...O...X
> X...O...X
>
>
> X...O...O
> X...X...O
> X...O...X
>
> Supposing the sequence above is denoted by a_1, a_2, ... a_60.
>
> Then in total 20 arithmetic progressions of common difference 3
> need to be looked at to correctly estimate the "best" lower bounds
> to the 'D' of the sequence. The 20 progressions all begin with the
> index = 3, corresponding to the third number in the sequence, that is
> a_3.
>
> Such progressions that begin with the common difference are known in
> the literature as homogeneous arithmetic progressions, at least that
> is my supposition. There is a homogeneous progression of common
> difference 3, and length 17 in the natural numbers, by which I mean
> N \ {0}. It conists of the 17 natural numbers:
> 3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60 .
I should have written 3, 6, 9, ... 51 and omitted the last three
numbers I put down, i.e. 54, 57, 60.
> This homogenous AP of natural numbers , as an indexing set for
> the whole of a_1, a_2, ... a_60 leads us to consider the
> subsequence of {a_1,a_2, ... a_60} :
> a_3, a_6, a_9, a_12, ... a_60 of 17 numbers.
again, the last sequence member should be a_51.
>
> a_3 is -1, and the 16 other numbers in {a_3, a_6, ... a_20} are all +1.
above, it should be {a_3, a_6, ... a_51}.
>
> This implies that:
>
> (setting d:= 3 )
>
> sum_{j=1, ... 17} a_{j*d} = 16 x (+1) + 1 x (-1) = 15.
>
> This implies that the discrepancy 'D' of the length-60
> sequence is at least 15. I believe that in fact D = 15.
>
> If you get D=13, I suppose you could look at some of
> Richard Tobin's posts, or look-up
> Erdos Discrepancy Conjecture, or re-do the calculations.
>
>> it computed D=2 for the first, and D=13 for the other.
> [...]
>
> David Bernier
>
--
pub 4096R/41C769D6 2014-11-04
uid David Bernier (doubledeckerpot5)
<david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | James Waldby <not@valid.invalid> |
|---|---|
| Date | 2016-05-21 01:35 +0000 |
| Message-ID | <nhoe0h$ssl$2@dont-email.me> |
| In reply to | #334391 |
On Fri, 20 May 2016 17:41:25 -0400, David Bernier wrote: > On 05/19/2016 12:17 AM, James Waldby wrote: [snip] >> Although I assume I misunderstood the formula and wrote a wrong program, >> it does show D=2 for both those sequences. [snip] > For the length 60 sequence above, one can represent [snip] ... > Supposing the sequence above is denoted by a_1, a_2, ... a_60. > > Then in total 20 arithmetic progressions of common difference 3 > need to be looked at to correctly estimate the "best" lower bounds > to the 'D' of the sequence. The 20 progressions all begin with the > index = 3, corresponding to the third number in the sequence, that is > a_3. [snip] > This implies that the discrepancy 'D' of the length-60 > sequence is at least 15. I believe that in fact D = 15. After I understood the formula correctly, I had no trouble writing a program I think is correct. It computes D=15 for 60-sequence ++-+-+--+--++-+--++-++-+--+--++-+--+-+++-+--+--++-++--++-+-+, and D = 6, 3, 12 respectively for the 43-sequences +++++-+-+-+-+-++-+-+-+-+-+-+-+-+-----------, ++--+-++---+-+++-++---+-+---++--+--++-+++-+, and ++-+-+--+--++-+--++-++-+--+--++-++-+--++-+- . -- jiw
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-18 21:22 -0400 |
| Message-ID | <nhj49i$s2g$1@dont-email.me> |
| In reply to | #334278 |
On 05/18/2016 07:56 PM, Richard Tobin wrote:
> In article <nhivc7$2tmd$2@macpro.inf.ed.ac.uk>,
> Richard Tobin <richard@cogsci.ed.ac.uk> wrote:
>
>> Perhaps I am misunderstanding - the discrepancy there appears to be 5.
>>
>> d = 3, n = 5:
>>
>> {1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,-1,-1,-1}.
>> * * * * *
>
> Ok, I see my mistake. I was using 1, 1+d, 1+2d, ... instead of d, 2d, ...
>
> Ignore my other messages!
>
> -- Richard
>
My C program has finished exhaustive search for the 2^30
sequences of length 30, say
{s_1, ... s_30}.
I find a sequence with discrepancy D = 2, but nothing below 2:
discrepancy = 2, sequence is:
{1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,-1,-1,-1,-1}
which, hopefully, corresponds to:
+-++--++-+--+-+-++--++-+-+----
in the alternate representation ...
David
--
pub 4096R/41C769D6 2014-11-04
uid David Bernier (doubledeckerpot5)
<david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-18 20:54 -0400 |
| Message-ID | <nhj2m5$no6$1@dont-email.me> |
| In reply to | #334277 |
On 05/18/2016 07:54 PM, Richard Tobin wrote:
> In article <nhiud1$c7v$1@dont-email.me>,
> David Bernier <david250@videotron.ca> wrote:
>
>> Test sequence of length 29:
>>
>> discrepancy = 2,
>> sequence is:
>> {1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,-1,-1,-1}.
>
> Perhaps I am misunderstanding - the discrepancy there appears to be 5.
>
> d = 3, n = 5:
>
> {1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,-1,-1,-1}.
> * * * * *
>
> -- Richard
>
In the abstract, Tao refers to a sequence f(1), f(2), f(3) on to
infinity.
At Wikipedia, it also appears to me that Erdos formulated
the problem with "index 1" notation, so for example if d = 3
and n = 5, one would compute:
| f(3) + f(6) + f(9) + f(12) + f(15) | .
P.S. and initial term is indexed by 1 .
cf.:
<
https://en.wikipedia.org/wiki/%C2%B11-sequence#Erd.C5.91s_discrepancy_problem
> .
Perhaps you are using so-called "index 0" notation,
thus evalating:
| f(0) + f(3) + f(6) + f(9) + f(12) | (***)
interpreting in "index 0" notation, so
speaking of {t_0, ... t_28} of length 29,
I get (***) to be 5, the same of you.
It's my guess that you're probably using "index 0"
notation, where the initial term is t_0 or s_0, etc. ...
David
--
pub 4096R/41C769D6 2014-11-04
uid David Bernier (doubledeckerpot5)
<david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-18 20:21 -0400 |
| Message-ID | <nhj0nn$ip3$1@dont-email.me> |
| In reply to | #334275 |
On 05/18/2016 07:41 PM, David Bernier wrote:
> On 05/18/2016 06:52 PM, Richard Tobin wrote:
>> In article <nhir0h$264$1@dont-email.me>,
>> David Bernier <david250@videotron.ca> wrote:
>>>>>> What I've looked at numerically is for low-discrepancy
>>>>>> sequences of length 43 taking values in {-1, 1} .
>>
>> [...]
>>
>> Can you confirm that the discrepancy for this length-38 sequence is 2?
>>
>> ++-+-+--+--++-+--++-++-+--+--++-++-+-+
I arrange the +1's and -1's , represented as + and -, in
rows of 3, because for d = 3, there are arithmetic progressions
with larger sums than 2 in absolute value, according to
PARI/gp:
(Rows of 3 , except last):
++-
+-+
--+
--+
+-+
--+
+-+
+-+
--+
--+
+-+
+-+
-+
So from s_1, ... s_38 we extract
{s_3, s_6, s_9, ...., s_36}
of length 12 giving:
{-1,1,1,1,1,1,1,1,1,1,1,1} .
Then | s_3 + s_6 + s_9 + s_12 + s_15 + ... s_{3*12} |
= | -1 + 11 | = 10.
This means the discrepancy, as defined earlier, is 10 or more.
The PARI/gp code gives D = 10 as the discrepancy for the
length-38 sequence.
Even in C, testing all possible/admissible aritmetic progressions
is rather time-consuming, and I'm planning exhaustive search
for sequences of length close to 29, for now.
David Bernier
> Test sequence of length 29:
>
> discrepancy = 2,
> sequence is:
> {1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,-1,-1,-1}.
--
pub 4096R/41C769D6 2014-11-04
uid David Bernier (doubledeckerpot5)
<david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-18 17:57 -0400 |
| Message-ID | <nhio9f$kvf$1@dont-email.me> |
| In reply to | #334270 |
On 05/18/2016 04:18 PM, David Bernier wrote:
> On 05/18/2016 03:30 PM, David Bernier wrote:
>> In late 2015, Terence Tao posted a preprint to arXiv announcing the
>> solution of the Erdos discrepancy problem, unsolved for decades.
>>
>> It's now been electronically published in "Discrete Analysis",
>> a new kind of peer-reviewed "list" of arxiv pre-prints,
>> and whose home page is the following:
>>
>> < http://discreteanalysisjournal.com/ > .
>>
>> The arXiv link to Tao's pre-print is this:
>> < http://arxiv.org/abs/1509.05363v5 > .
>>
>> Tao uses 'd' for the common difference in arithmetic progressions,
>> and 'n' for the length of an arithmetic progression.
>>
>> As can be seen from the abstract, the only aritmetic progressions
>> involved, for a fixed value of the common difference 'd', all begin
>> with d.
>>
>> Hence, the length 'n' arithmetic progression of common difference 'd'
>> starting with the term 'd' is the following:
>>
>> { d, 2d, 3d, ..... n*d }
>>
>> where we use braces to enclose the finite arithmetic
>> progression, for convenience.
>>
>> The statement of Tao's main theorem , solving the Erdos problem,
>>
>> is this:
>>
>> if f: N^* -> {-1, 1} is
>> an infinite sequence taking values in the set {-1, 1}, and
>> indexed by the positive integers 1, 2, 3, .... or in other
>> words N^*, then:
>>
>> sup_{1<= d < OO, 1<= n < oo} [ | sum_{j=1 .... n} f(j*d) | ] = oo .
>>
>> This means that for every such f, as vary n and d over the allowed
>> values in the parameter space, the quantities
>> Absolute_Value( sum_{j=1, ... n} ( f(j*d) ) )
>> are unbounded, whatever 'f' may be.
>>
>> ===
>>
>> What I've looked at numerically is for low-discrepancy
>> sequences of length 43 taking values in {-1, 1} .
>> If {s_1, s_2, .... s_43} is a finite sequence of
>> length 43 taking values in {-1, 1}, then I define
>> the discrepancy D of {s_1, s_2, .... s_43} as follows:
>>
>> D = max_{(d,n) in N*xN* s.t. dn <= 43} continued...
>> { |sum_{j=1,...n} s_{j*d}| } .
>>
>> For d = 1, n can vary from 1 to 43.
>> For d = 2, n can vary from 1 to 21.
>> For d = 3, n can vary from 1 to 14.
>> For d = 4, n can vary from 1 to 10.
>> For d = 5, n can vary from 1 to 8.
>> For d = 6, n can vary from 1 to 7.
>> For d = 7, n can vary from 1 to 6.
>> For d = 8, n can vary from 1 to 5.
>> For d = 9, n can vary from 1 to 4.
>> For d = 10, n can vary from 1 to 4.
>> ...
>> For d = 43, n can only take the value 1, so as to respect n*d <= 43.
>>
>> The idea of the discrepancy D is, for each of those
>> finite A.P.'s mentioned above, to look at absolute values
>> of s_d + s_{2d} + ... s_{nd}, and to see how large
>> the maximum of the absolute values is.
>>
>> 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.
>>
>> My program says that D = 6 is possible with the special
>> case:
>> {s_1, s_2, .... s_43} =
>>
>> { 1, 1, 1, 1, 1, -1,
>> 1, -1, 1, -1, 1, -1,
>> 1, -1, 1, 1, -1, 1,
>> -1, 1, -1, 1, -1, 1,
>> -1, 1, -1, 1, -1, 1,
>> -1, 1, -1, -1, -1, -1,
>> -1, -1, -1, -1, -1, -1,
>> -1 }
>>
>> As that is perhaps liable to confuse, I'll rewrite it as symbols + and
>> -, standing in for +1 and -1:
>>
>> +++++-
>> +-+-+-
>> +-++-+
>> -+-+-+
>> -+-+-+
>> -+----
>> ------
>> -
>>
>> or on a single line:
>>
>> +++++-+-+-+-+-++-+-+-+-+-+-+-+-+-----------
>>
>> My program hasn't finished examining all possible
>> 2^43 sequences of +1 or -1. Secondly, I had to
>> eliminate bugs for hours before I got a program that
>> appeared to be finding low-discrepancy finite sequences
>> of length 43.
>>
>> In particular, I haven't checked by myself the
>> disrepancy D = 6 that the program finds for the
>> length 43 sequence mentioned above.
>
> PARI/gp also gave D = 6.
>
> It seems I can find, using pseudo-random sequences,
> finite sequences of discrepancy D = 3, in PARI/gp.
For the following length-43 sequence of +1's and -1's :
++--+-++---+-+++-++---+-+---++--+--++-+++-+
I checked the discrepancy D both using PARI/gp
and by hand.
In both cases, I get a discrepancy D of D = 3.
When checking by hand, I checked only the common
difference values 'd' from 1 to 10 inclusive.
Once we have d = 11, the A.P's would be at the
longest: 11, 22, 33 [ because 4*11 = 44 > 43 ].
So we already know the sums will vary from -3 to +3.
Similarly, d = 12 to 43 do not need checking.
Is a discrepancy D of D <= 2 possible for
finite sequences of length 43?
I don't know. If there are any, they are rathere rare.
David Bernier
> That's the lowest Discrepancy so far, for length 43 sequences.
>
>
>
>>
>> David Bernier
>>
>> P.S. Maybe someone has references on studies
>> of finite length low-discrepancy sequences ?
>>
>
>
--
pub 4096R/41C769D6 2014-11-04
uid David Bernier (doubledeckerpot5)
<david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | richard@cogsci.ed.ac.uk (Richard Tobin) |
|---|---|
| Date | 2016-05-18 23:44 +0000 |
| Message-ID | <nhiuog$2tmd$1@macpro.inf.ed.ac.uk> |
| In reply to | #334272 |
In article <nhio9f$kvf$1@dont-email.me>, David Bernier <david250@videotron.ca> wrote: >Is a discrepancy D of D <= 2 possible for >finite sequences of length 43? ++-+-+--+--++-+--++-++-+--+--++-++-+--++-+- Also: ++-+-+--+--++-+--++-++-+--+--++-+--+-+++-+--+--++-++--++-+-+ -- Richard
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-19 00:03 -0400 |
| Message-ID | <nhjdnm$hu2$1@dont-email.me> |
| In reply to | #334276 |
On 05/18/2016 07:44 PM, Richard Tobin wrote:
> In article <nhio9f$kvf$1@dont-email.me>,
> David Bernier <david250@videotron.ca> wrote:
>
>> Is a discrepancy D of D <= 2 possible for
>> finite sequences of length 43?
>
> ++-+-+--+--++-+--++-++-+--+--++-++-+--++-+-
>
> Also:
>
> ++-+-+--+--++-+--++-++-+--+--++-+--+-+++-+--+--++-++--++-+-+
For the sequence above of length 60, I find a discrepancy D=15.
Also, denoting the sequence by s_1, s_2, ... s_60 , one has:
sum(j=1... 20) s_{3j} = 14 .
++- ( -1 )
+-+ ( 0 )
--+ ( 1 )
--+ ( 2 )
+-+ ( 3 )
--+ ( 4 )
+-+ ( 5 )
+-+ ( 6 )
--+ ( 7 )
--+ ( 8 )
+-+ ( 9 )
--+ ( 10 )
-++ ( 11 )
+-+ ( 12 )
--+ ( 13 )
--+ ( 14 )
+-+ ( 15 )
+-- ( 14 )
++- ( 13 )
+-+ ( 14 )
David
--
pub 4096R/41C769D6 2014-11-04
uid David Bernier (doubledeckerpot5)
<david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2016-05-19 01:02 +0100 |
| Message-ID | <87a8jmx6cl.fsf@bsb.me.uk> |
| In reply to | #334272 |
David Bernier <david250@videotron.ca> writes:
> On 05/18/2016 04:18 PM, David Bernier wrote:
>> On 05/18/2016 03:30 PM, David Bernier wrote:
<snip>
>>> The statement of Tao's main theorem , solving the Erdos problem,
>>>
>>> is this:
>>>
>>> if f: N^* -> {-1, 1} is
>>> an infinite sequence taking values in the set {-1, 1}, and
>>> indexed by the positive integers 1, 2, 3, .... or in other
>>> words N^*, then:
>>>
>>> sup_{1<= d < OO, 1<= n < oo} [ | sum_{j=1 .... n} f(j*d) | ] = oo .
>>>
>>> This means that for every such f, as vary n and d over the allowed
>>> values in the parameter space, the quantities
>>> Absolute_Value( sum_{j=1, ... n} ( f(j*d) ) )
>>> are unbounded, whatever 'f' may be.
>>>
>>> ===
>>>
>>> What I've looked at numerically is for low-discrepancy
>>> sequences of length 43 taking values in {-1, 1} .
>>> If {s_1, s_2, .... s_43} is a finite sequence of
>>> length 43 taking values in {-1, 1}, then I define
>>> the discrepancy D of {s_1, s_2, .... s_43} as follows:
>>>
>>> D = max_{(d,n) in N*xN* s.t. dn <= 43} continued...
>>> { |sum_{j=1,...n} s_{j*d}| } .
<snip>
>> It seems I can find, using pseudo-random sequences,
>> finite sequences of discrepancy D = 3, in PARI/gp.
>
> For the following length-43 sequence of +1's and -1's :
>
> ++--+-++---+-+++-++---+-+---++--+--++-+++-+
>
> I checked the discrepancy D both using PARI/gp
> and by hand.
>
> In both cases, I get a discrepancy D of D = 3.
>
> When checking by hand, I checked only the common
> difference values 'd' from 1 to 10 inclusive.
>
> Once we have d = 11, the A.P's would be at the
> longest: 11, 22, 33 [ because 4*11 = 44 > 43 ].
>
> So we already know the sums will vary from -3 to +3.
> Similarly, d = 12 to 43 do not need checking.
>
> Is a discrepancy D of D <= 2 possible for
> finite sequences of length 43?
>
> I don't know. If there are any, they are rathere rare.
Have I understood the problem:
+-+---++-+--++++-++---+-+---++--+--+-+++-++
?
--
Ben.
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-18 22:12 -0400 |
| Message-ID | <nhj778$1j2$1@dont-email.me> |
| In reply to | #334279 |
On 05/18/2016 08:02 PM, Ben Bacarisse wrote:
> David Bernier <david250@videotron.ca> writes:
>
>> On 05/18/2016 04:18 PM, David Bernier wrote:
>>> On 05/18/2016 03:30 PM, David Bernier wrote:
> <snip>
>>>> The statement of Tao's main theorem , solving the Erdos problem,
>>>>
>>>> is this:
>>>>
>>>> if f: N^* -> {-1, 1} is
>>>> an infinite sequence taking values in the set {-1, 1}, and
>>>> indexed by the positive integers 1, 2, 3, .... or in other
>>>> words N^*, then:
>>>>
>>>> sup_{1<= d < OO, 1<= n < oo} [ | sum_{j=1 .... n} f(j*d) | ] = oo .
>>>>
>>>> This means that for every such f, as vary n and d over the allowed
>>>> values in the parameter space, the quantities
>>>> Absolute_Value( sum_{j=1, ... n} ( f(j*d) ) )
>>>> are unbounded, whatever 'f' may be.
>>>>
>>>> ===
>>>>
>>>> What I've looked at numerically is for low-discrepancy
>>>> sequences of length 43 taking values in {-1, 1} .
>>>> If {s_1, s_2, .... s_43} is a finite sequence of
>>>> length 43 taking values in {-1, 1}, then I define
>>>> the discrepancy D of {s_1, s_2, .... s_43} as follows:
>>>>
>>>> D = max_{(d,n) in N*xN* s.t. dn <= 43} continued...
>>>> { |sum_{j=1,...n} s_{j*d}| } .
> <snip>
>>> It seems I can find, using pseudo-random sequences,
>>> finite sequences of discrepancy D = 3, in PARI/gp.
>>
>> For the following length-43 sequence of +1's and -1's :
>>
>> ++--+-++---+-+++-++---+-+---++--+--++-+++-+
>>
>> I checked the discrepancy D both using PARI/gp
>> and by hand.
>>
>> In both cases, I get a discrepancy D of D = 3.
>>
>> When checking by hand, I checked only the common
>> difference values 'd' from 1 to 10 inclusive.
>>
>> Once we have d = 11, the A.P's would be at the
>> longest: 11, 22, 33 [ because 4*11 = 44 > 43 ].
>>
>> So we already know the sums will vary from -3 to +3.
>> Similarly, d = 12 to 43 do not need checking.
>>
>> Is a discrepancy D of D <= 2 possible for
>> finite sequences of length 43?
>>
>> I don't know. If there are any, they are rathere rare.
>
> Have I understood the problem:
>
> +-+---++-+--++++-++---+-+---++--+--+-+++-++
>
> ?
>
I can't say for sure. In practice, it took me at least 4 hours
to get a reliable program, if not more.
So, I'd say it's easy to make mistakes.
If I put the first 34 signs in rows of 2, left to right, then
going downwards, I get the graphical representation:
+-
+-
--
++
-+
--
++
++
-+
+-
--
+-
+-
--
++
--
+-
for the initial 34 +1's and -1's (or +'s and -'s).
Also, I skipped a line after every 10 numbers.
The second column contains
s_2, s_4, s_6, s_8, s_10, s_12, s_14, s_16, s_18, s_20, s_22, s_24,
s_26, s_28, s_30, s_32, s_34
for a total of 17 numbers, each being +/- 1.
Looking at the second column, which represents the 17
numbers in the progression with d=2 starting at index=2 ,
up to index = 34,
we have 11 '-' signs and 6 '+' signs.
This means the sum:
s_2 + s_4 + s_6 + s_8 + ... + s_32 + s_34
of 17 numbers in an AP of common difference d=2
has a sum total of 6-11 = -5. So, in
absolute value, this gives 5.
It means , because one absolute value is 5 for
one of many AP's used to index the sequence you gave,
that the discrepancy D has to be 5 or more ...
David
--
pub 4096R/41C769D6 2014-11-04
uid David Bernier (doubledeckerpot5)
<david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2016-05-19 01:59 +0100 |
| Message-ID | <871t4yx3pq.fsf@bsb.me.uk> |
| In reply to | #334270 |
David Bernier <david250@videotron.ca> writes: <snip> > It seems I can find, using pseudo-random sequences, > finite sequences of discrepancy D = 3, in PARI/gp. > > That's the lowest Discrepancy so far, for length 43 sequences. I've got lots of 2s but also +-+++-+---++-+-+------+-+++--+--++-+++-+++- ---+-+---++-++++++--+--++-+++-+-+---++-+--+ ---+-+---++-+++-++--+--++-+++-+++---++-+--+ ++--+--++--+-+---++-+++-+--+++-+++--+-++--- ---+-+---++-+++-++--+--++-+++-+++---++-+--+ -+++-+---++-+++-+---++-+--+---++--++++-++-- ---+-+---++-+++-+--++--+-++-+-+++-++++--+-- which, if the program is correct, have discrepancy 1. <snip> -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-18 23:18 -0400 |
| Message-ID | <nhjb31$bsf$1@dont-email.me> |
| In reply to | #334286 |
On 05/18/2016 08:59 PM, Ben Bacarisse wrote: > David Bernier <david250@videotron.ca> writes: > <snip> >> It seems I can find, using pseudo-random sequences, >> finite sequences of discrepancy D = 3, in PARI/gp. >> >> That's the lowest Discrepancy so far, for length 43 sequences. > > I've got lots of 2s but also > > +-+++-+---++-+-+------+-+++--+--++-+++-+++- > ---+-+---++-++++++--+--++-+++-+-+---++-+--+ > ---+-+---++-+++-++--+--++-+++-+++---++-+--+ > ++--+--++--+-+---++-+++-+--+++-+++--+-++--- > ---+-+---++-+++-++--+--++-+++-+++---++-+--+ > -+++-+---++-+++-+---++-+--+---++--++++-++-- > ---+-+---++-+++-+--++--+-++-+-+++-++++--+-- > > which, if the program is correct, have discrepancy 1. > > <snip> > For length 31 sequences, my C program found no sequence of +1's and -1's, of length 31, with a discrepancy D < 2, i.e. none with D = 1. The program, if it's working correctly, did an exhaustive search on 2^31 sequences. I might test them later in PARI/gp to see what it says for the sequences above, in terms of discrepancy. Quite often, I've found that checking visually for d (common difference) d = 1, 2, 3, 4 i.e. for d=1, the 43 partial sums, helps to debug a buggy program, and helps intuition. David -- pub 4096R/41C769D6 2014-11-04 uid David Bernier (doubledeckerpot5) <david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2016-05-19 10:58 +0100 |
| Message-ID | <87oa82v06i.fsf@bsb.me.uk> |
| In reply to | #334301 |
David Bernier <david250@videotron.ca> writes: > On 05/18/2016 08:59 PM, Ben Bacarisse wrote: >> David Bernier <david250@videotron.ca> writes: >> <snip> >>> It seems I can find, using pseudo-random sequences, >>> finite sequences of discrepancy D = 3, in PARI/gp. >>> >>> That's the lowest Discrepancy so far, for length 43 sequences. >> >> I've got lots of 2s but also >> >> +-+++-+---++-+-+------+-+++--+--++-+++-+++- >> ---+-+---++-++++++--+--++-+++-+-+---++-+--+ >> ---+-+---++-+++-++--+--++-+++-+++---++-+--+ >> ++--+--++--+-+---++-+++-+--+++-+++--+-++--- >> ---+-+---++-+++-++--+--++-+++-+++---++-+--+ >> -+++-+---++-+++-+---++-+--+---++--++++-++-- >> ---+-+---++-+++-+--++--+-++-+-+++-++++--+-- >> >> which, if the program is correct, have discrepancy 1. >> >> <snip> > > For length 31 sequences, my C program found no sequence > of +1's and -1's, of length 31, with a discrepancy > D < 2, i.e. none with D = 1. > > The program, if it's working correctly, did an exhaustive > search on 2^31 sequences. > > I might test them later in PARI/gp to see what it says > for the sequences above, in terms of discrepancy. > > Quite often, I've found that checking visually > for d (common difference) d = 1, 2, 3, 4 > i.e. for d=1, the 43 partial sums, helps > to debug a buggy program, and helps intuition. I don't think the program is buggy, I think I've just misunderstood the problem. I've been considering only the maximal-length sequences when the specification clearly includes all (d,n) pairs. For some reason I took the d*n <= n to mean "equal or only just less than". -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-19 06:14 -0400 |
| Message-ID | <nhk3fu$jkm$1@dont-email.me> |
| In reply to | #334315 |
On 05/19/2016 05:58 AM, Ben Bacarisse wrote: > David Bernier <david250@videotron.ca> writes: > >> On 05/18/2016 08:59 PM, Ben Bacarisse wrote: >>> David Bernier <david250@videotron.ca> writes: >>> <snip> >>>> It seems I can find, using pseudo-random sequences, >>>> finite sequences of discrepancy D = 3, in PARI/gp. >>>> >>>> That's the lowest Discrepancy so far, for length 43 sequences. >>> >>> I've got lots of 2s but also >>> >>> +-+++-+---++-+-+------+-+++--+--++-+++-+++- >>> ---+-+---++-++++++--+--++-+++-+-+---++-+--+ >>> ---+-+---++-+++-++--+--++-+++-+++---++-+--+ >>> ++--+--++--+-+---++-+++-+--+++-+++--+-++--- >>> ---+-+---++-+++-++--+--++-+++-+++---++-+--+ >>> -+++-+---++-+++-+---++-+--+---++--++++-++-- >>> ---+-+---++-+++-+--++--+-++-+-+++-++++--+-- >>> >>> which, if the program is correct, have discrepancy 1. >>> >>> <snip> >> >> For length 31 sequences, my C program found no sequence >> of +1's and -1's, of length 31, with a discrepancy >> D < 2, i.e. none with D = 1. >> >> The program, if it's working correctly, did an exhaustive >> search on 2^31 sequences. >> >> I might test them later in PARI/gp to see what it says >> for the sequences above, in terms of discrepancy. >> >> Quite often, I've found that checking visually >> for d (common difference) d = 1, 2, 3, 4 >> i.e. for d=1, the 43 partial sums, helps >> to debug a buggy program, and helps intuition. > > I don't think the program is buggy, I think I've just misunderstood > the problem. I've been considering only the maximal-length sequences > when the specification clearly includes all (d,n) pairs. For some > reason I took the d*n <= n to mean "equal or only just less than". > Right, by including shorter than maximal length progressions with common difference 1 or 2 for example, then there are more absolute values of sums , than with "quasi-maximal" length progressions... David Bernier -- pub 4096R/41C769D6 2014-11-04 uid David Bernier (doubledeckerpot5) <david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2016-05-19 13:56 +0100 |
| Message-ID | <87inyaury6.fsf@bsb.me.uk> |
| In reply to | #334317 |
David Bernier <david250@videotron.ca> writes: > On 05/19/2016 05:58 AM, Ben Bacarisse wrote: >> David Bernier <david250@videotron.ca> writes: <snip> >>> For length 31 sequences, my C program found no sequence >>> of +1's and -1's, of length 31, with a discrepancy >>> D < 2, i.e. none with D = 1. >>> >>> The program, if it's working correctly, did an exhaustive >>> search on 2^31 sequences. >>> >>> I might test them later in PARI/gp to see what it says >>> for the sequences above, in terms of discrepancy. >>> >>> Quite often, I've found that checking visually >>> for d (common difference) d = 1, 2, 3, 4 >>> i.e. for d=1, the 43 partial sums, helps >>> to debug a buggy program, and helps intuition. >> >> I don't think the program is buggy, I think I've just misunderstood >> the problem. I've been considering only the maximal-length sequences >> when the specification clearly includes all (d,n) pairs. For some >> reason I took the d*n <= n to mean "equal or only just less than". >> > > Right, by including shorter than maximal length progressions > with common difference 1 or 2 for example, then there are > more absolute values of sums , than with "quasi-maximal" > length progressions... If I've now understood the problem, it's easy to see that there can't be any sequences with D<2 longer than 3. For D=1 the +1 and -1 must alternate and so at length 4 s_2+s_4 must be +2 or -2. Alternatively, since a longer sequence can't have a lower discrepancy than any prefix of it, you just have to show that D>1 for all 16 length 4 sequences. -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | richard@cogsci.ed.ac.uk (Richard Tobin) |
|---|---|
| Date | 2016-05-19 13:00 +0000 |
| Message-ID | <nhkdd6$m8d$1@macpro.inf.ed.ac.uk> |
| In reply to | #334323 |
In article <87inyaury6.fsf@bsb.me.uk>, Ben Bacarisse <ben.usenet@bsb.me.uk> wrote: >If I've now understood the problem, it's easy to see that there can't be >any sequences with D<2 longer than 3. For D=1 the +1 and -1 must >alternate and so at length 4 s_2+s_4 must be +2 or -2. No, you can have +1 -1 -1 +1. -- Richard
[toc] | [prev] | [next] | [standalone]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Date | 2016-05-19 09:52 -0400 |
| Message-ID | <nhkg8b$4bq$1@dont-email.me> |
| In reply to | #334323 |
On 05/19/2016 08:56 AM, Ben Bacarisse wrote: > David Bernier <david250@videotron.ca> writes: > >> On 05/19/2016 05:58 AM, Ben Bacarisse wrote: >>> David Bernier <david250@videotron.ca> writes: > <snip> >>>> For length 31 sequences, my C program found no sequence >>>> of +1's and -1's, of length 31, with a discrepancy >>>> D < 2, i.e. none with D = 1. >>>> >>>> The program, if it's working correctly, did an exhaustive >>>> search on 2^31 sequences. >>>> >>>> I might test them later in PARI/gp to see what it says >>>> for the sequences above, in terms of discrepancy. >>>> >>>> Quite often, I've found that checking visually >>>> for d (common difference) d = 1, 2, 3, 4 >>>> i.e. for d=1, the 43 partial sums, helps >>>> to debug a buggy program, and helps intuition. >>> >>> I don't think the program is buggy, I think I've just misunderstood >>> the problem. I've been considering only the maximal-length sequences >>> when the specification clearly includes all (d,n) pairs. For some >>> reason I took the d*n <= n to mean "equal or only just less than". >>> >> >> Right, by including shorter than maximal length progressions >> with common difference 1 or 2 for example, then there are >> more absolute values of sums , than with "quasi-maximal" >> length progressions... > > If I've now understood the problem, it's easy to see that there can't be > any sequences with D<2 longer than 3. For D=1 the +1 and -1 must > alternate and so at length 4 s_2+s_4 must be +2 or -2. Alternatively, > since a longer sequence can't have a lower discrepancy than any prefix > of it, you just have to show that D>1 for all 16 length 4 sequences. > I think you made a logic error in saying: " For D=1 the +1 and -1 must alternate " Let's say by alternating you meant either (a) +1, -1, +1, -1 or (b) -1, +1, -1, +1 To preserve discrepancy D=1, +1, -1, -1, +1 (length = 4) (***) also works. The partial sums for d=1 of (***) are: +1, 0, -1, 0 and for d = 2 they are: -1, 0 . In absolute value, the partial sums are always <= 1. David -- pub 4096R/41C769D6 2014-11-04 uid David Bernier (doubledeckerpot5) <david250@videotron.ca>
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2016-05-19 21:31 +0100 |
| Message-ID | <87d1ohvlga.fsf@bsb.me.uk> |
| In reply to | #334334 |
David Bernier <david250@videotron.ca> writes: > On 05/19/2016 08:56 AM, Ben Bacarisse wrote: <snip> >> If I've now understood the problem, it's easy to see that there can't be >> any sequences with D<2 longer than 3. For D=1 the +1 and -1 must >> alternate and so at length 4 s_2+s_4 must be +2 or -2. Alternatively, >> since a longer sequence can't have a lower discrepancy than any prefix >> of it, you just have to show that D>1 for all 16 length 4 sequences. >> > > I think you made a logic error in saying: > " For D=1 the +1 and -1 must alternate " Yes, I did -- and I realised I had in the car minutes after hitting send but I could not post again until now. I need to think a bit more before posting! <snip> -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | richard@cogsci.ed.ac.uk (Richard Tobin) |
|---|---|
| Date | 2016-05-19 07:54 +0000 |
| Message-ID | <nhjrgc$cck$1@macpro.inf.ed.ac.uk> |
| In reply to | #334286 |
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. -- Richard
[toc] | [prev] | [next] | [standalone]
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
Back to top | Article view | sci.math
csiph-web