Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | David Bernier <david250@videotron.ca> |
|---|---|
| Newsgroups | sci.math |
| Subject | Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 |
| Date | 2016-05-23 18:29 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ni001b$tv2$1@dont-email.me> (permalink) |
| References | (2 earlier) <nhq6eg$204$1@dont-email.me> <nhtanm$73b$1@dont-email.me> <nhtt3c$ldi$1@dont-email.me> <nhtvai$qho$1@dont-email.me> <nhum82$rku$1@dont-email.me> |
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>
Back to sci.math | Previous | Next — Previous in thread | Find similar | Unroll thread
About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 15:30 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 16:18 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 20:46 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 18:43 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 22:52 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 19:41 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 23:54 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 23:56 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 00:11 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 23:06 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 02:38 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-20 08:03 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 05:17 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-20 09:39 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 05:48 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-21 04:01 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-21 05:11 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-21 09:39 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-21 06:58 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 James Waldby <not@valid.invalid> - 2016-05-19 04:17 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 17:41 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-20 17:52 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 James Waldby <not@valid.invalid> - 2016-05-21 01:35 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 21:22 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 20:54 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 20:21 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 17:57 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-18 23:44 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 00:03 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 01:02 +0100
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 22:12 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 01:59 +0100
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 23:18 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 10:58 +0100
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 06:14 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 13:56 +0100
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 13:00 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 09:52 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-19 21:31 +0100
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 07:54 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 09:44 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-19 00:30 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-18 23:07 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 01:42 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 03:02 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 04:02 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 06:25 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 07:33 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 09:18 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 09:43 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-19 10:15 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 richard@cogsci.ed.ac.uk (Richard Tobin) - 2016-05-21 15:07 +0000
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-21 13:42 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-22 18:13 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-22 23:26 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-23 00:04 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-23 06:36 -0400
Re: About low-discrepancy finite sequences {a_1, a_2, .... a_M} for M = 43 David Bernier <david250@videotron.ca> - 2016-05-23 18:29 -0400
csiph-web