Path: csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: sci.math Subject: Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Date: Thu, 19 May 2016 13:56:33 +0100 Organization: A noiseless patient Spider Lines: 39 Message-ID: <87inyaury6.fsf@bsb.me.uk> References: <871t4yx3pq.fsf@bsb.me.uk> <87oa82v06i.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="23753"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18971+cmGUdvAsc3w+PP+s8+T15qs7ug4U=" Cancel-Lock: sha1:jtXLz5WhaXVcii+Ur/7tmysZ++k= sha1:n3V7SKLaacR8+VynPlcmMyCQme8= X-BSB-Auth: 1.051e3f09cd530df4be54.20160519135633BST.87inyaury6.fsf@bsb.me.uk Xref: csiph.com sci.math:334323 David Bernier writes: > On 05/19/2016 05:58 AM, Ben Bacarisse wrote: >> David Bernier writes: >>> 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.