<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: EDP6 &#8212; what are the chances of success?</title>
	<atom:link href="http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/feed/" rel="self" type="application/rss+xml" />
	<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/</link>
	<description>Mathematics related discussions</description>
	<lastBuildDate>Thu, 23 May 2013 10:26:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6012</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Tue, 09 Feb 2010 10:11:46 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6012</guid>
		<description><![CDATA[I&#039;m not sure I agree that that log-against-log plot is good news. It looks to me as though it is growing roughly linearly -- I don&#039;t see any sign of the gradient levelling off. It still looks like $latex n^{1/4}$ growth, but perhaps the picture will change when there&#039;s more data.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I agree that that log-against-log plot is good news. It looks to me as though it is growing roughly linearly &#8212; I don&#8217;t see any sign of the gradient levelling off. It still looks like <img src='http://s0.wp.com/latex.php?latex=n%5E%7B1%2F4%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n^{1/4}' title='n^{1/4}' class='latex' /> growth, but perhaps the picture will change when there&#8217;s more data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Martin</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6011</link>
		<dc:creator><![CDATA[Ian Martin]]></dc:creator>
		<pubDate>Tue, 09 Feb 2010 10:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6011</guid>
		<description><![CDATA[By the way, the hand calculations I posted earlier were almost right, though there was one mistake (a prime unnecessarily assigned +1) towards the very end.]]></description>
		<content:encoded><![CDATA[<p>By the way, the hand calculations I posted earlier were almost right, though there was one mistake (a prime unnecessarily assigned +1) towards the very end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Martin</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6010</link>
		<dc:creator><![CDATA[Ian Martin]]></dc:creator>
		<pubDate>Tue, 09 Feb 2010 09:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6010</guid>
		<description><![CDATA[&lt;a href=&quot;http://www.stanford.edu/~iwrm/positiveloglog.png&quot; rel=&quot;nofollow&quot;&gt;Here you are&lt;/a&gt;.  Looks like potentially good news ....  I&#039;ll set my computer calculating overnight and hope for a more conclusive plot tomorrow.]]></description>
		<content:encoded><![CDATA[<p><a href="http://www.stanford.edu/~iwrm/positiveloglog.png" rel="nofollow">Here you are</a>.  Looks like potentially good news &#8230;.  I&#8217;ll set my computer calculating overnight and hope for a more conclusive plot tomorrow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6009</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Tue, 09 Feb 2010 09:31:08 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6009</guid>
		<description><![CDATA[As usual I&#039;m fascinated every time I see one of these plots. For the function to be an interesting one theoretically, we&#039;d like the growth to be subexponential as a function of $latex \log n$ (so that it&#039;s subpolynomial as a function of $latex n$). At the moment, it&#039;s not terribly clear: it looks to me as though it could be exponential, but it could also be quadratic. It might be clearer if one plotted both axes on a logarithmic scale, since then the question would be whether the underlying curve is concave (good news) or not concave (bad news). I&#039;m feeling a little pessimistic though: it looks as though a typical value of the partial sum up to $latex n$ is about $latex n^{1/4}$.]]></description>
		<content:encoded><![CDATA[<p>As usual I&#8217;m fascinated every time I see one of these plots. For the function to be an interesting one theoretically, we&#8217;d like the growth to be subexponential as a function of <img src='http://s0.wp.com/latex.php?latex=%5Clog+n&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;log n' title='&#92;log n' class='latex' /> (so that it&#8217;s subpolynomial as a function of <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n' title='n' class='latex' />). At the moment, it&#8217;s not terribly clear: it looks to me as though it could be exponential, but it could also be quadratic. It might be clearer if one plotted both axes on a logarithmic scale, since then the question would be whether the underlying curve is concave (good news) or not concave (bad news). I&#8217;m feeling a little pessimistic though: it looks as though a typical value of the partial sum up to <img src='http://s0.wp.com/latex.php?latex=n&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n' title='n' class='latex' /> is about <img src='http://s0.wp.com/latex.php?latex=n%5E%7B1%2F4%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n^{1/4}' title='n^{1/4}' class='latex' />.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Martin</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6008</link>
		<dc:creator><![CDATA[Ian Martin]]></dc:creator>
		<pubDate>Tue, 09 Feb 2010 08:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6008</guid>
		<description><![CDATA[Here&#039;s a &lt;a href=&quot;http://www.stanford.edu/~iwrm/positive.png&quot; rel=&quot;nofollow&quot;&gt;plot&lt;/a&gt; of what the algorithm generates up to 40,000 or so.  (If you extend the plot to the right by a thousand or so, setting all primes to +1, then the sequence heads reassuringly upwards, so I don&#039;t think there are lookahead issues.)]]></description>
		<content:encoded><![CDATA[<p>Here&#8217;s a <a href="http://www.stanford.edu/~iwrm/positive.png" rel="nofollow">plot</a> of what the algorithm generates up to 40,000 or so.  (If you extend the plot to the right by a thousand or so, setting all primes to +1, then the sequence heads reassuringly upwards, so I don&#8217;t think there are lookahead issues.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6007</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Tue, 09 Feb 2010 08:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6007</guid>
		<description><![CDATA[I see. I think that gives the same output as the less greedy algorithm I suggested. And it may well be that if only a limited amount of backtracking is needed then the looking forward that I suggested would not save time.

I think the output of this algorithm is the first sequence in the lexicographical order (counting -1 as earlier in the alphabet than 1) with all its partial sums non-negative. So there is a certain greedy flavour to it (in the sense that each time a new prime p comes along, it will set f(p)=-1 unless that is provably not a valid continuation of the sequence so far).]]></description>
		<content:encoded><![CDATA[<p>I see. I think that gives the same output as the less greedy algorithm I suggested. And it may well be that if only a limited amount of backtracking is needed then the looking forward that I suggested would not save time.</p>
<p>I think the output of this algorithm is the first sequence in the lexicographical order (counting -1 as earlier in the alphabet than 1) with all its partial sums non-negative. So there is a certain greedy flavour to it (in the sense that each time a new prime p comes along, it will set f(p)=-1 unless that is provably not a valid continuation of the sequence so far).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Martin</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6005</link>
		<dc:creator><![CDATA[Ian Martin]]></dc:creator>
		<pubDate>Tue, 09 Feb 2010 00:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6005</guid>
		<description><![CDATA[The algorithm I was trying was:

1) Set p = -1 unless this pushes the partial sum below zero;
2) Fill in composite numbers myopically (ie, no look-ahead) until either
2a) you reach a prime (go to step 1); or
2b) the series goes negative, in which case backtrack and change the sign of the last prime p which was set equal to -1 to a +1 (then go to the beginning of step 2 again).

On the down side, there&#039;s no obvious limit to the amount of backtracking that may be required.  On the up side, I didn&#039;t get close to getting in trouble when I was generating the &lt;a href=&quot;http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6002&quot; rel=&quot;nofollow&quot;&gt;first few elements&lt;/a&gt; of the sequence.

I&#039;m going to be busy for a while now, so probably won&#039;t get the chance to do anything more systematic on this for a while - in particular I would have liked to check that the hand calculations below can be relied on...]]></description>
		<content:encoded><![CDATA[<p>The algorithm I was trying was:</p>
<p>1) Set p = -1 unless this pushes the partial sum below zero;<br />
2) Fill in composite numbers myopically (ie, no look-ahead) until either<br />
2a) you reach a prime (go to step 1); or<br />
2b) the series goes negative, in which case backtrack and change the sign of the last prime p which was set equal to -1 to a +1 (then go to the beginning of step 2 again).</p>
<p>On the down side, there&#8217;s no obvious limit to the amount of backtracking that may be required.  On the up side, I didn&#8217;t get close to getting in trouble when I was generating the <a href="http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6002" rel="nofollow">first few elements</a> of the sequence.</p>
<p>I&#8217;m going to be busy for a while now, so probably won&#8217;t get the chance to do anything more systematic on this for a while &#8211; in particular I would have liked to check that the hand calculations below can be relied on&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6004</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 23:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6004</guid>
		<description><![CDATA[A quick answer to Ian&#039;s question. I was trying to define a greedy algorithm, where by that I mean an algorithm that doesn&#039;t backtrack. But the informal idea I described &lt;em&gt;does&lt;/em&gt; require one to backtrack. So I ended up not being quite sure what the algorithm even was.

I get the impression from Thomas&#039;s plot that the genuinely greedy algorithm I then suggested gives, as expected, not a very good result. So perhaps it&#039;s worth going back to the original idea, as Ian was doing above. Here is what I had envisaged. Instead of setting all as yet unspecified values to zero when evaluating future partial sums, one sets them to 1. The problem I have with this is that when I fix the value of $latex f(p)$, then I will definitely increase some of the later partial sums (because however I do it I&#039;ll change some 1s to -1s and I won&#039;t change any -1s to 1s) so I don&#039;t have any reason to suppose I can keep them all positive. But perhaps some limited backtracking would be enough to deal with this problem when it arises, as Ian suggests. I&#039;m interested to see that the sequence Ian has produced below is better than $latex \lambda_3$ (as far as it goes).]]></description>
		<content:encoded><![CDATA[<p>A quick answer to Ian&#8217;s question. I was trying to define a greedy algorithm, where by that I mean an algorithm that doesn&#8217;t backtrack. But the informal idea I described <em>does</em> require one to backtrack. So I ended up not being quite sure what the algorithm even was.</p>
<p>I get the impression from Thomas&#8217;s plot that the genuinely greedy algorithm I then suggested gives, as expected, not a very good result. So perhaps it&#8217;s worth going back to the original idea, as Ian was doing above. Here is what I had envisaged. Instead of setting all as yet unspecified values to zero when evaluating future partial sums, one sets them to 1. The problem I have with this is that when I fix the value of <img src='http://s0.wp.com/latex.php?latex=f%28p%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(p)' title='f(p)' class='latex' />, then I will definitely increase some of the later partial sums (because however I do it I&#8217;ll change some 1s to -1s and I won&#8217;t change any -1s to 1s) so I don&#8217;t have any reason to suppose I can keep them all positive. But perhaps some limited backtracking would be enough to deal with this problem when it arises, as Ian suggests. I&#8217;m interested to see that the sequence Ian has produced below is better than <img src='http://s0.wp.com/latex.php?latex=%5Clambda_3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;lambda_3' title='&#92;lambda_3' class='latex' /> (as far as it goes).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Martin</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6003</link>
		<dc:creator><![CDATA[Ian Martin]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 23:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6003</guid>
		<description><![CDATA[Sorry, I posted my &lt;a href=&quot;http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6002&quot; rel=&quot;nofollow&quot;&gt;comment below&lt;/a&gt; in the wrong place.  And I should clarify that my hand calculations were for the informal algorithm that Tim suggested &lt;a href=&quot;http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5986&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Sorry, I posted my <a href="http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6002" rel="nofollow">comment below</a> in the wrong place.  And I should clarify that my hand calculations were for the informal algorithm that Tim suggested <a href="http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5986" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Martin</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6002</link>
		<dc:creator><![CDATA[Ian Martin]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 22:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6002</guid>
		<description><![CDATA[In light of Thomas&#039;s comment this may be irrelevant, but I might as well put up my hand calculations up to 164:

{1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, 
-1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1, 
1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 
-1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, 1, 1, 1, -1, -1, -1, 
-1, 1, -1, 1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 
1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, -1, 1, 1, -1, 
1, 1, -1, 1, 1, -1, -1, -1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 
-1, -1, 1, -1, 1, 1, -1, 1, -1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 
-1, -1, -1, 1, 1}

Thomas, if you put this as input into your program does it go negative even if all subsequent primes are set to 1?]]></description>
		<content:encoded><![CDATA[<p>In light of Thomas&#8217;s comment this may be irrelevant, but I might as well put up my hand calculations up to 164:</p>
<p>{1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1,<br />
-1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1,<br />
1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, -1, 1, 1, -1,<br />
-1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, 1, 1, 1, -1, -1, -1,<br />
-1, 1, -1, 1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1,<br />
1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, -1, 1, 1, -1,<br />
1, 1, -1, 1, 1, -1, -1, -1, -1, 1, 1, 1, -1, 1, -1, -1, 1, -1, 1, 1,<br />
-1, -1, 1, -1, 1, 1, -1, 1, -1, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, -1,<br />
-1, -1, -1, 1, 1}</p>
<p>Thomas, if you put this as input into your program does it go negative even if all subsequent primes are set to 1?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Sauvaget</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6001</link>
		<dc:creator><![CDATA[Thomas Sauvaget]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 22:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6001</guid>
		<description><![CDATA[Based on many tests with my programs, it seems that this algorithm like the previous ones depend quite sensitively on precisely which large value $latex N$ one chooses to sum up to. If I run this new one with $latex N=50$ it does set f(7) to -1, but with larger values like $latex N=500$ it now chooses f(7)=+1. &lt;a href=&quot;http://thomas1111.files.wordpress.com/2010/02/multsum_positivealgo_5482new.png&quot; rel=&quot;nofollow&quot;&gt;Here&#039;s a plot&lt;/a&gt; for $latex N=5482$ which shows oscillations.]]></description>
		<content:encoded><![CDATA[<p>Based on many tests with my programs, it seems that this algorithm like the previous ones depend quite sensitively on precisely which large value <img src='http://s0.wp.com/latex.php?latex=N&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='N' title='N' class='latex' /> one chooses to sum up to. If I run this new one with <img src='http://s0.wp.com/latex.php?latex=N%3D50&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='N=50' title='N=50' class='latex' /> it does set f(7) to -1, but with larger values like <img src='http://s0.wp.com/latex.php?latex=N%3D500&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='N=500' title='N=500' class='latex' /> it now chooses f(7)=+1. <a href="http://thomas1111.files.wordpress.com/2010/02/multsum_positivealgo_5482new.png" rel="nofollow">Here&#8217;s a plot</a> for <img src='http://s0.wp.com/latex.php?latex=N%3D5482&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='N=5482' title='N=5482' class='latex' /> which shows oscillations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Martin</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-6000</link>
		<dc:creator><![CDATA[Ian Martin]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 21:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-6000</guid>
		<description><![CDATA[I had a quick try by hand and think I have managed to get up to 100 using a rather vague approach that I think corresponds what what you were suggesting.  The obvious problem is that there is no obvious control on the amount of backtracking that may be required; I proceeded on the assumption that there would be enough room to get out of trouble, and only ever needed one layer of backtracking (on maybe three or four occasions).  Here&#039;s what I got:

{1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, 
-1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1, 
1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, -1, 1, 1}

When you say that the rough idea you had doesn&#039;t work, Tim, do you mean that you&#039;ve convinced yourself that the backtracking is an issue, or just that you haven&#039;t convinced yourself that it&#039;s not?]]></description>
		<content:encoded><![CDATA[<p>I had a quick try by hand and think I have managed to get up to 100 using a rather vague approach that I think corresponds what what you were suggesting.  The obvious problem is that there is no obvious control on the amount of backtracking that may be required; I proceeded on the assumption that there would be enough room to get out of trouble, and only ever needed one layer of backtracking (on maybe three or four occasions).  Here&#8217;s what I got:</p>
<p>{1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1,<br />
-1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1,<br />
1, 1, -1, 1, -1, -1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 1, -1, 1, 1}</p>
<p>When you say that the rough idea you had doesn&#8217;t work, Tim, do you mean that you&#8217;ve convinced yourself that the backtracking is an issue, or just that you haven&#8217;t convinced yourself that it&#8217;s not?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Bennet</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5997</link>
		<dc:creator><![CDATA[Mark Bennet]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 21:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5997</guid>
		<description><![CDATA[Since the value at p influences 1/p of the later values, I still think 1/p weights are worth exploring in various forms.]]></description>
		<content:encoded><![CDATA[<p>Since the value at p influences 1/p of the later values, I still think 1/p weights are worth exploring in various forms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5996</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 21:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5996</guid>
		<description><![CDATA[I&#039;ve suddenly realized that not only was I unclear about precisely what the positive-constraining algorithm was, but that the rough idea I had in mind doesn&#039;t work. Here, however, is one that does.

The idea is that, as usual, you define $latex f$ on each prime in turn. Each time you do so, you work out all the consequences that follow just from multiplicity. 

We can think of the process as follows. We start with the sequence 1 0 0 0 ... At the next stage, we set f(2)=-1 and work out the consequences of that, which gives us the sequence 1 -1 0 1 0 0 0 -1 0 0 ... . Note that the partial sums of this sequence are all positive. At the next stage we are obviously forced to choose $latex f(3)=1$, which gives us a sequence that starts 1 -1 1 1 0 -1 0 -1 1 0 0 1 0 ... .  At the stage after that, we have to choose f(5)=1, because otherwise the partial sum up to 8 would be negative. (Here I depart from my previous approach, where I could have set f(5)=-1 and compensated for it by setting f(7)=1. But I&#039;m not quite sure whether I have an algorithm that does that kind of compensation systematically.) So now we have a sequence that begins 1 -1 1 1 1 -1 0 -1 1 -1 0 1 0 0 1. I don&#039;t know without going off and doing some calculations, but I think it is probably safe at this point to let f(7) be -1. And so on.

At each stage, it is provably possible to continue the algorithm without backtracking. Indeed, if all the partial sums of the sequence so far are non-negative and you set f(p)=1, then the partial sums along the multiples of p are all non-negative, and all multiples of p previously took the value zero, so no partial sum has been decreased. So the idea is that you try out f(p)=-1. If it leads to a negative partial sum somewhere then you set f(p)=1 and continue.

The unintelligent nature of this algorithm leads me to think that its partial sums may grow pretty fast, but I&#039;m still interested to know, just in case they don&#039;t.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve suddenly realized that not only was I unclear about precisely what the positive-constraining algorithm was, but that the rough idea I had in mind doesn&#8217;t work. Here, however, is one that does.</p>
<p>The idea is that, as usual, you define <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f' title='f' class='latex' /> on each prime in turn. Each time you do so, you work out all the consequences that follow just from multiplicity. </p>
<p>We can think of the process as follows. We start with the sequence 1 0 0 0 &#8230; At the next stage, we set f(2)=-1 and work out the consequences of that, which gives us the sequence 1 -1 0 1 0 0 0 -1 0 0 &#8230; . Note that the partial sums of this sequence are all positive. At the next stage we are obviously forced to choose <img src='http://s0.wp.com/latex.php?latex=f%283%29%3D1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(3)=1' title='f(3)=1' class='latex' />, which gives us a sequence that starts 1 -1 1 1 0 -1 0 -1 1 0 0 1 0 &#8230; .  At the stage after that, we have to choose f(5)=1, because otherwise the partial sum up to 8 would be negative. (Here I depart from my previous approach, where I could have set f(5)=-1 and compensated for it by setting f(7)=1. But I&#8217;m not quite sure whether I have an algorithm that does that kind of compensation systematically.) So now we have a sequence that begins 1 -1 1 1 1 -1 0 -1 1 -1 0 1 0 0 1. I don&#8217;t know without going off and doing some calculations, but I think it is probably safe at this point to let f(7) be -1. And so on.</p>
<p>At each stage, it is provably possible to continue the algorithm without backtracking. Indeed, if all the partial sums of the sequence so far are non-negative and you set f(p)=1, then the partial sums along the multiples of p are all non-negative, and all multiples of p previously took the value zero, so no partial sum has been decreased. So the idea is that you try out f(p)=-1. If it leads to a negative partial sum somewhere then you set f(p)=1 and continue.</p>
<p>The unintelligent nature of this algorithm leads me to think that its partial sums may grow pretty fast, but I&#8217;m still interested to know, just in case they don&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5995</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 20:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5995</guid>
		<description><![CDATA[According to my calculations the value at 17 should be -1. I think that is right, because the function would then agree with $latex \lambda_3$ as far as 17, so there shouldn&#039;t be any proof that positivity implies that f(17)=1.]]></description>
		<content:encoded><![CDATA[<p>According to my calculations the value at 17 should be -1. I think that is right, because the function would then agree with <img src='http://s0.wp.com/latex.php?latex=%5Clambda_3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;lambda_3' title='&#92;lambda_3' class='latex' /> as far as 17, so there shouldn&#8217;t be any proof that positivity implies that f(17)=1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Sauvaget</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5994</link>
		<dc:creator><![CDATA[Thomas Sauvaget]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5994</guid>
		<description><![CDATA[I see, so here&#039;s a plot of a short run up to 2500 &lt;a href=&quot;http://thomas1111.files.wordpress.com/2010/02/multsum_positivealgo_2500.png&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. Just to check, the values it finds up to 40 are:  1+ 2- 3+ 4+ 5- 6- 7+ 8- 9+ 10+  ; 11- 12+ 13+ 14- 15- 16+ 17+ 18- 19- 20- ; 21+ 22+ 23- 24- 25+ 26- 27+ 28+ 29+ 30+ ; 31+ 32- 33- 34- 35- 36+ 37- 38+ 39+ 40+ . 

I&#039;ve launched a run up to $latex 10^5$ but it loks like it&#039;ll take a while to complete.]]></description>
		<content:encoded><![CDATA[<p>I see, so here&#8217;s a plot of a short run up to 2500 <a href="http://thomas1111.files.wordpress.com/2010/02/multsum_positivealgo_2500.png" rel="nofollow">here</a>. Just to check, the values it finds up to 40 are:  1+ 2- 3+ 4+ 5- 6- 7+ 8- 9+ 10+  ; 11- 12+ 13+ 14- 15- 16+ 17+ 18- 19- 20- ; 21+ 22+ 23- 24- 25+ 26- 27+ 28+ 29+ 30+ ; 31+ 32- 33- 34- 35- 36+ 37- 38+ 39+ 40+ . </p>
<p>I&#8217;ve launched a run up to <img src='http://s0.wp.com/latex.php?latex=10%5E5&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='10^5' title='10^5' class='latex' /> but it loks like it&#8217;ll take a while to complete.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5993</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5993</guid>
		<description><![CDATA[Your values agree with the ones I calculated. (So far I&#039;ve got up to 40.) But I&#039;m not quite sure we&#039;re doing the same thing: the idea I wanted to pursue involves looking ahead infinitely far, so to speak. (In practice it would involve picking a large $latex N$ and at each stage choosing the smallest prime $latex p$ that&#039;s bigger than the last prime you changed to -1 and that you can change to -1 without any of the partial sums up to $latex N$ going negative -- after you have put in all the changes at multiples of $latex p$.)]]></description>
		<content:encoded><![CDATA[<p>Your values agree with the ones I calculated. (So far I&#8217;ve got up to 40.) But I&#8217;m not quite sure we&#8217;re doing the same thing: the idea I wanted to pursue involves looking ahead infinitely far, so to speak. (In practice it would involve picking a large <img src='http://s0.wp.com/latex.php?latex=N&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='N' title='N' class='latex' /> and at each stage choosing the smallest prime <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='p' title='p' class='latex' /> that&#8217;s bigger than the last prime you changed to -1 and that you can change to -1 without any of the partial sums up to <img src='http://s0.wp.com/latex.php?latex=N&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='N' title='N' class='latex' /> going negative &#8212; after you have put in all the changes at multiples of <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='p' title='p' class='latex' />.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Sauvaget</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5992</link>
		<dc:creator><![CDATA[Thomas Sauvaget]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5992</guid>
		<description><![CDATA[I have a question about this: the first values I find up to 12 are: sequence 1+,2-,3+,4+,5-,6-,7+,8-,9+,10+,11-,12+ ; 
partial sums:1,0,1,2,1,0,1,0,1,2,1,2. So one could be tempted to pick 13-, but by multiplivativity we have 14-,15- which rules out 13- or else the sum at 15 becomes negative. Could anyone confirm this?  If so, I have a code ready which includes the look-ahead up to the next prime, but the resulting discrepancy growth is large.]]></description>
		<content:encoded><![CDATA[<p>I have a question about this: the first values I find up to 12 are: sequence 1+,2-,3+,4+,5-,6-,7+,8-,9+,10+,11-,12+ ;<br />
partial sums:1,0,1,2,1,0,1,0,1,2,1,2. So one could be tempted to pick 13-, but by multiplivativity we have 14-,15- which rules out 13- or else the sum at 15 becomes negative. Could anyone confirm this?  If so, I have a code ready which includes the look-ahead up to the next prime, but the resulting discrepancy growth is large.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5991</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 18:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5991</guid>
		<description><![CDATA[I had a little try at the positive constraining algorithm, just to check that it didn&#039;t give $latex \lambda_3$. I&#039;m not 100% sure about this, but I think the first place where it differs from $latex \lambda_3$ is at 37, where it seems to be possible to set this function to equal -1 instead of 1. So it&#039;s just conceivable that this could give us &lt;em&gt;better&lt;/em&gt; behaviour than $latex \lambda_3$, which would be very interesting given that its partial sums remain positive. However, the evidence so far is pretty flimsy, to put it mildly.]]></description>
		<content:encoded><![CDATA[<p>I had a little try at the positive constraining algorithm, just to check that it didn&#8217;t give <img src='http://s0.wp.com/latex.php?latex=%5Clambda_3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;lambda_3' title='&#92;lambda_3' class='latex' />. I&#8217;m not 100% sure about this, but I think the first place where it differs from <img src='http://s0.wp.com/latex.php?latex=%5Clambda_3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;lambda_3' title='&#92;lambda_3' class='latex' /> is at 37, where it seems to be possible to set this function to equal -1 instead of 1. So it&#8217;s just conceivable that this could give us <em>better</em> behaviour than <img src='http://s0.wp.com/latex.php?latex=%5Clambda_3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;lambda_3' title='&#92;lambda_3' class='latex' />, which would be very interesting given that its partial sums remain positive. However, the evidence so far is pretty flimsy, to put it mildly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Edgington</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5990</link>
		<dc:creator><![CDATA[Alec Edgington]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 18:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5990</guid>
		<description><![CDATA[I found this interesting page about the summatory Liouville function:

http://demonstrations.wolfram.com/UsingZetaZerosToComputeASummatoryLiouvilleFunction/

The formula that determines its oscillations is

$latex \sum_{r&lt;n} \lambda(r) \approx 1 + \sqrt{n} / \zeta(\frac{1}{2}) + 2 \Re \sum_{k \leq N} \frac{n^{\rho_k} \zeta(2 \rho_k)}{\rho_k \zeta^\prime (\rho_k)}$

where $latex \rho_k$ are the zeta zeros on the critical line. This is apparently proved using &lt;a href=&quot;http://en.wikipedia.org/wiki/Perron%27s_formula&quot; rel=&quot;nofollow&quot;&gt;Perron&#039;s formula&lt;/a&gt;, which in turn relies on information about the Dirichlet series defined by the Liouville function. I don&#039;t know if some approach like this could be useful to us.]]></description>
		<content:encoded><![CDATA[<p>I found this interesting page about the summatory Liouville function:</p>
<p><a href="http://demonstrations.wolfram.com/UsingZetaZerosToComputeASummatoryLiouvilleFunction/" rel="nofollow">http://demonstrations.wolfram.com/UsingZetaZerosToComputeASummatoryLiouvilleFunction/</a></p>
<p>The formula that determines its oscillations is</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Csum_%7Br%3Cn%7D+%5Clambda%28r%29+%5Capprox+1+%2B+%5Csqrt%7Bn%7D+%2F+%5Czeta%28%5Cfrac%7B1%7D%7B2%7D%29+%2B+2+%5CRe+%5Csum_%7Bk+%5Cleq+N%7D+%5Cfrac%7Bn%5E%7B%5Crho_k%7D+%5Czeta%282+%5Crho_k%29%7D%7B%5Crho_k+%5Czeta%5E%5Cprime+%28%5Crho_k%29%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;sum_{r&lt;n} &#92;lambda(r) &#92;approx 1 + &#92;sqrt{n} / &#92;zeta(&#92;frac{1}{2}) + 2 &#92;Re &#92;sum_{k &#92;leq N} &#92;frac{n^{&#92;rho_k} &#92;zeta(2 &#92;rho_k)}{&#92;rho_k &#92;zeta^&#92;prime (&#92;rho_k)}' title='&#92;sum_{r&lt;n} &#92;lambda(r) &#92;approx 1 + &#92;sqrt{n} / &#92;zeta(&#92;frac{1}{2}) + 2 &#92;Re &#92;sum_{k &#92;leq N} &#92;frac{n^{&#92;rho_k} &#92;zeta(2 &#92;rho_k)}{&#92;rho_k &#92;zeta^&#92;prime (&#92;rho_k)}' class='latex' /></p>
<p>where <img src='http://s0.wp.com/latex.php?latex=%5Crho_k&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;rho_k' title='&#92;rho_k' class='latex' /> are the zeta zeros on the critical line. This is apparently proved using <a href="http://en.wikipedia.org/wiki/Perron%27s_formula" rel="nofollow">Perron&#8217;s formula</a>, which in turn relies on information about the Dirichlet series defined by the Liouville function. I don&#8217;t know if some approach like this could be useful to us.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: obryant</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5989</link>
		<dc:creator><![CDATA[obryant]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 14:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5989</guid>
		<description><![CDATA[Thanks. I didn&#039;t know how to get the feed addresses (actually, I didn&#039;t know that there *were* feed addresses) for wiki changes and for the Blog comments.]]></description>
		<content:encoded><![CDATA[<p>Thanks. I didn&#8217;t know how to get the feed addresses (actually, I didn&#8217;t know that there *were* feed addresses) for wiki changes and for the Blog comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Sauvaget</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5988</link>
		<dc:creator><![CDATA[Thomas Sauvaget]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 14:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5988</guid>
		<description><![CDATA[Regarding Alec&#039;s question, a few simple observations. Wikipedia says that the Dirichlet series for the Liouville function is a ratio of zeta values, namely $latex \sum_{n=1}^{+\infty}\frac{\lambda (n)}{n^s}=\frac{\zeta(2s)}{\zeta(s)}$, so that indeed when $latex s$ is not a Riemann zero the sum stays finite, meaning that the number of integers that have an odd number of prime factors is comparable to that of those which have an even number. And when $latex s=\frac{1}{2}+it$ is a nontrivial Riemann zero then the sum diverges, so that one type of integer decomposition dominates, and the Liouville function then correlates well with something like $latex \sqrt{n}\cos(t)$. Now of course the Liouville function doesn&#039;t give us enough information for EDP, as a number with an even total number of prime factors could still be given value +1 or -1. But nevertheless such a case covers in particular numbers of the form $latex n=\Pi_ip_i^{2\alpha_i}$ which we do know must be assigned to a +1. So the oscillation coming from nontrivial Riemann zeros in the Liouville partial sums seen on wikipedia may still transfer to EDP. Does that make sense? 

As for the numerical aspect, yes I understood many ideas should be tested, for instance I had looked at the forward idea but it didn&#039;t work well. I&#039;ll give a go at your latest &quot;positive constraining&quot; one and try others too, and report the results.]]></description>
		<content:encoded><![CDATA[<p>Regarding Alec&#8217;s question, a few simple observations. Wikipedia says that the Dirichlet series for the Liouville function is a ratio of zeta values, namely <img src='http://s0.wp.com/latex.php?latex=%5Csum_%7Bn%3D1%7D%5E%7B%2B%5Cinfty%7D%5Cfrac%7B%5Clambda+%28n%29%7D%7Bn%5Es%7D%3D%5Cfrac%7B%5Czeta%282s%29%7D%7B%5Czeta%28s%29%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;sum_{n=1}^{+&#92;infty}&#92;frac{&#92;lambda (n)}{n^s}=&#92;frac{&#92;zeta(2s)}{&#92;zeta(s)}' title='&#92;sum_{n=1}^{+&#92;infty}&#92;frac{&#92;lambda (n)}{n^s}=&#92;frac{&#92;zeta(2s)}{&#92;zeta(s)}' class='latex' />, so that indeed when <img src='http://s0.wp.com/latex.php?latex=s&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='s' title='s' class='latex' /> is not a Riemann zero the sum stays finite, meaning that the number of integers that have an odd number of prime factors is comparable to that of those which have an even number. And when <img src='http://s0.wp.com/latex.php?latex=s%3D%5Cfrac%7B1%7D%7B2%7D%2Bit&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='s=&#92;frac{1}{2}+it' title='s=&#92;frac{1}{2}+it' class='latex' /> is a nontrivial Riemann zero then the sum diverges, so that one type of integer decomposition dominates, and the Liouville function then correlates well with something like <img src='http://s0.wp.com/latex.php?latex=%5Csqrt%7Bn%7D%5Ccos%28t%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;sqrt{n}&#92;cos(t)' title='&#92;sqrt{n}&#92;cos(t)' class='latex' />. Now of course the Liouville function doesn&#8217;t give us enough information for EDP, as a number with an even total number of prime factors could still be given value +1 or -1. But nevertheless such a case covers in particular numbers of the form <img src='http://s0.wp.com/latex.php?latex=n%3D%5CPi_ip_i%5E%7B2%5Calpha_i%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n=&#92;Pi_ip_i^{2&#92;alpha_i}' title='n=&#92;Pi_ip_i^{2&#92;alpha_i}' class='latex' /> which we do know must be assigned to a +1. So the oscillation coming from nontrivial Riemann zeros in the Liouville partial sums seen on wikipedia may still transfer to EDP. Does that make sense? </p>
<p>As for the numerical aspect, yes I understood many ideas should be tested, for instance I had looked at the forward idea but it didn&#8217;t work well. I&#8217;ll give a go at your latest &#8220;positive constraining&#8221; one and try others too, and report the results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5986</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 11:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5986</guid>
		<description><![CDATA[In the light of that I want to make doubly clear that the main point of my previous question was not whether that particular idea would give a suitable damping mechanism (though I did have my hopes) but rather whether there is &lt;em&gt;some&lt;/em&gt; way of getting rid of the oscillations. &lt;a href=&quot;http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5982&quot; rel=&quot;nofollow&quot;&gt;Alec&#039;s remark about the Liouville function&lt;/a&gt; is interesting in this respect, since I&#039;m getting the impression that we need to have a better understanding of why the oscillations occur if we want to make intelligent guesses about how to get rid of them.

A general idea that could perhaps underlie an algorithm is that if the partial sums are on their way down anyway then there is no need to help them along. That to me suggests an algorithm that looks ahead a bit. For instance, if you&#039;ve chosen the values up to $latex p-1$, then perhaps you could calculate the partial sum up to 2p, ignoring the places where $latex f$ is not yet defined, and choose $latex f(p)$ accordingly. 

Here&#039;s an idea that probably won&#039;t work, but I can at least explain the motivation behind it. It&#039;s a different sort of greedy algorithm that keeps the partial sums as small as possible &lt;em&gt;but insists that they are all positive&lt;/em&gt;. The way it does this is as follows. It starts by setting $latex f(p)=1$ for all primes $latex p$. It then looks at 2 and sees whether it can change $latex f(2)$ while keeping all partial sums positive. Finding that it can, it changes $latex f(2)$ to -1. It then can&#039;t change $latex f(3)$ (or the sum up to 3 would be -1) so it doesn&#039;t. It can change $latex f(5)$ to -1 so it does that.

It seems possible that this could result in the function $latex \lambda_3$, in which case it works but doesn&#039;t give anything interestingly new. If that happens, then one could make a few &quot;wrong&quot; choices to start with.

The reason for doing it is that if the algorithm knows that it mustn&#039;t go below zero, then it will be very careful to slow things down if the partial sums seem to be decreasing to zero too fast. In other words, it might lead to a natural damping tendency.]]></description>
		<content:encoded><![CDATA[<p>In the light of that I want to make doubly clear that the main point of my previous question was not whether that particular idea would give a suitable damping mechanism (though I did have my hopes) but rather whether there is <em>some</em> way of getting rid of the oscillations. <a href="http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5982" rel="nofollow">Alec&#8217;s remark about the Liouville function</a> is interesting in this respect, since I&#8217;m getting the impression that we need to have a better understanding of why the oscillations occur if we want to make intelligent guesses about how to get rid of them.</p>
<p>A general idea that could perhaps underlie an algorithm is that if the partial sums are on their way down anyway then there is no need to help them along. That to me suggests an algorithm that looks ahead a bit. For instance, if you&#8217;ve chosen the values up to <img src='http://s0.wp.com/latex.php?latex=p-1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='p-1' title='p-1' class='latex' />, then perhaps you could calculate the partial sum up to 2p, ignoring the places where <img src='http://s0.wp.com/latex.php?latex=f&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f' title='f' class='latex' /> is not yet defined, and choose <img src='http://s0.wp.com/latex.php?latex=f%28p%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(p)' title='f(p)' class='latex' /> accordingly. </p>
<p>Here&#8217;s an idea that probably won&#8217;t work, but I can at least explain the motivation behind it. It&#8217;s a different sort of greedy algorithm that keeps the partial sums as small as possible <em>but insists that they are all positive</em>. The way it does this is as follows. It starts by setting <img src='http://s0.wp.com/latex.php?latex=f%28p%29%3D1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(p)=1' title='f(p)=1' class='latex' /> for all primes <img src='http://s0.wp.com/latex.php?latex=p&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='p' title='p' class='latex' />. It then looks at 2 and sees whether it can change <img src='http://s0.wp.com/latex.php?latex=f%282%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(2)' title='f(2)' class='latex' /> while keeping all partial sums positive. Finding that it can, it changes <img src='http://s0.wp.com/latex.php?latex=f%282%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(2)' title='f(2)' class='latex' /> to -1. It then can&#8217;t change <img src='http://s0.wp.com/latex.php?latex=f%283%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(3)' title='f(3)' class='latex' /> (or the sum up to 3 would be -1) so it doesn&#8217;t. It can change <img src='http://s0.wp.com/latex.php?latex=f%285%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(5)' title='f(5)' class='latex' /> to -1 so it does that.</p>
<p>It seems possible that this could result in the function <img src='http://s0.wp.com/latex.php?latex=%5Clambda_3&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;lambda_3' title='&#92;lambda_3' class='latex' />, in which case it works but doesn&#8217;t give anything interestingly new. If that happens, then one could make a few &#8220;wrong&#8221; choices to start with.</p>
<p>The reason for doing it is that if the algorithm knows that it mustn&#8217;t go below zero, then it will be very careful to slow things down if the partial sums seem to be decreasing to zero too fast. In other words, it might lead to a natural damping tendency.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Sauvaget</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5985</link>
		<dc:creator><![CDATA[Thomas Sauvaget]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 11:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5985</guid>
		<description><![CDATA[I&#039;ve just tried this superimposition idea, but it unfortunately doesn&#039;t seem to have a nice behaviour. I&#039;ve only run it until length 14000 but already got in logscale &lt;a href=&quot;http://thomas1111.files.wordpress.com/2010/02/multsum_weightalgo_14000.png&quot; rel=&quot;nofollow&quot;&gt;this plot&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve just tried this superimposition idea, but it unfortunately doesn&#8217;t seem to have a nice behaviour. I&#8217;ve only run it until length 14000 but already got in logscale <a href="http://thomas1111.files.wordpress.com/2010/02/multsum_weightalgo_14000.png" rel="nofollow">this plot</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sune Kristian Jakobsen</title>
		<link>http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/#comment-5983</link>
		<dc:creator><![CDATA[Sune Kristian Jakobsen]]></dc:creator>
		<pubDate>Mon, 08 Feb 2010 10:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1514#comment-5983</guid>
		<description><![CDATA[hmm... I can&#039;t even spell &quot;RSS&quot; :S

I&#039;m not sure what you want to know. I subscribed to the feeds &lt;a href=&quot;http://michaelnielsen.org/polymath1/index.php?title=Special:RecentChanges&amp;feed=rss&quot; rel=&quot;nofollow&quot;&gt;wiki&#039;s recent changes&lt;/a&gt;, &lt;a href=&quot;http://gowers.wordpress.com/comments/feed/&quot; rel=&quot;nofollow&quot;&gt;comments for Gowers&#039;s Weblog&lt;/a&gt;, &lt;a href=&quot;http://gowers.wordpress.com/feed/&quot; rel=&quot;nofollow&quot;&gt;posts Gowers&#039;s Weblog&lt;/a&gt; and finally &lt;a href=&quot;http://en.wordpress.com/tag/polymath5/feed/&quot; rel=&quot;nofollow&quot;&gt;articles on Wordpress with the tag polymath5&lt;/a&gt;. I&#039;m using Firefox with the addon &lt;a href=&quot;https://addons.mozilla.org/da/firefox/addon/629&quot; rel=&quot;nofollow&quot;&gt;NewsFox&lt;/a&gt;. (I&#039;m not sure that is the best RSS reader. It makes my Firefox freeze from time to time). This is a much easier way to keep up that just pressing F5 on this blog and on the wiki all the time, but I don&#039;t know how you do? Please ask again if I didn&#039;t answered you question.]]></description>
		<content:encoded><![CDATA[<p>hmm&#8230; I can&#8217;t even spell &#8220;RSS&#8221; :S</p>
<p>I&#8217;m not sure what you want to know. I subscribed to the feeds <a href="http://michaelnielsen.org/polymath1/index.php?title=Special:RecentChanges&amp;feed=rss" rel="nofollow">wiki&#8217;s recent changes</a>, <a href="http://gowers.wordpress.com/comments/feed/" rel="nofollow">comments for Gowers&#8217;s Weblog</a>, <a href="http://gowers.wordpress.com/feed/" rel="nofollow">posts Gowers&#8217;s Weblog</a> and finally <a href="http://en.wordpress.com/tag/polymath5/feed/" rel="nofollow">articles on WordPress with the tag polymath5</a>. I&#8217;m using Firefox with the addon <a href="https://addons.mozilla.org/da/firefox/addon/629" rel="nofollow">NewsFox</a>. (I&#8217;m not sure that is the best RSS reader. It makes my Firefox freeze from time to time). This is a much easier way to keep up that just pressing F5 on this blog and on the wiki all the time, but I don&#8217;t know how you do? Please ask again if I didn&#8217;t answered you question.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
