<?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: The Erd&#337;s discrepancy problem IV</title>
	<atom:link href="http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/feed/" rel="self" type="application/rss+xml" />
	<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/</link>
	<description>Mathematics related discussions</description>
	<lastBuildDate>Wed, 15 May 2013 08:08:31 +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/01/14/the-erds-discrepancy-problem-iv/#comment-5231</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sun, 17 Jan 2010 14:06:10 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5231</guid>
		<description><![CDATA[I think there is likely to be a problem with probabilistic arguments, since it seems to me that the events &quot;survives the d-HAP test&quot; are likely to be negatively correlated. Somehow, the easiest way to survive the tests seems to be to be periodic with a different period (for instance, the sequence 1 -1 1 -1 1 -1 1 -1 ... passes all tests when d is odd), so it feels as though if you pass one test it will increase the chances that you will fail another. This is of course a completely non-rigorous argument but for now I find it convincing.]]></description>
		<content:encoded><![CDATA[<p>I think there is likely to be a problem with probabilistic arguments, since it seems to me that the events &#8220;survives the d-HAP test&#8221; are likely to be negatively correlated. Somehow, the easiest way to survive the tests seems to be to be periodic with a different period (for instance, the sequence 1 -1 1 -1 1 -1 1 -1 &#8230; passes all tests when d is odd), so it feels as though if you pass one test it will increase the chances that you will fail another. This is of course a completely non-rigorous argument but for now I find it convincing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sune Kristian Jakobsen</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5230</link>
		<dc:creator><![CDATA[Sune Kristian Jakobsen]]></dc:creator>
		<pubDate>Sun, 17 Jan 2010 13:54:42 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5230</guid>
		<description><![CDATA[The idea was mentioned in some of the replies to &lt;a href=&quot;http://gowers.wordpress.com/2010/01/11/the-erds-discrepancy-problem-iii/#comment-5027&quot; rel=&quot;nofollow&quot;&gt; this comment&lt;/a&gt;. I&#039;m not sure if anyone tried it. 

The discussion is continued &lt;a href=&quot;http://gowers.wordpress.com/2010/01/16/the-erds-discrepancy-problem-v/&quot; rel=&quot;nofollow&quot;&gt; over here.&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>The idea was mentioned in some of the replies to <a href="http://gowers.wordpress.com/2010/01/11/the-erds-discrepancy-problem-iii/#comment-5027" rel="nofollow"> this comment</a>. I&#8217;m not sure if anyone tried it. </p>
<p>The discussion is continued <a href="http://gowers.wordpress.com/2010/01/16/the-erds-discrepancy-problem-v/" rel="nofollow"> over here.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miodrag Milenkovic</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5229</link>
		<dc:creator><![CDATA[Miodrag Milenkovic]]></dc:creator>
		<pubDate>Sun, 17 Jan 2010 13:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5229</guid>
		<description><![CDATA[I think that another interesting experimental direction would be exploring the structure of the trie constructed by the C=2 sequences by breadth first search instead of the depth first search, has anybody done that? I expect the width of the tree would overwhelm the memory pretty early on in the levels, so some judicious sampling would be necessary. The idea is to see whether the sequences are statistically similar to samples of some sort of a stochastic process. I&#039;ll try to run some C code for that and report back.]]></description>
		<content:encoded><![CDATA[<p>I think that another interesting experimental direction would be exploring the structure of the trie constructed by the C=2 sequences by breadth first search instead of the depth first search, has anybody done that? I expect the width of the tree would overwhelm the memory pretty early on in the levels, so some judicious sampling would be necessary. The idea is to see whether the sequences are statistically similar to samples of some sort of a stochastic process. I&#8217;ll try to run some C code for that and report back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miodrag Milenkovic</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5227</link>
		<dc:creator><![CDATA[Miodrag Milenkovic]]></dc:creator>
		<pubDate>Sun, 17 Jan 2010 13:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5227</guid>
		<description><![CDATA[I apologize for the LaTeX mistakes, this is my first time posting LaTeX in Wordpress. I assumed I&#039;d be put in a preview/fix mode, but I was wrong, and now I don&#039;t see a way to edit it.

I meant to say that there are 4 x 3^{n-1} of +-1 sequences of length 2n and 2 x 3^n of length 2n+1. The norm brackets were meant to be absolute value brackets...]]></description>
		<content:encoded><![CDATA[<p>I apologize for the LaTeX mistakes, this is my first time posting LaTeX in WordPress. I assumed I&#8217;d be put in a preview/fix mode, but I was wrong, and now I don&#8217;t see a way to edit it.</p>
<p>I meant to say that there are 4 x 3^{n-1} of +-1 sequences of length 2n and 2 x 3^n of length 2n+1. The norm brackets were meant to be absolute value brackets&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miodrag Milenkovic</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5226</link>
		<dc:creator><![CDATA[Miodrag Milenkovic]]></dc:creator>
		<pubDate>Sun, 17 Jan 2010 13:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5226</guid>
		<description><![CDATA[Apologies if this has been considered before, I&#039;m still trying to catch up with the whole conversation. Here&#039;s a simple argument to suggest that there are $latex \approx 3^{n/2} (3/4)^{\log(n/2)}$ length $latex n$ sequences of discrepancy 2. The argument is faulty, but I don&#039;t know if fatally so.

There are $latex 4\dot 3^{n-1}$ $latex \pm 1$, sequences of length $latex 2n$ such that $latex \&#124; \sum_{i=1}^{2n} x_i \&#124; \leq 2$ and $latex 2\dot 3^n$ of length $latex 2n+1$, so there are $latex \propto 3^{n/2}$ of lengthh $latex n$. There are $latex 2^n$ sequences in total, so the probability that a random $latex \pm 1$ sequence of length $latex n$ survives the sum $latex \leq 2$ test is $latex p(n) \approx (3/4)^{n/2}$. Looking at $latex x_{2i}$ subsequence or our sequence, the probability that it survives the test is $latex p(n/2)$. (This is where the argument turns faulty, because I don&#039;t know how correlated the events $latex \&#124; \sum_{0&lt; i \leq n/d} x_{d i} \&#124; \leq 2$, $latex 0 &lt; d &lt; n$ are. I don&#039;t know if it kills the argument. Ignoring that and pressing on...) Continuing with the rest of the subsequences we get that the probability that the sequence has discrepancy $latex \leq 2$ is $latex \prod_{1&lt;k&lt;n}p(n/k) \approx (3/4)^{(n/2)\log(n/2)}$. Multiplying by the total number of $latex \pm 1$ sequences we get that there are $latex \approx 3^{n/2} (3/4)^{\log(n/2)}$ length $latex n$ sequences of discrepancy 2.

Similar argument suggests that there are $latex \approx 2^{n(1 - (1/2)\log(n/2))}$ i.e. 0 for large enough $latex n$ sequences of discrepancy 1.]]></description>
		<content:encoded><![CDATA[<p>Apologies if this has been considered before, I&#8217;m still trying to catch up with the whole conversation. Here&#8217;s a simple argument to suggest that there are <img src='http://s0.wp.com/latex.php?latex=%5Capprox+3%5E%7Bn%2F2%7D+%283%2F4%29%5E%7B%5Clog%28n%2F2%29%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;approx 3^{n/2} (3/4)^{&#92;log(n/2)}' title='&#92;approx 3^{n/2} (3/4)^{&#92;log(n/2)}' class='latex' /> length <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' /> sequences of discrepancy 2. The argument is faulty, but I don&#8217;t know if fatally so.</p>
<p>There are <img src='http://s0.wp.com/latex.php?latex=4%5Cdot+3%5E%7Bn-1%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='4&#92;dot 3^{n-1}' title='4&#92;dot 3^{n-1}' class='latex' /> <img src='http://s0.wp.com/latex.php?latex=%5Cpm+1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;pm 1' title='&#92;pm 1' class='latex' />, sequences of length <img src='http://s0.wp.com/latex.php?latex=2n&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2n' title='2n' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=%5C%7C+%5Csum_%7Bi%3D1%7D%5E%7B2n%7D+x_i+%5C%7C+%5Cleq+2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;| &#92;sum_{i=1}^{2n} x_i &#92;| &#92;leq 2' title='&#92;| &#92;sum_{i=1}^{2n} x_i &#92;| &#92;leq 2' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=2%5Cdot+3%5En&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2&#92;dot 3^n' title='2&#92;dot 3^n' class='latex' /> of length <img src='http://s0.wp.com/latex.php?latex=2n%2B1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2n+1' title='2n+1' class='latex' />, so there are <img src='http://s0.wp.com/latex.php?latex=%5Cpropto+3%5E%7Bn%2F2%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;propto 3^{n/2}' title='&#92;propto 3^{n/2}' class='latex' /> of lengthh <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' />. There are <img src='http://s0.wp.com/latex.php?latex=2%5En&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='2^n' title='2^n' class='latex' /> sequences in total, so the probability that a random <img src='http://s0.wp.com/latex.php?latex=%5Cpm+1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;pm 1' title='&#92;pm 1' class='latex' /> sequence of length <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' /> survives the sum <img src='http://s0.wp.com/latex.php?latex=%5Cleq+2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;leq 2' title='&#92;leq 2' class='latex' /> test is <img src='http://s0.wp.com/latex.php?latex=p%28n%29+%5Capprox+%283%2F4%29%5E%7Bn%2F2%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='p(n) &#92;approx (3/4)^{n/2}' title='p(n) &#92;approx (3/4)^{n/2}' class='latex' />. Looking at <img src='http://s0.wp.com/latex.php?latex=x_%7B2i%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x_{2i}' title='x_{2i}' class='latex' /> subsequence or our sequence, the probability that it survives the test is <img src='http://s0.wp.com/latex.php?latex=p%28n%2F2%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='p(n/2)' title='p(n/2)' class='latex' />. (This is where the argument turns faulty, because I don&#8217;t know how correlated the events <img src='http://s0.wp.com/latex.php?latex=%5C%7C+%5Csum_%7B0%3C+i+%5Cleq+n%2Fd%7D+x_%7Bd+i%7D+%5C%7C+%5Cleq+2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;| &#92;sum_{0&lt; i &#92;leq n/d} x_{d i} &#92;| &#92;leq 2' title='&#92;| &#92;sum_{0&lt; i &#92;leq n/d} x_{d i} &#92;| &#92;leq 2' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=0+%3C+d+%3C+n&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='0 &lt; d &lt; n' title='0 &lt; d &lt; n' class='latex' /> are. I don&#039;t know if it kills the argument. Ignoring that and pressing on&#8230;) Continuing with the rest of the subsequences we get that the probability that the sequence has discrepancy <img src='http://s0.wp.com/latex.php?latex=%5Cleq+2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;leq 2' title='&#92;leq 2' class='latex' /> is <img src='http://s0.wp.com/latex.php?latex=%5Cprod_%7B1%3Ck%3Cn%7Dp%28n%2Fk%29+%5Capprox+%283%2F4%29%5E%7B%28n%2F2%29%5Clog%28n%2F2%29%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;prod_{1&lt;k&lt;n}p(n/k) &#92;approx (3/4)^{(n/2)&#92;log(n/2)}' title='&#92;prod_{1&lt;k&lt;n}p(n/k) &#92;approx (3/4)^{(n/2)&#92;log(n/2)}' class='latex' />. Multiplying by the total number of <img src='http://s0.wp.com/latex.php?latex=%5Cpm+1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;pm 1' title='&#92;pm 1' class='latex' /> sequences we get that there are <img src='http://s0.wp.com/latex.php?latex=%5Capprox+3%5E%7Bn%2F2%7D+%283%2F4%29%5E%7B%5Clog%28n%2F2%29%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;approx 3^{n/2} (3/4)^{&#92;log(n/2)}' title='&#92;approx 3^{n/2} (3/4)^{&#92;log(n/2)}' class='latex' /> length <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' /> sequences of discrepancy 2.</p>
<p>Similar argument suggests that there are <img src='http://s0.wp.com/latex.php?latex=%5Capprox+2%5E%7Bn%281+-+%281%2F2%29%5Clog%28n%2F2%29%29%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;approx 2^{n(1 - (1/2)&#92;log(n/2))}' title='&#92;approx 2^{n(1 - (1/2)&#92;log(n/2))}' class='latex' /> i.e. 0 for large enough <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' /> sequences of discrepancy 1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Américo Tavares</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5192</link>
		<dc:creator><![CDATA[Américo Tavares]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 20:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5192</guid>
		<description><![CDATA[Mark

Thank you for your reply (January 14, 2010 at 6:17 pm) 
 and explanation.]]></description>
		<content:encoded><![CDATA[<p>Mark</p>
<p>Thank you for your reply (January 14, 2010 at 6:17 pm)<br />
 and explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harrison</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5191</link>
		<dc:creator><![CDATA[Harrison]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 20:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5191</guid>
		<description><![CDATA[That definition, except for the part where we fix the size of the interval at $latex \phi$, is a generalization of quasi-multiplicative sequence, right? In quasi-multiplicative sequence, we take all the $latex \alpha_p$ to be rationals (with bounded denominators) and... hmm. I feel like there&#039;s a small gap that may still need to be bridged -- in quasi-multiplicative-land $latex \epsilon_p$ depends on $latex \alpha_p$ but $latex f(n)$ depends only on where $latex \alpha(n)$ is and not on any of the signs at the primes.

I still think we can, and almost certainly should, unify the two concepts. I have a sneaking suspicion that there&#039;s some really deep, but rather well-understood, number-theory stuff lurking beneath the surface -- adelic analysis? I don&#039;t know enough about that stuff to be sure -- and I&#039;d love to have a clearer view of what it is.]]></description>
		<content:encoded><![CDATA[<p>That definition, except for the part where we fix the size of the interval at <img src='http://s0.wp.com/latex.php?latex=%5Cphi&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;phi' title='&#92;phi' class='latex' />, is a generalization of quasi-multiplicative sequence, right? In quasi-multiplicative sequence, we take all the <img src='http://s0.wp.com/latex.php?latex=%5Calpha_p&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;alpha_p' title='&#92;alpha_p' class='latex' /> to be rationals (with bounded denominators) and&#8230; hmm. I feel like there&#8217;s a small gap that may still need to be bridged &#8212; in quasi-multiplicative-land <img src='http://s0.wp.com/latex.php?latex=%5Cepsilon_p&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon_p' title='&#92;epsilon_p' class='latex' /> depends on <img src='http://s0.wp.com/latex.php?latex=%5Calpha_p&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;alpha_p' title='&#92;alpha_p' class='latex' /> but <img src='http://s0.wp.com/latex.php?latex=f%28n%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(n)' title='f(n)' class='latex' /> depends only on where <img src='http://s0.wp.com/latex.php?latex=%5Calpha%28n%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;alpha(n)' title='&#92;alpha(n)' class='latex' /> is and not on any of the signs at the primes.</p>
<p>I still think we can, and almost certainly should, unify the two concepts. I have a sneaking suspicion that there&#8217;s some really deep, but rather well-understood, number-theory stuff lurking beneath the surface &#8212; adelic analysis? I don&#8217;t know enough about that stuff to be sure &#8212; and I&#8217;d love to have a clearer view of what it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5190</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 19:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5190</guid>
		<description><![CDATA[I meant to say in the previous comment that I think there&#039;s a good chance of getting somewhere by making the wild guess that every $latex \alpha_i$ is a small integer multiple of the golden ratio. From that it should be possible to guess what each $latex \alpha_i$ is, and we can guess what the sign is just by seeing whether the corresponding sequence (when you multiply by powers of 2) has more 1s or more -1s. So one ought to be able to take the 1124 sequence and extract from it the formula that generates it -- unless of course my wild guess is wrong.]]></description>
		<content:encoded><![CDATA[<p>I meant to say in the previous comment that I think there&#8217;s a good chance of getting somewhere by making the wild guess that every <img src='http://s0.wp.com/latex.php?latex=%5Calpha_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;alpha_i' title='&#92;alpha_i' class='latex' /> is a small integer multiple of the golden ratio. From that it should be possible to guess what each <img src='http://s0.wp.com/latex.php?latex=%5Calpha_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;alpha_i' title='&#92;alpha_i' class='latex' /> is, and we can guess what the sign is just by seeing whether the corresponding sequence (when you multiply by powers of 2) has more 1s or more -1s. So one ought to be able to take the 1124 sequence and extract from it the formula that generates it &#8212; unless of course my wild guess is wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5189</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 19:51:26 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5189</guid>
		<description><![CDATA[In general, I now think we should be looking for a sequence defined as follows. (It may be necessary to modify this definition -- this is a first attempt.) For the $latex i$th prime $latex p_i$ we associate a sign $latex \epsilon_i=\pm 1$ and a real number $latex \alpha_i$. Then if $latex n=p_1^{r_1}\dots p_k^{r_k}$ we calculate the number $latex \alpha(n)=r_1\alpha_1+\dots+r_k\alpha_k$ mod 1. Next, we work out the product $latex \epsilon(n)=\prod \epsilon_i^{r_i}$, and we set $latex f(n)$ to be $latex \epsilon(n)$ if $latex \alpha(n)$ belongs to a golden-ratio-sized interval and $latex -\epsilon(n)$ otherwise.

For this to work, it&#039;s quite important that the signs Alec was calculating above (but renamed so that I define $latex \eta_{2n+1}$ to be what he calls $latex \epsilon_n$) should be completely multiplicative. To my great delight, they seem to be.]]></description>
		<content:encoded><![CDATA[<p>In general, I now think we should be looking for a sequence defined as follows. (It may be necessary to modify this definition &#8212; this is a first attempt.) For the <img src='http://s0.wp.com/latex.php?latex=i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='i' title='i' class='latex' />th prime <img src='http://s0.wp.com/latex.php?latex=p_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='p_i' title='p_i' class='latex' /> we associate a sign <img src='http://s0.wp.com/latex.php?latex=%5Cepsilon_i%3D%5Cpm+1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon_i=&#92;pm 1' title='&#92;epsilon_i=&#92;pm 1' class='latex' /> and a real number <img src='http://s0.wp.com/latex.php?latex=%5Calpha_i&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;alpha_i' title='&#92;alpha_i' class='latex' />. Then if <img src='http://s0.wp.com/latex.php?latex=n%3Dp_1%5E%7Br_1%7D%5Cdots+p_k%5E%7Br_k%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n=p_1^{r_1}&#92;dots p_k^{r_k}' title='n=p_1^{r_1}&#92;dots p_k^{r_k}' class='latex' /> we calculate the number <img src='http://s0.wp.com/latex.php?latex=%5Calpha%28n%29%3Dr_1%5Calpha_1%2B%5Cdots%2Br_k%5Calpha_k&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;alpha(n)=r_1&#92;alpha_1+&#92;dots+r_k&#92;alpha_k' title='&#92;alpha(n)=r_1&#92;alpha_1+&#92;dots+r_k&#92;alpha_k' class='latex' /> mod 1. Next, we work out the product <img src='http://s0.wp.com/latex.php?latex=%5Cepsilon%28n%29%3D%5Cprod+%5Cepsilon_i%5E%7Br_i%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon(n)=&#92;prod &#92;epsilon_i^{r_i}' title='&#92;epsilon(n)=&#92;prod &#92;epsilon_i^{r_i}' class='latex' />, and we set <img src='http://s0.wp.com/latex.php?latex=f%28n%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='f(n)' title='f(n)' class='latex' /> to be <img src='http://s0.wp.com/latex.php?latex=%5Cepsilon%28n%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon(n)' title='&#92;epsilon(n)' class='latex' /> if <img src='http://s0.wp.com/latex.php?latex=%5Calpha%28n%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;alpha(n)' title='&#92;alpha(n)' class='latex' /> belongs to a golden-ratio-sized interval and <img src='http://s0.wp.com/latex.php?latex=-%5Cepsilon%28n%29&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='-&#92;epsilon(n)' title='-&#92;epsilon(n)' class='latex' /> otherwise.</p>
<p>For this to work, it&#8217;s quite important that the signs Alec was calculating above (but renamed so that I define <img src='http://s0.wp.com/latex.php?latex=%5Ceta_%7B2n%2B1%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;eta_{2n+1}' title='&#92;eta_{2n+1}' class='latex' /> to be what he calls <img src='http://s0.wp.com/latex.php?latex=%5Cepsilon_n&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon_n' title='&#92;epsilon_n' class='latex' />) should be completely multiplicative. To my great delight, they seem to be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harrison</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5188</link>
		<dc:creator><![CDATA[Harrison]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 19:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5188</guid>
		<description><![CDATA[I looked at the 1124 sequence using powers of 3 instead of powers of 2, and the analogous subsequence appears to begin:

+ + + + - - - + ... 

With the following shifts:

n = 1: Shift of 0
n = 2: Shift of 1
n = 3: Shift of 1
n = 4: Shift of 2
n = 5: Shift of 2
n = 6: Shift of 2
n = 7: Shift of 0 (?!)
n = 8: Shift of 3
n = 9: Shift of 2
n = 10: Shift of 3
n = 11: Shift of 3
n = 12: Shift of 3
n = 13: Shift of 3

This is of course a very small sample but it does in fact look as though the shifts may be of size log n.]]></description>
		<content:encoded><![CDATA[<p>I looked at the 1124 sequence using powers of 3 instead of powers of 2, and the analogous subsequence appears to begin:</p>
<p>+ + + + &#8211; - &#8211; + &#8230; </p>
<p>With the following shifts:</p>
<p>n = 1: Shift of 0<br />
n = 2: Shift of 1<br />
n = 3: Shift of 1<br />
n = 4: Shift of 2<br />
n = 5: Shift of 2<br />
n = 6: Shift of 2<br />
n = 7: Shift of 0 (?!)<br />
n = 8: Shift of 3<br />
n = 9: Shift of 2<br />
n = 10: Shift of 3<br />
n = 11: Shift of 3<br />
n = 12: Shift of 3<br />
n = 13: Shift of 3</p>
<p>This is of course a very small sample but it does in fact look as though the shifts may be of size log n.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5187</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 19:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5187</guid>
		<description><![CDATA[Alec, I&#039;d like to draw a distinction between serious anomalies and anomalies that are potentially explicable. I should say first what I now think the sequences may be. It seems to me that you get them by continually adding the golden ratio (where for convenience I&#039;ll define this to be $latex (\sqrt{5}-1)/2$ and assigning a + if the integer part changes and a - if it doesn&#039;t, or the other way round. That&#039;s equivalent to adding the golden ratio mod 1 and making your answer depend on whether you&#039;re in a golden-ratio-sized interval or not.

If that&#039;s the case, then each sequence will either be biased towards 1 or towards -1. If the former, then it should never have two -1s in a row. So I&#039;d be interested to know whether the sequence for 16 has this property (that it doesn&#039;t have both two 1s in a row and two -1s in a row). 

Come to think of it, I can work this out for myself, so here goes. I get + - + + - -, which means that, disappointingly, it seems to be a serious anomaly rather than a mild one. (However, the anomaly first shows up at 1056, so maybe there are other examples that are OK.)]]></description>
		<content:encoded><![CDATA[<p>Alec, I&#8217;d like to draw a distinction between serious anomalies and anomalies that are potentially explicable. I should say first what I now think the sequences may be. It seems to me that you get them by continually adding the golden ratio (where for convenience I&#8217;ll define this to be <img src='http://s0.wp.com/latex.php?latex=%28%5Csqrt%7B5%7D-1%29%2F2&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='(&#92;sqrt{5}-1)/2' title='(&#92;sqrt{5}-1)/2' class='latex' /> and assigning a + if the integer part changes and a &#8211; if it doesn&#8217;t, or the other way round. That&#8217;s equivalent to adding the golden ratio mod 1 and making your answer depend on whether you&#8217;re in a golden-ratio-sized interval or not.</p>
<p>If that&#8217;s the case, then each sequence will either be biased towards 1 or towards -1. If the former, then it should never have two -1s in a row. So I&#8217;d be interested to know whether the sequence for 16 has this property (that it doesn&#8217;t have both two 1s in a row and two -1s in a row). </p>
<p>Come to think of it, I can work this out for myself, so here goes. I get + &#8211; + + &#8211; -, which means that, disappointingly, it seems to be a serious anomaly rather than a mild one. (However, the anomaly first shows up at 1056, so maybe there are other examples that are OK.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Edgington</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5185</link>
		<dc:creator><![CDATA[Alec Edgington]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 19:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5185</guid>
		<description><![CDATA[To continue a bit further, for $latex 0 \leq m \leq 20$:

$latex \epsilon_m$: +1, -1, -1, -1, +1, +1, -1, +1, -1, -1, +1, +1, +1, -1, +1, -1, -1, +1, +1, +1, +1

$latex s_m$: 0, 1, 2, 3, 2, 3, 3, 3, 4, 3, 4, 3, 4, 3, 5, 5, 4, 5, 4, 4, 5

Apart from one anomalous value in the 3 sequence (the one starting at 7) and one in the 16 sequence (the one starting at 33), the agreement is perfect up to here.]]></description>
		<content:encoded><![CDATA[<p>To continue a bit further, for <img src='http://s0.wp.com/latex.php?latex=0+%5Cleq+m+%5Cleq+20&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='0 &#92;leq m &#92;leq 20' title='0 &#92;leq m &#92;leq 20' class='latex' />:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cepsilon_m&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon_m' title='&#92;epsilon_m' class='latex' />: +1, -1, -1, -1, +1, +1, -1, +1, -1, -1, +1, +1, +1, -1, +1, -1, -1, +1, +1, +1, +1</p>
<p><img src='http://s0.wp.com/latex.php?latex=s_m&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='s_m' title='s_m' class='latex' />: 0, 1, 2, 3, 2, 3, 3, 3, 4, 3, 4, 3, 4, 3, 5, 5, 4, 5, 4, 4, 5</p>
<p>Apart from one anomalous value in the 3 sequence (the one starting at 7) and one in the 16 sequence (the one starting at 33), the agreement is perfect up to here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harrison</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5182</link>
		<dc:creator><![CDATA[Harrison]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 18:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5182</guid>
		<description><![CDATA[You&#039;ve probably realized this already, but since you didn&#039;t say it: If the sequence were perfectly multiplicative all the shifts would be 0 (and the rows would be periodic of period 1 or 2.) If the sequence were random, we wouldn&#039;t expect any sort of structure like this to emerge.

I&#039;m not &lt;i&gt;entirely&lt;/i&gt; convinced that this is a phenomenon that&#039;s really unique to the 1124-sequence -- it just seems to encapsulate some of the multiplicative structure in a rather nice way.]]></description>
		<content:encoded><![CDATA[<p>You&#8217;ve probably realized this already, but since you didn&#8217;t say it: If the sequence were perfectly multiplicative all the shifts would be 0 (and the rows would be periodic of period 1 or 2.) If the sequence were random, we wouldn&#8217;t expect any sort of structure like this to emerge.</p>
<p>I&#8217;m not <i>entirely</i> convinced that this is a phenomenon that&#8217;s really unique to the 1124-sequence &#8212; it just seems to encapsulate some of the multiplicative structure in a rather nice way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Edgington</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5178</link>
		<dc:creator><![CDATA[Alec Edgington]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 17:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5178</guid>
		<description><![CDATA[I calculate, for $latex 0 \leq m \leq 10$:

$latex \epsilon_m = +1, -1, -1, -1, +1, +1, -1, +1, -1, -1, +1$

$latex s_m = 0, 1, 2, 3, 2, 3, 3, 3, 4, 3, 4$]]></description>
		<content:encoded><![CDATA[<p>I calculate, for <img src='http://s0.wp.com/latex.php?latex=0+%5Cleq+m+%5Cleq+10&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='0 &#92;leq m &#92;leq 10' title='0 &#92;leq m &#92;leq 10' class='latex' />:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cepsilon_m+%3D+%2B1%2C+-1%2C+-1%2C+-1%2C+%2B1%2C+%2B1%2C+-1%2C+%2B1%2C+-1%2C+-1%2C+%2B1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon_m = +1, -1, -1, -1, +1, +1, -1, +1, -1, -1, +1' title='&#92;epsilon_m = +1, -1, -1, -1, +1, +1, -1, +1, -1, -1, +1' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=s_m+%3D+0%2C+1%2C+2%2C+3%2C+2%2C+3%2C+3%2C+3%2C+4%2C+3%2C+4&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='s_m = 0, 1, 2, 3, 2, 3, 3, 3, 4, 3, 4' title='s_m = 0, 1, 2, 3, 2, 3, 3, 3, 4, 3, 4' class='latex' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Edgington</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5177</link>
		<dc:creator><![CDATA[Alec Edgington]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 17:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5177</guid>
		<description><![CDATA[Interesting -- there&#039;s definitely a pattern here! If we write $latex \theta_k = x_{2^k}$, and (to a good approximation) $latex x_{2^k (2m+1)} = \epsilon_m \theta_{k + s_m}$, where $latex \epsilon_m = \pm 1$ and $latex s_m$ is the shift ($latex m \geq 0$), then the $latex \epsilon_m$ seem to have quite low discrepancy too, as far as you&#039;ve calculated.]]></description>
		<content:encoded><![CDATA[<p>Interesting &#8212; there&#8217;s definitely a pattern here! If we write <img src='http://s0.wp.com/latex.php?latex=%5Ctheta_k+%3D+x_%7B2%5Ek%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;theta_k = x_{2^k}' title='&#92;theta_k = x_{2^k}' class='latex' />, and (to a good approximation) <img src='http://s0.wp.com/latex.php?latex=x_%7B2%5Ek+%282m%2B1%29%7D+%3D+%5Cepsilon_m+%5Ctheta_%7Bk+%2B+s_m%7D&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x_{2^k (2m+1)} = &#92;epsilon_m &#92;theta_{k + s_m}' title='x_{2^k (2m+1)} = &#92;epsilon_m &#92;theta_{k + s_m}' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=%5Cepsilon_m+%3D+%5Cpm+1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon_m = &#92;pm 1' title='&#92;epsilon_m = &#92;pm 1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=s_m&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='s_m' title='s_m' class='latex' /> is the shift (<img src='http://s0.wp.com/latex.php?latex=m+%5Cgeq+0&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='m &#92;geq 0' title='m &#92;geq 0' class='latex' />), then the <img src='http://s0.wp.com/latex.php?latex=%5Cepsilon_m&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;epsilon_m' title='&#92;epsilon_m' class='latex' /> seem to have quite low discrepancy too, as far as you&#8217;ve calculated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5176</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 16:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5176</guid>
		<description><![CDATA[I&#039;ve now found a golden-ratio-related sequence that agrees with the values of the 1124 sequence as you go along powers of 2, starting at 1. I&#039;m getting excited -- sorry, can&#039;t help it.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve now found a golden-ratio-related sequence that agrees with the values of the 1124 sequence as you go along powers of 2, starting at 1. I&#8217;m getting excited &#8212; sorry, can&#8217;t help it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Edgington</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5175</link>
		<dc:creator><![CDATA[Alec Edgington]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 16:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5175</guid>
		<description><![CDATA[Tim, in your analysis did you skip 244 (which maps to +1)? I&#039;m also not sure why you say the sum to 241 must be at most 1 if we are allowing discrepancy 3.]]></description>
		<content:encoded><![CDATA[<p>Tim, in your analysis did you skip 244 (which maps to +1)? I&#8217;m also not sure why you say the sum to 241 must be at most 1 if we are allowing discrepancy 3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5174</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 16:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5174</guid>
		<description><![CDATA[One other tiny thought is that the &quot;anomaly&quot; at 7 might actually be that the amount of the shift is unexpectedly large, or that it corresponds to a small phase shift that is just enough to tip the value at 7 from + to -.]]></description>
		<content:encoded><![CDATA[<p>One other tiny thought is that the &#8220;anomaly&#8221; at 7 might actually be that the amount of the shift is unexpectedly large, or that it corresponds to a small phase shift that is just enough to tip the value at 7 from + to -.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5173</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 16:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5173</guid>
		<description><![CDATA[This also suggests that a modification to an experiment I suggested earlier could produce lovely long sequences. The earlier idea was to fix a sequence for powers of 2, given by a &quot;periodic sequence with golden-ratio period&quot; and then to insist that the values at d,2d,4d,8d,... were always given by either this sequence or minus this sequence. It now looks as though what I should have suggested was that the values were always given by a shift of this sequence, and that the shift associated with n should be roughly $latex \log_2n$. With hindsight, this makes much better sense, since we shift by exactly $latex \log_2n$ at powers of 2. 

So there&#039;s a new item that&#039;s jumped right to the top of my wishlist. Alec, can you get any super-long sequences this way?]]></description>
		<content:encoded><![CDATA[<p>This also suggests that a modification to an experiment I suggested earlier could produce lovely long sequences. The earlier idea was to fix a sequence for powers of 2, given by a &#8220;periodic sequence with golden-ratio period&#8221; and then to insist that the values at d,2d,4d,8d,&#8230; were always given by either this sequence or minus this sequence. It now looks as though what I should have suggested was that the values were always given by a shift of this sequence, and that the shift associated with n should be roughly <img src='http://s0.wp.com/latex.php?latex=%5Clog_2n&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;log_2n' title='&#92;log_2n' class='latex' />. With hindsight, this makes much better sense, since we shift by exactly <img src='http://s0.wp.com/latex.php?latex=%5Clog_2n&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='&#92;log_2n' title='&#92;log_2n' class='latex' /> at powers of 2. </p>
<p>So there&#8217;s a new item that&#8217;s jumped right to the top of my wishlist. Alec, can you get any super-long sequences this way?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5172</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 16:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5172</guid>
		<description><![CDATA[I have just tried a little computational (but simple enough to do by hand) experiment on the first 1124 sequence, and am absolutely fascinated by the result. Indeed, I now think there&#039;s a real chance that we will be able to understand what this sequence is and perhaps even define an infinite extension of it.

The experiment was very simple. I took the numbers $latex n=1,2,3,4,...$ in turn and for each $latex n$ I wrote out the values at $latex n, 2n, 4n, 8n, 16n,\dots$. Here is a table of the results. I start with what n is and then give the values. I have deliberately shifted the rows by varying amounts (I hope it will come out nicely when I submit the comment, but if not then perhaps someone like Thomas can produce a nicer table). Added later: sorry, it hasn&#039;t come out all that well, so a proper table would be great.

2:  -  +  -  -  +  -  -  +  -  +
3:  +  -  +  +  -  +  +  -  +
4:   .   +  -  -  +  -  -  +  -  + 
5:   .   -  +  +  -  +  +  -  +  
6:   .   -  +  +  -  +  +  -  +  
7:   .    .   -  +  -  +  +  -  +  -
8:   .    .   -  -  +  -   -  +  -  +
9:   .   +  -  -  +  -   -  +  -
10: .    .   +  + -  +  +  -  +
11: .    .   -   -  +  -  -  +  -
12: .    .   +  +  -  +  +  -  +
13: .    .   +  +  -  +  +  -  +
14: .    .    .   +  -  +  +  -  +  -
15: .    .    -  -   + -  -  +  -
16: .    .    .    -  +  -  -  +  -  +
17: .    .    .    +  -  +  +  -  +  -

What I find remarkable about this table is just how perfect it is. The only anomalous value is $latex x_7$ (which will come as no surprise to Mark). If you changed that, then everything would be a shift, or minus a shift, of the sequence that you get for 2. (Perhaps I should have started with the row at 1.) Also, the row for 2 looks to me very like a &quot;periodic sequence with irrational period&quot;. Could it be the golden ratio? Also, it is notable that the amount you shift is closely related to the size of the number. So if we count the row I didn&#039;t put (starting with 1) as the basic row, then rows 2 and 3 are shifted by 1, rows 4,5,6,9 are shifted by 2, rows 7,8,10,11,12,13,15 are shifted by 3, and rows 14,16,17 are shifted by 4. (The shifts at powers of 2 obviously have to be what they are.)

In the Polymath spirit, I am mentioning this straight away rather than trying to work out exactly what is going on and reporting back. One question I&#039;d like to answer is whether the sequence +  -  +  -  -  +  -  - +  -  +  is compatible with a period that is related to the golden ratio. I very much hope so as I haven&#039;t quite let go of that little fantasy. (That&#039;s the sequence of values at 1,2,4,8,16,32,64,128,256,512,1024.) Another is whether everything continues to work wonderfully well if you look at powers of 3, though the sequences will be a bit short. Here&#039;s what the values are at 1,3,9,27,81,243,729:  +  +  +  +  -  -  -.  And at twice those numbers: -  -  -  +  +  +.  Hmm, it&#039;s looking pretty good!]]></description>
		<content:encoded><![CDATA[<p>I have just tried a little computational (but simple enough to do by hand) experiment on the first 1124 sequence, and am absolutely fascinated by the result. Indeed, I now think there&#8217;s a real chance that we will be able to understand what this sequence is and perhaps even define an infinite extension of it.</p>
<p>The experiment was very simple. I took the numbers <img src='http://s0.wp.com/latex.php?latex=n%3D1%2C2%2C3%2C4%2C...&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n=1,2,3,4,...' title='n=1,2,3,4,...' class='latex' /> in turn and for each <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' /> I wrote out the values at <img src='http://s0.wp.com/latex.php?latex=n%2C+2n%2C+4n%2C+8n%2C+16n%2C%5Cdots&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='n, 2n, 4n, 8n, 16n,&#92;dots' title='n, 2n, 4n, 8n, 16n,&#92;dots' class='latex' />. Here is a table of the results. I start with what n is and then give the values. I have deliberately shifted the rows by varying amounts (I hope it will come out nicely when I submit the comment, but if not then perhaps someone like Thomas can produce a nicer table). Added later: sorry, it hasn&#8217;t come out all that well, so a proper table would be great.</p>
<p>2:  &#8211;  +  &#8211;  &#8211;  +  &#8211;  &#8211;  +  &#8211;  +<br />
3:  +  &#8211;  +  +  &#8211;  +  +  &#8211;  +<br />
4:   .   +  &#8211;  &#8211;  +  &#8211;  &#8211;  +  &#8211;  +<br />
5:   .   &#8211;  +  +  &#8211;  +  +  &#8211;  +<br />
6:   .   &#8211;  +  +  &#8211;  +  +  &#8211;  +<br />
7:   .    .   &#8211;  +  &#8211;  +  +  &#8211;  +  -<br />
8:   .    .   &#8211;  &#8211;  +  &#8211;   &#8211;  +  &#8211;  +<br />
9:   .   +  &#8211;  &#8211;  +  &#8211;   &#8211;  +  -<br />
10: .    .   +  + &#8211;  +  +  &#8211;  +<br />
11: .    .   &#8211;   &#8211;  +  &#8211;  &#8211;  +  -<br />
12: .    .   +  +  &#8211;  +  +  &#8211;  +<br />
13: .    .   +  +  &#8211;  +  +  &#8211;  +<br />
14: .    .    .   +  &#8211;  +  +  &#8211;  +  -<br />
15: .    .    &#8211;  &#8211;   + &#8211;  &#8211;  +  -<br />
16: .    .    .    &#8211;  +  &#8211;  &#8211;  +  &#8211;  +<br />
17: .    .    .    +  &#8211;  +  +  &#8211;  +  -</p>
<p>What I find remarkable about this table is just how perfect it is. The only anomalous value is <img src='http://s0.wp.com/latex.php?latex=x_7&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x_7' title='x_7' class='latex' /> (which will come as no surprise to Mark). If you changed that, then everything would be a shift, or minus a shift, of the sequence that you get for 2. (Perhaps I should have started with the row at 1.) Also, the row for 2 looks to me very like a &#8220;periodic sequence with irrational period&#8221;. Could it be the golden ratio? Also, it is notable that the amount you shift is closely related to the size of the number. So if we count the row I didn&#8217;t put (starting with 1) as the basic row, then rows 2 and 3 are shifted by 1, rows 4,5,6,9 are shifted by 2, rows 7,8,10,11,12,13,15 are shifted by 3, and rows 14,16,17 are shifted by 4. (The shifts at powers of 2 obviously have to be what they are.)</p>
<p>In the Polymath spirit, I am mentioning this straight away rather than trying to work out exactly what is going on and reporting back. One question I&#8217;d like to answer is whether the sequence +  &#8211;  +  &#8211;  &#8211;  +  &#8211;  &#8211; +  &#8211;  +  is compatible with a period that is related to the golden ratio. I very much hope so as I haven&#8217;t quite let go of that little fantasy. (That&#8217;s the sequence of values at 1,2,4,8,16,32,64,128,256,512,1024.) Another is whether everything continues to work wonderfully well if you look at powers of 3, though the sequences will be a bit short. Here&#8217;s what the values are at 1,3,9,27,81,243,729:  +  +  +  +  &#8211;  &#8211;  -.  And at twice those numbers: &#8211;  &#8211;  &#8211;  +  +  +.  Hmm, it&#8217;s looking pretty good!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: obryant</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5171</link>
		<dc:creator><![CDATA[obryant]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 15:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5171</guid>
		<description><![CDATA[Yes, I only calculated the drift of intervals that are completed determined. The calculation took less than a minute for drift=5. The computation for drift=6 ran for 10 hours and still was only about 40% done. The easy 40% (biased toward +&#039;s and away from -&#039;s), actually.

The code isn&#039;t optimized, and actually is running in Mathematica, so the timing isn&#039;t interesting. The ratio of time is, however. The COMBINATORIAL EXPLOSION happens between drift=5 and drift=6.

Perhaps interesting is that the longest branches of the trees seem to be of the alternating sign sort. Sometimes two plusses followed by two minuses.]]></description>
		<content:encoded><![CDATA[<p>Yes, I only calculated the drift of intervals that are completed determined. The calculation took less than a minute for drift=5. The computation for drift=6 ran for 10 hours and still was only about 40% done. The easy 40% (biased toward +&#8217;s and away from -&#8217;s), actually.</p>
<p>The code isn&#8217;t optimized, and actually is running in Mathematica, so the timing isn&#8217;t interesting. The ratio of time is, however. The COMBINATORIAL EXPLOSION happens between drift=5 and drift=6.</p>
<p>Perhaps interesting is that the longest branches of the trees seem to be of the alternating sign sort. Sometimes two plusses followed by two minuses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5170</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 15:47:34 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5170</guid>
		<description><![CDATA[I hope that if one of us has made a mistake then it&#039;s me, as I wasn&#039;t very pleased about the sudden jump from 2 to 4. My justification for that assertion was &lt;a href=&quot;http://gowers.wordpress.com/2010/01/11/the-erds-discrepancy-problem-iii/#comment-5074&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. If I have a moment, I&#039;ll check it again.]]></description>
		<content:encoded><![CDATA[<p>I hope that if one of us has made a mistake then it&#8217;s me, as I wasn&#8217;t very pleased about the sudden jump from 2 to 4. My justification for that assertion was <a href="http://gowers.wordpress.com/2010/01/11/the-erds-discrepancy-problem-iii/#comment-5074" rel="nofollow">here</a>. If I have a moment, I&#8217;ll check it again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Edgington</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5169</link>
		<dc:creator><![CDATA[Alec Edgington]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 15:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5169</guid>
		<description><![CDATA[The good news for greedy algorithms is that you don&#039;t have to change the values at any primes less than 71 if you want a long discrepancy-3 sequence. I&#039;ve found one of length 545 (now on the wiki) that agrees at primes up to 67 with the maximal discrepancy-2 sequences, and that retains discrepancy 2 up to 243.

But this seems to contradict your earlier observation, so maybe one of us has made a mistake?]]></description>
		<content:encoded><![CDATA[<p>The good news for greedy algorithms is that you don&#8217;t have to change the values at any primes less than 71 if you want a long discrepancy-3 sequence. I&#8217;ve found one of length 545 (now on the wiki) that agrees at primes up to 67 with the maximal discrepancy-2 sequences, and that retains discrepancy 2 up to 243.</p>
<p>But this seems to contradict your earlier observation, so maybe one of us has made a mistake?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5168</link>
		<dc:creator><![CDATA[gowers]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 15:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5168</guid>
		<description><![CDATA[Oops, yes I did indeed want conjugates there. As I expected, the parameter is larger, but I have to admit that I thought it would be larger still. But it&#039;s interesting to see this.]]></description>
		<content:encoded><![CDATA[<p>Oops, yes I did indeed want conjugates there. As I expected, the parameter is larger, but I have to admit that I thought it would be larger still. But it&#8217;s interesting to see this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alec Edgington</title>
		<link>http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/#comment-5167</link>
		<dc:creator><![CDATA[Alec Edgington]]></dc:creator>
		<pubDate>Sat, 16 Jan 2010 14:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://gowers.wordpress.com/?p=1456#comment-5167</guid>
		<description><![CDATA[Started with $latex x_7 = +1$, I mean.]]></description>
		<content:encoded><![CDATA[<p>Started with <img src='http://s0.wp.com/latex.php?latex=x_7+%3D+%2B1&amp;bg=ffffff&amp;fg=333333&amp;s=0' alt='x_7 = +1' title='x_7 = +1' class='latex' />, I mean.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
