<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://michaelnielsen.org/polymath/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SuneJ</id>
	<title>Polymath Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://michaelnielsen.org/polymath/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SuneJ"/>
	<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Special:Contributions/SuneJ"/>
	<updated>2026-04-22T00:18:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3055</id>
		<title>Pseudointegers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3055"/>
		<updated>2010-02-23T08:17:24Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We have been considering more than one type of &amp;quot;pseudointegers&amp;quot;, but here is the most general I think is useful in the EDP (I think we should create another article about [[EDP on pseudointegers]]):&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;set of pseudointegers&#039;&#039; is the set &amp;lt;math&amp;gt;X=l_0(\mathbb{N}_0)&amp;lt;/math&amp;gt; of sequences over the non-negative integers that are 0 from some point, with a total ordering that fulfills:&lt;br /&gt;
* &amp;lt;math&amp;gt;a\geq b, c\geq d \Rightarrow ac\geq bd&amp;lt;/math&amp;gt; and&lt;br /&gt;
* &amp;lt;math&amp;gt;\forall a\in X: |\{b\in X|b&amp;lt;a\}|&amp;lt;\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here multiplication is defined by termwise addition: &amp;lt;math&amp;gt;ab=(a_1,a_2,\dots)(b_1,b_2,\dots)=(a_1+b_1,a_2+b_2)&amp;lt;/math&amp;gt;. For simplicity we furthermore assume that &amp;lt;math&amp;gt;p_1=(1,0,0,\dots)&amp;lt;p_2=(0,1,0,\dots)&amp;lt;...&amp;lt;/math&amp;gt; is an increasing sequence. These pseudointegers are called (pseudo)primes. &lt;br /&gt;
&lt;br /&gt;
==Logarithm and &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
We would like to find a function &amp;lt;math&amp;gt;\varphi: X\to \mathbb{R}&amp;lt;/math&amp;gt; that preserves multiplication and order. In general, this function will not be injective. Look at a fixed element &amp;lt;math&amp;gt;x\in X, x\neq (0,0,0,\dots)&amp;lt;/math&amp;gt;. We now define the logarithm in base x by &lt;br /&gt;
&amp;lt;math&amp;gt;\log_x(y)=\sup\{a/b|a\in\mathbb{N}_0,b\in \mathbb{N},x^a\leq y^b\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
This function fulfills some basis formulas&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(x)=1&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;gt; log_x(y)\Rightarrow x^a&amp;gt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;lt; log_x(y)\Rightarrow x^a&amp;lt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\forall y\in X\setminus \{(0,0,\dots)\}: \log_x(y)\in (0,\infty)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(yz)=\log_x(y)+\log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z \Rightarrow\log_x(y)\leq \log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(z)=\log_y(z)\log_x(y)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
1: We have &amp;lt;math&amp;gt;x^1\leq x^1&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\log_x(x)\geq 1/1=1&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a&amp;gt;b&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;x^a&amp;gt;x^b&amp;lt;/math&amp;gt;, since otherwise &amp;lt;math&amp;gt;x^{b+n(a-b)}&amp;lt;/math&amp;gt; would be an infinite decreasing sequence. This shows &amp;lt;math&amp;gt;\log_x(x)\leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
2: If &amp;lt;math&amp;gt;a/b&amp;gt;log_x(y)&amp;lt;/math&amp;gt;, a/b can&#039;t be in the set we take sup of. So &amp;lt;math&amp;gt;x^a&amp;gt; y^b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
3: For &amp;lt;math&amp;gt;y=(0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\log_x(y)=0&amp;lt;/math&amp;gt; and the theorem is true, so we may assume &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a/b &amp;lt;\log_x(y)&amp;lt;/math&amp;gt; we can find c and d so that &amp;lt;math&amp;gt;a/b&amp;lt;c/d&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c\leq y^d&amp;lt;/math&amp;gt;. Now we have &amp;lt;math&amp;gt;(x^a)^{bc}=x^{abc}\leq y^{abd}=(y^b)^{ad}&amp;lt;/math&amp;gt; and using &amp;lt;math&amp;gt;ad&amp;lt;bd&amp;lt;/math&amp;gt; and that the power function is increasing for &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; (see the proof of 1) we get &amp;lt;math&amp;gt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4: If &amp;lt;math&amp;gt;\log_x(y)\leq 0&amp;lt;/math&amp;gt; (2) tells us that &amp;lt;math&amp;gt;x^1&amp;gt;y^n&amp;lt;/math&amp;gt; for all n. But that we have a infinite bounded sequence which contradicts an axiom of the ordering on the pseudointegers. If &amp;lt;math&amp;gt;\log_x(y)=\infty&amp;lt;/math&amp;gt; (3) tells us that &amp;lt;math&amp;gt;x^n&amp;lt;y^1&amp;lt;/math&amp;gt; for all n. Again we get a contradiction.&lt;br /&gt;
&lt;br /&gt;
5: First I show &amp;lt;math&amp;gt;\log_x(yz)\leq \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(yz)&amp;gt; \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a_1,a_2,b&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\frac{a_1}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a_2}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;. Form (2) we know that &amp;lt;math&amp;gt;x^{a_1}&amp;gt;y^b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^{a_2}&amp;gt;z^b&amp;lt;/math&amp;gt;. And thus &amp;lt;math&amp;gt;x^{a_1+a_2}&amp;gt;y^bz^b=(yz)^b&amp;lt;/math&amp;gt;. Using (3) we get a contradiction with &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
6: This is equivalent to &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)\Rightarrow y&amp;gt;z&amp;lt;/math&amp;gt;, so assume that &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\frac{a}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. This implies &amp;lt;math&amp;gt;z^b&amp;lt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;z&amp;lt;y&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
7: First I show that &amp;lt;math&amp;gt;\log_x(z)\leq \log_y(z)\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\log_y(z)\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a,b,c\in\mathbb{N}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\frac{a}{b}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a}{c}&amp;gt;\log_y(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\frac{c}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;. Using (2) we get &amp;lt;math&amp;gt;y^a&amp;gt;z^c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c&amp;gt;y^b&amp;lt;/math&amp;gt; and from this we get &amp;lt;math&amp;gt;x^{ac}&amp;gt;y^{ab}&amp;gt;z^{bc}&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;x^a&amp;gt;z^b&amp;lt;/math&amp;gt; contradicting &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\frac{a}{b}&amp;lt;/math&amp;gt;. The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
We can now define a function &amp;lt;math&amp;gt;\varphi_x(y)=e^{\log_x(y)}&amp;lt;/math&amp;gt;. For this function we have:&lt;br /&gt;
# &amp;lt;math&amp;gt;\varphi_x(yz)=\varphi_x(y)\varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z\Rightarrow\varphi_x(y)\leq \varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Densities of the pseudointegers divisible by y==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n_p&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;n\in\mathbb{N}&amp;lt;/math&amp;gt; denote the nth pseudointeger (here p stands for pseudo, it is not a variable) and let &amp;lt;math&amp;gt;[n_p]&amp;lt;/math&amp;gt; denote the set of the n smallest pseudointegers. We define the &#039;&#039;density of the pseudointegers divisible by y&#039;&#039; to be &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d_y=\lim_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\lim_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if the limit exist. Clearly &amp;lt;math&amp;gt;d_y\in [0,1]&amp;lt;/math&amp;gt; if the limit exist. More generally we can always define&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;i_y=\liminf_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\liminf_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;s_y=\limsup_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\limsup_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using that the set &amp;lt;math&amp;gt;\{z\in X|yz\leq n_p\}&amp;lt;/math&amp;gt; is a set of the form &amp;lt;math&amp;gt;[m_p]&amp;lt;/math&amp;gt; for some m, we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\{z\in X|xyz\leq n_p\}=\{z\in X|x(yz)\leq n_p\}=\{z\in X|yz\in\{a\in X|xa\leq n_p\}\}=\{z\in X|yz\leq|\{a\in X|xa\leq n_p\}|_p\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get the inequalities: &amp;lt;math&amp;gt;i_xi_y\leq i_{xy} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s_{xy}\leq s_xs_y&amp;lt;/math&amp;gt;. In particular if &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists, then &amp;lt;math&amp;gt;d_{xy}&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_{xy}=d_xd_y&amp;lt;/math&amp;gt;. By induction we get that &amp;lt;math&amp;gt;d_{x^n}&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_{x^n}=d_x^n&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;x\leq y&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\{z\in X|yz\leq n_p\}\subset \{z\in X|yz\leq n_p\}&amp;lt;/math&amp;gt; so in general &amp;lt;math&amp;gt;i_y\leq i_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s_y\leq s_x&amp;lt;/math&amp;gt; and if both densities exists &amp;lt;math&amp;gt;d_y\leq d_x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;d_x=1&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;x\neq (0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;d_{x^n}=1&amp;lt;/math&amp;gt; of all n, and for any y there is a n so that &amp;lt;math&amp;gt;y\geq x^n&amp;lt;/math&amp;gt;. This gives us &amp;lt;math&amp;gt;1=i_{x^n}\leq i_y&amp;lt;/math&amp;gt; which implies that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists for any y and &amp;lt;math&amp;gt;d_y=1&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;d_x=0&amp;lt;/math&amp;gt; for some x then for any &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_y=0&amp;lt;/math&amp;gt;: Assume for contradiction that &amp;lt;math&amp;gt;s_y&amp;gt;0&amp;lt;/math&amp;gt;. Then for some n, &amp;lt;math&amp;gt;y^n\geq x&amp;lt;/math&amp;gt;. This implies that &amp;lt;math&amp;gt;s_y^n=s_{y^n}\leq s_x=0&amp;lt;/math&amp;gt;. Contradiction.&lt;br /&gt;
&lt;br /&gt;
Assume that &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt;. Now we know that &amp;lt;math&amp;gt;d_y\in (0,1)&amp;lt;/math&amp;gt; (I haven&#039;t been able to show this without the assumption that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists). We know that for &amp;lt;math&amp;gt;a,b\in \mathbb{N}&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{a}{b}&amp;gt;\log_x(y)\Rightarrow x^a&amp;gt;y^b\Rightarrow d_{x^a}\leq d_{y^b}\Rightarrow d_x^a\leq d_y^b\Rightarrow a\log(d_x)\leq b\log(d_y)\Rightarrow \frac{a}{b}\geq \frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(notice that log are taken on numbers in (0,1) so they are negative) where &amp;lt;math&amp;gt;log&amp;lt;/math&amp;gt; is the usual logarithm on the reals. Similarly we get &amp;lt;math&amp;gt;\frac{a}{b}&amp;lt;\log_x(y)\Rightarrow \frac{a}{b}\leq \frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;. This tells us that &amp;lt;math&amp;gt;\log_x(y)=\frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;. From this we get that &amp;lt;math&amp;gt;-\log(d_x)\log_x(z)=-\log(d_x)\log_y(z)\log_x(y)=-\log(d_y)\log_y(z)&amp;lt;/math&amp;gt;, so the function &amp;lt;math&amp;gt;\log: X\to \mathbb{R}&amp;lt;/math&amp;gt; defined by &amp;lt;math&amp;gt;\log(z)=-\log(d_x)\log_x(z)&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;x\in X&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt;, doesn&#039;t depend on the x we choose. From this function we define &amp;lt;math&amp;gt;\varphi(z)=e^{\log(z)}&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;d_z&amp;lt;/math&amp;gt; exists (again, it would be nice to find a proof that it does or to prove that it does have to) we know that &amp;lt;math&amp;gt;\varphi(z)=e^{\log(z)}=e^{-\log(d_z)\log_z(z)}=(e^{\log(d_z)})^{-1}=\frac{1}{d_z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Density of the set of pseudointegers==&lt;br /&gt;
&lt;br /&gt;
If there exists a &amp;lt;math&amp;gt;x\in X: d_x\in (0,1)&amp;lt;/math&amp;gt;, we define&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,n]|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if the limit exist. This limit can be greater than 1 and for the integers it is 1. This means that looking only at the structure of X, we can &amp;quot;see if there is too few/many pseudointegers&amp;quot; compared to the integers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Here I would like to have a proof that d exists under some assumptions. Using the next paragraph this would imply that &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; exists for all &amp;lt;math&amp;gt;x\in X&amp;lt;/math&amp;gt;. I don&#039;t think it is enough to assume that &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt; for one x, but it might be enough to assume that &amp;lt;math&amp;gt;d_x,d_y \in (0,1)&amp;lt;/math&amp;gt; for some x,y such that &amp;lt;math&amp;gt;\log_x(y)&amp;lt;/math&amp;gt; is irrational.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==From &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;\varphi: X \to\mathbb{R}&amp;lt;/math&amp;gt; be any function such that &amp;lt;math&amp;gt;\varphi(x)\varphi(y)=\varphi(xy)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x\leq y \Rightarrow \varphi(x)\leq \varphi(y)&amp;lt;/math&amp;gt;, and such that the density&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,n]|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
exists and &amp;lt;math&amp;gt;d\in (0,\infty)&amp;lt;/math&amp;gt; (in particular this implies that &amp;lt;math&amp;gt;\lim_{n\to\infty}\varphi(n_p)=\infty&amp;lt;/math&amp;gt;). We can now find &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d_x=\lim_{n\to\infty}\frac{|\{z\in X|xz\leq n_p\}|}{n}=\lim_{n\to\infty}\frac{|\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}|}{|\{z\in X|\varphi(z)\leq \varphi(n_p)\}|}=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,\frac{\varphi(n_p)}{\varphi(x)}]|}{\varphi(n_p)}\frac{\varphi(n_p)}{|\varphi(X)\cap (0,\varphi(n_p)]|}=\frac{1}{\varphi(x)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that in general we don&#039;t have &amp;lt;math&amp;gt;\{z\in X|xz\leq n_p\}=\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}&amp;lt;/math&amp;gt; but &amp;lt;math&amp;gt;\{z\in X|\varphi(x)\varphi(z)&amp;lt; \varphi(n_p)\}\subset\{z\in X|xz\leq n_p\}\subset\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}&amp;lt;/math&amp;gt;. The above works because we are taking limits.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3053</id>
		<title>Pseudointegers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3053"/>
		<updated>2010-02-21T19:44:31Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We have been considering more than one type of &amp;quot;pseudointegers&amp;quot;, but here is the most general I think is useful in the EDP (I think we should create another article about [[EDP on pseudointegers]]):&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;set of pseudointegers&#039;&#039; is the set &amp;lt;math&amp;gt;X=l_0(\mathbb{N}_0)&amp;lt;/math&amp;gt; of sequences over the non-negative integers that are 0 from some point, with a total ordering that fulfills:&lt;br /&gt;
* &amp;lt;math&amp;gt;a\geq b, c\geq d \Rightarrow ac\geq bd&amp;lt;/math&amp;gt; and&lt;br /&gt;
* &amp;lt;math&amp;gt;\forall a\in X: |\{b\in X|b&amp;lt;a\}|&amp;lt;\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here multiplication is defined by termwise addition: &amp;lt;math&amp;gt;ab=(a_1,a_2,\dots)(b_1,b_2,\dots)=(a_1+b_1,a_2+b_2)&amp;lt;/math&amp;gt;. For simplicity we furthermore assume that &amp;lt;math&amp;gt;p_1=(1,0,0,\dots)&amp;lt;p_2=(0,1,0,\dots)&amp;lt;...&amp;lt;/math&amp;gt; is an increasing sequence. These pseudointegers are called (pseudo)primes. &lt;br /&gt;
&lt;br /&gt;
==Logarithm and &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
We would like to find a function &amp;lt;math&amp;gt;\varphi: X\to \mathbb{R}&amp;lt;/math&amp;gt; that preserves multiplication and order. In general, this function will not be injective. Look at a fixed element &amp;lt;math&amp;gt;x\in X, x\neq (0,0,0,\dots)&amp;lt;/math&amp;gt;. We now define the logarithm in base x by &lt;br /&gt;
&amp;lt;math&amp;gt;\log_x(y)=\sup\{a/b|a\in\mathbb{N}_0,b\in \mathbb{N},x^a\leq y^b\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
This function fulfills some basis formulas&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(x)=1&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;gt; log_x(y)\Rightarrow x^a&amp;gt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;lt; log_x(y)\Rightarrow x^a&amp;lt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\forall y\in X\setminus \{(0,0,\dots)\}: \log_x(y)\in (0,\infty)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(yz)=\log_x(y)+\log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z \Rightarrow\log_x(y)\leq \log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(z)=\log_y(z)\log_x(y)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
1: We have &amp;lt;math&amp;gt;x^1\leq x^1&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\log_x(x)\geq 1/1=1&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a&amp;gt;b&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;x^a&amp;gt;x^b&amp;lt;/math&amp;gt;, since otherwise &amp;lt;math&amp;gt;x^{b+n(a-b)}&amp;lt;/math&amp;gt; would be an infinite decreasing sequence. This shows &amp;lt;math&amp;gt;\log_x(x)\leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
2: If &amp;lt;math&amp;gt;a/b&amp;gt;log_x(y)&amp;lt;/math&amp;gt;, a/b can&#039;t be in the set we take sup of. So &amp;lt;math&amp;gt;x^a&amp;gt; y^b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
3: For &amp;lt;math&amp;gt;y=(0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\log_x(y)=0&amp;lt;/math&amp;gt; and the theorem is true, so we may assume &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a/b &amp;lt;\log_x(y)&amp;lt;/math&amp;gt; we can find c and d so that &amp;lt;math&amp;gt;a/b&amp;lt;c/d&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c\leq y^d&amp;lt;/math&amp;gt;. Now we have &amp;lt;math&amp;gt;(x^a)^{bc}=x^{abc}\leq y^{abd}=(y^b)^{ad}&amp;lt;/math&amp;gt; and using &amp;lt;math&amp;gt;ad&amp;lt;bd&amp;lt;/math&amp;gt; and that the power function is increasing for &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; (see the proof of 1) we get &amp;lt;math&amp;gt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4: If &amp;lt;math&amp;gt;\log_x(y)\leq 0&amp;lt;/math&amp;gt; (2) tells us that &amp;lt;math&amp;gt;x^1&amp;gt;y^n&amp;lt;/math&amp;gt; for all n. But that we have a infinite bounded sequence which contradicts an axiom of the ordering on the pseudointegers. If &amp;lt;math&amp;gt;\log_x(y)=\infty&amp;lt;/math&amp;gt; (3) tells us that &amp;lt;math&amp;gt;x^n&amp;lt;y^1&amp;lt;/math&amp;gt; for all n. Again we get a contradiction.&lt;br /&gt;
&lt;br /&gt;
5: First I show &amp;lt;math&amp;gt;\log_x(yz)\leq \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(yz)&amp;gt; \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a_1,a_2,b&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\frac{a_1}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a_2}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;. Form (2) we know that &amp;lt;math&amp;gt;x^{a_1}&amp;gt;y^b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^{a_2}&amp;gt;z^b&amp;lt;/math&amp;gt;. And thus &amp;lt;math&amp;gt;x^{a_1+a_2}&amp;gt;y^bz^b=(yz)^b&amp;lt;/math&amp;gt;. Using (3) we get a contradiction with &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
6: This is equivalent to &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)\Rightarrow y&amp;gt;z&amp;lt;/math&amp;gt;, so assume that &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\frac{a}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. This implies &amp;lt;math&amp;gt;z^b&amp;lt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;z&amp;lt;y&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
7: First I show that &amp;lt;math&amp;gt;\log_x(z)\leq \log_y(z)\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\log_y(z)\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a,b,c\in\mathbb{N}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\frac{a}{b}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a}{c}&amp;gt;\log_y(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\frac{c}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;. Using (2) we get &amp;lt;math&amp;gt;y^a&amp;gt;z^c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c&amp;gt;y^b&amp;lt;/math&amp;gt; and from this we get &amp;lt;math&amp;gt;x^{ac}&amp;gt;y^{ab}&amp;gt;z^{bc}&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;x^a&amp;gt;z^b&amp;lt;/math&amp;gt; contradicting &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\frac{a}{b}&amp;lt;/math&amp;gt;. The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
We can now define a function &amp;lt;math&amp;gt;\varphi_x(y)=e^{\log_x(y)}&amp;lt;/math&amp;gt;. For this function we have:&lt;br /&gt;
# &amp;lt;math&amp;gt;\varphi_x(yz)=\varphi_x(y)\varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z\Rightarrow\varphi_x(y)\leq \varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Densities of the pseudointegers divisible by y==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n_p&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;n\in\mathbb{N}&amp;lt;/math&amp;gt; denote the nth pseudointeger (here p stands for pseudo, it is not a variable) and let &amp;lt;math&amp;gt;[n_p]&amp;lt;/math&amp;gt; denote the set of the n smallest pseudointegers. We define the &#039;&#039;density of the pseudointegers divisible by y&#039;&#039; to be &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d_y=\lim_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\lim_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if the limit exist. Clearly &amp;lt;math&amp;gt;d_y\in [0,1]&amp;lt;/math&amp;gt; if the limit exist. More generally we can always define&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;i_y=\liminf_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\liminf_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;s_y=\limsup_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\limsup_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using that the set &amp;lt;math&amp;gt;\{z\in X|yz\leq n_p\}&amp;lt;/math&amp;gt; is a set of the form &amp;lt;math&amp;gt;[m_p]&amp;lt;/math&amp;gt; for some m, we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\{z\in X|xyz\leq n_p\}=\{z\in X|x(yz)\leq n_p\}=\{z\in X|yz\in\{a\in X|xa\leq n_p\}\}=\{z\in X|yz\leq|\{a\in X|xa\leq n_p\}|_p\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get the inequalities: &amp;lt;math&amp;gt;i_xi_y\leq i_{xy} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s_{xy}\leq s_xs_y&amp;lt;/math&amp;gt;. In particular if &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists, then &amp;lt;math&amp;gt;d_{xy}&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_{xy}=d_xd_y&amp;lt;/math&amp;gt;. By induction we get that &amp;lt;math&amp;gt;d_{x^n}&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_{x^n}=d_x^n&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;x\leq y&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\{z\in X|yz\leq n_p\}\subset \{z\in X|yz\leq n_p\}&amp;lt;/math&amp;gt; so in general &amp;lt;math&amp;gt;i_y\leq i_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s_y\leq s_x&amp;lt;/math&amp;gt; and if both densities exists &amp;lt;math&amp;gt;d_y\leq d_x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;d_x=1&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;x\neq (0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;d_{x^n}=1&amp;lt;/math&amp;gt; of all n, and for any y there is a n so that &amp;lt;math&amp;gt;y\geq x^n&amp;lt;/math&amp;gt;. This gives us &amp;lt;math&amp;gt;1=i_{x^n}\leq i_y&amp;lt;/math&amp;gt; which implies that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists for any y and &amp;lt;math&amp;gt;d_y=1&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;d_x=0&amp;lt;/math&amp;gt; for some x then for any &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_y=0&amp;lt;/math&amp;gt;: Assume for contradiction that &amp;lt;math&amp;gt;s_y&amp;gt;0&amp;lt;/math&amp;gt;. Then for some n, &amp;lt;math&amp;gt;y^n\geq x&amp;lt;/math&amp;gt;. This implies that &amp;lt;math&amp;gt;s_y^n=s_{y^n}\leq s_x=0&amp;lt;/math&amp;gt;. Contradiction.&lt;br /&gt;
&lt;br /&gt;
Assume that &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt;. Now we know that &amp;lt;math&amp;gt;d_y\in (0,1)&amp;lt;/math&amp;gt; (I haven&#039;t been able to show this without the assumption that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists). We know that for &amp;lt;math&amp;gt;a,b\in \mathbb{N}&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{a}{b}&amp;gt;\log_x(y)\Rightarrow x^a&amp;gt;y^b\Rightarrow d_{x^a}\leq d_{y^b}\Rightarrow d_x^a\leq d_y^b\Rightarrow a\log(d_x)\leq b\log(d_y)\Rightarrow \frac{a}{b}\geq \frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(notice that log are taken on numbers in (0,1) so they are negative) where &amp;lt;math&amp;gt;log&amp;lt;/math&amp;gt; is the usual logarithm on the reals. Similarly we get &amp;lt;math&amp;gt;\frac{a}{b}&amp;lt;\log_x(y)\Rightarrow \frac{a}{b}\leq \frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;. This tells us that &amp;lt;math&amp;gt;\log_x(y)=\frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;. From this we get that &amp;lt;math&amp;gt;-\log(d_x)\log_x(z)=-\log(d_x)\log_y(z)\log_x(y)=-\log(d_y)\log_y(z)&amp;lt;/math&amp;gt;, so the function &amp;lt;math&amp;gt;\log: X\to \mathbb{R}&amp;lt;/math&amp;gt; defined by &amp;lt;math&amp;gt;\log(z)=-\log(d_x)\log_x(z)&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;x\in X&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt;, doesn&#039;t depend on the x we choose. From this function we define &amp;lt;math&amp;gt;\varphi(z)=e^{\log(z)}&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;d_z&amp;lt;/math&amp;gt; exists (again, it would be nice to find a proof that it does or to prove that it does have to) we know that &amp;lt;math&amp;gt;\varphi(z)=e^{\log(z)}=e^{-\log(d_z)\log_z(z)}=(e^{\log(d_z)})^{-1}=\frac{1}{d_z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Density of the set of pseudointegers==&lt;br /&gt;
&lt;br /&gt;
If there exists a &amp;lt;math&amp;gt;x\in X: d_x\in (0,1)&amp;lt;/math&amp;gt;, we define&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,n]|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if the limit exist. This limit can be greater than 1 and for the integers it is 1. This means that looking only at the structure of X, we can &amp;quot;see if there is too few/many pseudointegers&amp;quot; compared to the integers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Here I would like to have a proof that d exists under some assumptions. Using the next paragraph this would imply that &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; exists for all &amp;lt;math&amp;gt;x\in X&amp;lt;/math&amp;gt;. I don&#039;t think it is enough to assume that &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt; for one x, but it might be enough to assume that &amp;lt;math&amp;gt;d_x,d_y \in (0,1)&amp;lt;/math&amp;gt; for some x,y such that &amp;lt;math&amp;gt;\log_x(y)&amp;lt;/math&amp;gt; is irrational.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==From &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;\varphi: X \to\mathbb{R}&amp;lt;/math&amp;gt; be any function such that &amp;lt;math&amp;gt;\varphi(x)\varphi(y)=\varphi(xy)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x\leq y \Rightarrow \varphi(x)\leq \varphi(y)&amp;lt;/math&amp;gt;, and such that the density&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,n]|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
exists (in particular this implies that &amp;lt;math&amp;gt;\lim_{n\to\infty}\varphi(n_p)=\infty&amp;lt;/math&amp;gt;). We can now find &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d_x=\lim_{n\to\infty}\frac{|\{z\in X|xz\leq n_p\}|}{n}=\lim_{n\to\infty}\frac{|\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}|}{|\{z\in X|\varphi(z)\leq \varphi(n_p)\}|}=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,\frac{\varphi(n_p)}{\varphi(x)}]|}{\varphi(n_p)}\frac{\varphi(n_p)}{|\varphi(X)\cap (0,\varphi(n_p)]|}=\frac{1}{\varphi(x)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that in general we don&#039;t have &amp;lt;math&amp;gt;\{z\in X|xz\leq n_p\}=\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}&amp;lt;/math&amp;gt; but &amp;lt;math&amp;gt;\{z\in X|\varphi(x)\varphi(z)&amp;lt; \varphi(n_p)\}\subset\{z\in X|xz\leq n_p\}\subset\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}&amp;lt;/math&amp;gt;. The above works because we are taking limits.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3052</id>
		<title>Pseudointegers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3052"/>
		<updated>2010-02-21T19:34:11Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We have been considering more than one type of &amp;quot;pseudointegers&amp;quot;, but here is the most general I think is useful in the EDP (I think we should create another article about [[EDP on pseudointegers]]):&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;set of pseudointegers&#039;&#039; is the set &amp;lt;math&amp;gt;X=l_0(\mathbb{N}_0)&amp;lt;/math&amp;gt; of sequences over the non-negative integers that are 0 from some point, with a total ordering that fulfills:&lt;br /&gt;
* &amp;lt;math&amp;gt;a\geq b, c\geq d \Rightarrow ac\geq bd&amp;lt;/math&amp;gt; and&lt;br /&gt;
* &amp;lt;math&amp;gt;\forall a\in X: |\{b\in X|b&amp;lt;a\}|&amp;lt;\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here multiplication is defined by termwise addition: &amp;lt;math&amp;gt;ab=(a_1,a_2,\dots)(b_1,b_2,\dots)=(a_1+b_1,a_2+b_2)&amp;lt;/math&amp;gt;. For simplicity we furthermore assume that &amp;lt;math&amp;gt;p_1=(1,0,0,\dots)&amp;lt;p_2=(0,1,0,\dots)&amp;lt;...&amp;lt;/math&amp;gt; is an increasing sequence. These pseudointegers are called (pseudo)primes. &lt;br /&gt;
&lt;br /&gt;
==Logarithm and &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
We would like to find a function &amp;lt;math&amp;gt;\varphi: X\to \mathbb{R}&amp;lt;/math&amp;gt; that preserves multiplication and order. In general, this function will not be injective. Look at a fixed element &amp;lt;math&amp;gt;x\in X, x\neq (0,0,0,\dots)&amp;lt;/math&amp;gt;. We now define the logarithm in base x by &lt;br /&gt;
&amp;lt;math&amp;gt;\log_x(y)=\sup\{a/b|a\in\mathbb{N}_0,b\in \mathbb{N},x^a\leq y^b\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
This function fulfills some basis formulas&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(x)=1&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;gt; log_x(y)\Rightarrow x^a&amp;gt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;lt; log_x(y)\Rightarrow x^a&amp;lt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\forall y\in X\setminus \{(0,0,\dots)\}: \log_x(y)\in (0,\infty)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(yz)=\log_x(y)+\log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z \Rightarrow\log_x(y)\leq \log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(z)=\log_y(z)\log_x(y)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
1: We have &amp;lt;math&amp;gt;x^1\leq x^1&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\log_x(x)\geq 1/1=1&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a&amp;gt;b&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;x^a&amp;gt;x^b&amp;lt;/math&amp;gt;, since otherwise &amp;lt;math&amp;gt;x^{b+n(a-b)}&amp;lt;/math&amp;gt; would be an infinite decreasing sequence. This shows &amp;lt;math&amp;gt;\log_x(x)\leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
2: If &amp;lt;math&amp;gt;a/b&amp;gt;log_x(y)&amp;lt;/math&amp;gt;, a/b can&#039;t be in the set we take sup of. So &amp;lt;math&amp;gt;x^a&amp;gt; y^b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
3: For &amp;lt;math&amp;gt;y=(0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\log_x(y)=0&amp;lt;/math&amp;gt; and the theorem is true, so we may assume &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a/b\ log_x(y)&amp;lt;/math&amp;gt; we can find c and d so that &amp;lt;math&amp;gt;a/b&amp;lt;c/d&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c\leq y^d&amp;lt;/math&amp;gt;. Now we have &amp;lt;math&amp;gt;(x^a)^{bc}=x^{abc}\leq y^{abd}=(y^b)^{ad}&amp;lt;/math&amp;gt; and using &amp;lt;math&amp;gt;ad&amp;lt;bd&amp;lt;/math&amp;gt; and that the power function is increasing for &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; (see the proof of 1) we get &amp;lt;math&amp;gt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4: If &amp;lt;math&amp;gt;\log_x(y)\leq 0&amp;lt;/math&amp;gt; (2) tells us that &amp;lt;math&amp;gt;x^1&amp;gt;y^n&amp;lt;/math&amp;gt; for all n. But that we have a infinite bounded sequence which contradicts an axiom of the ordering on the pseudointegers. If &amp;lt;math&amp;gt;\log_x(y)=\infty&amp;lt;/math&amp;gt; (3) tells us that &amp;lt;math&amp;gt;x^n&amp;lt;y^1&amp;lt;/math&amp;gt; for all n. Again we get a contradiction.&lt;br /&gt;
&lt;br /&gt;
5: First I show &amp;lt;math&amp;gt;\log_x(yz)\leq \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(yz)&amp;gt; \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a_1,a_2,b&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\frac{a_1}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a_2}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;. Form (2) we know that &amp;lt;math&amp;gt;x^{a_1}&amp;gt;y^b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^{a_2}&amp;gt;z^b&amp;lt;/math&amp;gt;. And thus &amp;lt;math&amp;gt;x^{a_1+a_2}&amp;gt;y^bz^b=(yz)^b&amp;lt;/math&amp;gt;. Using (3) we get a contradiction with &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
6: This is equivalent to &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)\Rightarrow y&amp;gt;z&amp;lt;/math&amp;gt;, so assume that &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\frac{a}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. This implies &amp;lt;math&amp;gt;z^b&amp;lt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;z&amp;lt;y&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
7: First I show that &amp;lt;math&amp;gt;\log_x(z)\leq \log_y(z)\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\log_y(z)\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a,b,c\in\mathbb{N}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\frac{a}{b}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a}{c}&amp;gt;\log_y(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\frac{c}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;. Using (2) we get &amp;lt;math&amp;gt;y^a&amp;gt;z^c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c&amp;gt;y^b&amp;lt;/math&amp;gt; and from this we get &amp;lt;math&amp;gt;x^{ac}&amp;gt;y^{ab}&amp;gt;z^{bc}&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;x^a&amp;gt;z^b&amp;lt;/math&amp;gt; contradicting &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\frac{a}{b}&amp;lt;/math&amp;gt;. The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
We can now define a function &amp;lt;math&amp;gt;\varphi_x(y)=e^{\log_x(y)}&amp;lt;/math&amp;gt;. For this function we have:&lt;br /&gt;
# &amp;lt;math&amp;gt;\varphi_x(yz)=\varphi_x(y)\varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z\Rightarrow\varphi_x(y)\leq \varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Densities of the pseudointegers divisible by y==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n_p&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;n\in\mathbb{N}&amp;lt;/math&amp;gt; denote the nth pseudointeger (here p stands for pseudo, it is not a variable) and let &amp;lt;math&amp;gt;[n_p]&amp;lt;/math&amp;gt; denote the set of the n smallest pseudointegers. We define the &#039;&#039;density of the pseudointegers divisible by y&#039;&#039; to be &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d_y=\lim_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\lim_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if the limit exist. Clearly &amp;lt;math&amp;gt;d_y\in [0,1]&amp;lt;/math&amp;gt; if the limit exist. More generally we can always define&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;i_y=\liminf_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\liminf_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;s_y=\limsup_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\limsup_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using that the set &amp;lt;math&amp;gt;\{z\in X|yz\leq n_p\}&amp;lt;/math&amp;gt; is a set of the form &amp;lt;math&amp;gt;[m_p]&amp;lt;/math&amp;gt; for some m, we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\{z\in X|xyz\leq n_p\}=\{z\in X|x(yz)\leq n_p\}=\{z\in X|yz\in\{a\in X|xa\leq n_p\}\}=\{z\in X|yz\leq|\{a\in X|xa\leq n_p\}|_p\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get the inequalities: &amp;lt;math&amp;gt;i_xi_y\leq i_{xy} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s_{xy}\leq s_xs_y&amp;lt;/math&amp;gt;. In particular if &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists, then &amp;lt;math&amp;gt;d_{xy}&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_{xy}=d_xd_y&amp;lt;/math&amp;gt;. By induction we get that &amp;lt;math&amp;gt;d_{x^n}&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_{x^n}=d_x^n&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;x\leq y&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\{z\in X|yz\leq n_p\}\subset \{z\in X|yz\leq n_p\}&amp;lt;/math&amp;gt; so in general &amp;lt;math&amp;gt;i_y\leq i_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s_y\leq s_x&amp;lt;/math&amp;gt; and if both densities exists &amp;lt;math&amp;gt;d_y\leq d_x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;d_x=1&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;x\neq (0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;d_{x^n}=1&amp;lt;/math&amp;gt; of all n, and for any y there is a n so that &amp;lt;math&amp;gt;y\geq x^n&amp;lt;/math&amp;gt;. This gives us &amp;lt;math&amp;gt;1=i_{x^n}\leq i_y&amp;lt;/math&amp;gt; which implies that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists for any y and &amp;lt;math&amp;gt;d_y=1&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;d_x=0&amp;lt;/math&amp;gt; for some x then for any &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_y=0&amp;lt;/math&amp;gt;: Assume for contradiction that &amp;lt;math&amp;gt;s_y&amp;gt;0&amp;lt;/math&amp;gt;. Then for some n, &amp;lt;math&amp;gt;y^n\geq x&amp;lt;/math&amp;gt;. This implies that &amp;lt;math&amp;gt;s_y^n=s_{y^n}\leq s_x=0&amp;lt;/math&amp;gt;. Contradiction.&lt;br /&gt;
&lt;br /&gt;
Assume that &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt;. Now we know that &amp;lt;math&amp;gt;d_y\in (0,1)&amp;lt;/math&amp;gt; (I haven&#039;t been able to show this without the assumption that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists). We know that for &amp;lt;math&amp;gt;a,b\in \mathbb{N}&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{a}{b}&amp;gt;\log_x(y)\Rightarrow x^a&amp;gt;y^b\Rightarrow d_{x^a}\leq d_{y^b}\Rightarrow d_x^a\leq d_y^b\Rightarrow a\log(d_x)\leq b\log(d_y)\Rightarrow \frac{a}{b}\geq \frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(notice that log are taken on numbers in (0,1) so they are negative) where &amp;lt;math&amp;gt;log&amp;lt;/math&amp;gt; is the usual logarithm on the reals. Similarly we get &amp;lt;math&amp;gt;\frac{a}{b}&amp;lt;\log_x(y)\Rightarrow \frac{a}{b}\leq \frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;. This tells us that &amp;lt;math&amp;gt;\log_x(y)=\frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;. From this we get that &amp;lt;math&amp;gt;-\log(d_x)\log_x(z)=-\log(d_x)\log_y(z)\log_x(y)=-\log(d_y)\log_y(z)&amp;lt;/math&amp;gt;, so the function &amp;lt;math&amp;gt;\log: X\to \mathbb{R}&amp;lt;/math&amp;gt; defined by &amp;lt;math&amp;gt;\log(z)=-\log(d_x)\log_x(z)&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;x\in X&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt;, doesn&#039;t depend on the x we choose. From this function we define &amp;lt;math&amp;gt;\varphi(z)=e^{\log(z)}&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;d_z&amp;lt;/math&amp;gt; exists (again, it would be nice to find a proof that it does or to prove that it does have to) we know that &amp;lt;math&amp;gt;\varphi(z)=e^{\log(z)}=e^{-\log(d_z)\log_z(z)}=(e^{\log(d_z)})^{-1}=\frac{1}{d_z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Density of the set of pseudointegers==&lt;br /&gt;
&lt;br /&gt;
If there exists a &amp;lt;math&amp;gt;x\in X: d_x\in (0,1)&amp;lt;/math&amp;gt;, we define&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,n]|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if the limit exist. This limit can be greater than 1 and for the integers it is 1. This means that looking only at the structure of X, we can &amp;quot;see if there is too few/many pseudointegers&amp;quot; compared to the integers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Here I would like to have a proof that d exists under some assumptions. Using the next paragraph this would imply that &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; exists for all &amp;lt;math&amp;gt;x\in X&amp;lt;/math&amp;gt;. I don&#039;t think it is enough to assume that &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt; for one x, but it might be enough to assume that &amp;lt;math&amp;gt;d_x,d_y \in (0,1)&amp;lt;/math&amp;gt; for some x,y such that &amp;lt;math&amp;gt;\log_x(y)&amp;lt;/math&amp;gt; is irrational.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==From &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;\varphi: X \to\mathbb{R}&amp;lt;/math&amp;gt; be any function such that &amp;lt;math&amp;gt;\varphi(x)\varphi(y)=\varphi(xy)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x\leq y \Rightarrow \varphi(x)\leq \varphi(y)&amp;lt;/math&amp;gt;, and such that the density&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,n]|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
exists (in particular this implies that &amp;lt;math&amp;gt;\lim_{n\to\infty}\varphi(n_p)=\infty&amp;lt;/math&amp;gt;). We can now find &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d_x=\lim_{n\to\infty}\frac{|\{z\in X|xz\leq n_p\}|}{n}=\lim_{n\to\infty}\frac{|\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}|}{|\{z\in X|\varphi(z)\leq \varphi(n_p)\}|}=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,\frac{\varphi(n_p)}{\varphi(x)}]|}{\varphi(n_p)}\frac{\varphi(n_p)}{|\varphi(X)\cap (0,\varphi(n_p)]|}=\frac{1}{\varphi(x)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that in general we don&#039;t have &amp;lt;math&amp;gt;\{z\in X|xz\leq n_p\}=\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}&amp;lt;/math&amp;gt; but &amp;lt;math&amp;gt;\{z\in X|\varphi(x)\varphi(z)&amp;lt; \varphi(n_p)\}\subset\{z\in X|xz\leq n_p\}\subset\{z\in X|\varphi(x)\varphi(z)\leq \varphi(n_p)\}&amp;lt;/math&amp;gt;. The above works because we are taking limits.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3051</id>
		<title>Pseudointegers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3051"/>
		<updated>2010-02-21T17:44:58Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We have been considering more than one type of &amp;quot;pseudointegers&amp;quot;, but here is the most general I think is useful in the EDP (I think we should create another article about [[EDP on pseudointegers]]):&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;set of pseudointegers&#039;&#039; is the set &amp;lt;math&amp;gt;X=l_0(\mathbb{N}_0)&amp;lt;/math&amp;gt; of sequences over the non-negative integers that are 0 from some point, with a total ordering that fulfills:&lt;br /&gt;
* &amp;lt;math&amp;gt;a\geq b, c\geq d \Rightarrow ac\geq bd&amp;lt;/math&amp;gt; and&lt;br /&gt;
* &amp;lt;math&amp;gt;\forall a\in X: |\{b\in X|b&amp;lt;a\}|&amp;lt;\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here multiplication is defined by termwise addition: &amp;lt;math&amp;gt;ab=(a_1,a_2,\dots)(b_1,b_2,\dots)=(a_1+b_1,a_2+b_2)&amp;lt;/math&amp;gt;. For simplicity we furthermore assume that &amp;lt;math&amp;gt;p_1=(1,0,0,\dots)&amp;lt;p_2=(0,1,0,\dots)&amp;lt;...&amp;lt;/math&amp;gt; is an increasing sequence. These pseudointegers are called (pseudo)primes. &lt;br /&gt;
&lt;br /&gt;
==Logarithm and &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
We would like to find a function &amp;lt;math&amp;gt;\varphi: X\to \mathbb{R}&amp;lt;/math&amp;gt; that preserves multiplication and order. In general, this function will not be injective. Look at a fixed element &amp;lt;math&amp;gt;x\in X, x\neq (0,0,0,\dots)&amp;lt;/math&amp;gt;. We now define the logarithm in base x by &lt;br /&gt;
&amp;lt;math&amp;gt;\log_x(y)=\sup\{a/b|a\in\mathbb{N}_0,b\in \mathbb{N},x^a\leq y^b\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
This function fulfills some basis formulas&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(x)=1&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;gt; log_x(y)\Rightarrow x^a&amp;gt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;lt; log_x(y)\Rightarrow x^a&amp;lt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\forall y\in X\setminus \{(0,0,\dots)\}: \log_x(y)\in (0,\infty)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(yz)=\log_x(y)+\log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z \Rightarrow\log_x(y)\leq \log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(z)=\log_y(z)\log_x(y)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
1: We have &amp;lt;math&amp;gt;x^1\leq x^1&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\log_x(x)\geq 1/1=1&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a&amp;gt;b&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;x^a&amp;gt;x^b&amp;lt;/math&amp;gt;, since otherwise &amp;lt;math&amp;gt;x^{b+n(a-b)}&amp;lt;/math&amp;gt; would be an infinite decreasing sequence. This shows &amp;lt;math&amp;gt;\log_x(x)\leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
2: If &amp;lt;math&amp;gt;a/b&amp;gt;log_x(y)&amp;lt;/math&amp;gt;, a/b can&#039;t be in the set we take sup of. So &amp;lt;math&amp;gt;x^a&amp;gt; y^b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
3: For &amp;lt;math&amp;gt;y=(0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\log_x(y)=0&amp;lt;/math&amp;gt; and the theorem is true, so we may assume &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a/b\ log_x(y)&amp;lt;/math&amp;gt; we can find c and d so that &amp;lt;math&amp;gt;a/b&amp;lt;c/d&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c\leq y^d&amp;lt;/math&amp;gt;. Now we have &amp;lt;math&amp;gt;(x^a)^{bc}=x^{abc}\leq y^{abd}=(y^b)^{ad}&amp;lt;/math&amp;gt; and using &amp;lt;math&amp;gt;ad&amp;lt;bd&amp;lt;/math&amp;gt; and that the power function is increasing for &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; (see the proof of 1) we get &amp;lt;math&amp;gt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4: If &amp;lt;math&amp;gt;\log_x(y)\leq 0&amp;lt;/math&amp;gt; (2) tells us that &amp;lt;math&amp;gt;x^1&amp;gt;y^n&amp;lt;/math&amp;gt; for all n. But that we have a infinite bounded sequence which contradicts an axiom of the ordering on the pseudointegers. If &amp;lt;math&amp;gt;\log_x(y)=\infty&amp;lt;/math&amp;gt; (3) tells us that &amp;lt;math&amp;gt;x^n&amp;lt;y^1&amp;lt;/math&amp;gt; for all n. Again we get a contradiction.&lt;br /&gt;
&lt;br /&gt;
5: First I show &amp;lt;math&amp;gt;\log_x(yz)\leq \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(yz)&amp;gt; \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a_1,a_2,b&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\frac{a_1}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a_2}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;. Form (2) we know that &amp;lt;math&amp;gt;x^{a_1}&amp;gt;y^b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^{a_2}&amp;gt;z^b&amp;lt;/math&amp;gt;. And thus &amp;lt;math&amp;gt;x^{a_1+a_2}&amp;gt;y^bz^b=(yz)^b&amp;lt;/math&amp;gt;. Using (3) we get a contradiction with &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
6: This is equivalent to &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)\Rightarrow y&amp;gt;z&amp;lt;/math&amp;gt;, so assume that &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\frac{a}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. This implies &amp;lt;math&amp;gt;z^b&amp;lt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;z&amp;lt;y&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
7: First I show that &amp;lt;math&amp;gt;\log_x(z)\leq \log_y(z)\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\log_y(z)\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a,b,c\in\mathbb{N}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\frac{a}{b}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a}{c}&amp;gt;\log_y(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\frac{c}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;. Using (2) we get &amp;lt;math&amp;gt;y^a&amp;gt;z^c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c&amp;gt;y^b&amp;lt;/math&amp;gt; and from this we get &amp;lt;math&amp;gt;x^{ac}&amp;gt;y^{ab}&amp;gt;z^{bc}&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;x^a&amp;gt;z^b&amp;lt;/math&amp;gt; contradicting &amp;lt;math&amp;gt;\log_x(z)&amp;gt;\frac{a}{b}&amp;lt;/math&amp;gt;. The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
We can now define a function &amp;lt;math&amp;gt;\varphi_x(y)=e^{\log_x(y)}&amp;lt;/math&amp;gt;. For this function we have:&lt;br /&gt;
# &amp;lt;math&amp;gt;\varphi_x(yz)=\varphi_x(y)\varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z\Rightarrow\varphi_x(y)\leq \varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Densities of the pseudointegers divisible by y==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n_p&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;n\in\mathbb{N}&amp;lt;/math&amp;gt; denote the nth pseudointeger (here p stands for pseudo, it is not a variable) and let &amp;lt;math&amp;gt;[n_p]&amp;lt;/math&amp;gt; denote the set of the n smallest pseudointegers. We define the &#039;&#039;density of the pseudointegers divisible by y&#039;&#039; to be &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d_y=\lim_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\lim_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if the limit exist. Clearly &amp;lt;math&amp;gt;d_y\in [0,1]&amp;lt;/math&amp;gt; if the limit exist. More generally we can always define&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;i_y=\liminf_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\liminf_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;s_y=\limsup_{n\to\infty}\frac{|yX\cap [n_p]|}{n}=\limsup_{n\to\infty}\frac{|\{z\in X|yz\leq n_p\}|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using that the set &amp;lt;math&amp;gt;\{z\in X|yz\leq n_p\}&amp;lt;/math&amp;gt; is a set of the form &amp;lt;math&amp;gt;[m_p]&amp;lt;/math&amp;gt; for some m, we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\{z\in X|xyz\leq n_p\}=\{z\in X|x(yz)\leq n_p\}=\{z\in X|yz\in\{a\in X|xa\leq n_p\}\}=\{z\in X|yz\leq|\{a\in X|xa\leq n_p\}|_p\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get the inequalities: &amp;lt;math&amp;gt;i_xi_y\leq i_{xy} &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s_{xy}\leq s_xs_y&amp;lt;/math&amp;gt;. In particular if &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists, then &amp;lt;math&amp;gt;d_{xy}&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_{xy}=d_xd_y&amp;lt;/math&amp;gt;. By induction we get that &amp;lt;math&amp;gt;d_{x^n}&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_{x^n}=d_x^n&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;x\leq y&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\{z\in X|yz\leq n_p\}\subset \{z\in X|yz\leq n_p\}&amp;lt;/math&amp;gt; so in general &amp;lt;math&amp;gt;i_y\leq i_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;s_y\leq s_x&amp;lt;/math&amp;gt; and if both densities exists &amp;lt;math&amp;gt;d_y\leq d_x&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;d_x=1&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;x\neq (0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;d_{x^n}=1&amp;lt;/math&amp;gt; of all n, and for any y there is a n so that &amp;lt;math&amp;gt;y\geq x^n&amp;lt;/math&amp;gt;. This gives us &amp;lt;math&amp;gt;1=i_{x^n}\leq i_y&amp;lt;/math&amp;gt; which implies that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists for any y and &amp;lt;math&amp;gt;d_y=1&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;d_x=0&amp;lt;/math&amp;gt; for some x then for any &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_y=0&amp;lt;/math&amp;gt;: Assume for contradiction that &amp;lt;math&amp;gt;s_y&amp;gt;0&amp;lt;/math&amp;gt;. Then for some n, &amp;lt;math&amp;gt;y^n\geq x&amp;lt;/math&amp;gt;. This implies that &amp;lt;math&amp;gt;s_y^n=s_{y^n}\leq s_x=0&amp;lt;/math&amp;gt;. Contradiction.&lt;br /&gt;
&lt;br /&gt;
Assume that &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt;. Now we know that &amp;lt;math&amp;gt;d_y\in (0,1)&amp;lt;/math&amp;gt; (I haven&#039;t been able to show this without the assumption that &amp;lt;math&amp;gt;d_y&amp;lt;/math&amp;gt; exists). We know that for &amp;lt;math&amp;gt;a,b\in \mathbb{N}&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{a}{b}&amp;gt;\log_x(y)\Rightarrow x^a&amp;gt;y^b\Rightarrow d_{x^a}\leq d_{y^b}\Rightarrow d_x^a\leq d_y^b\Rightarrow a\log(d_x)\leq b\log(d_y)\Rightarrow \frac{a}{b}\geq \frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(notice that log are taken on numbers in (0,1) so they are negative) where &amp;lt;math&amp;gt;log&amp;lt;/math&amp;gt; is the usual logarithm on the reals. Similarly we get &amp;lt;math&amp;gt;\frac{a}{b}&amp;lt;\log_x(y)\Rightarrow \frac{a}{b}\leq \frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;. This tells us that &amp;lt;math&amp;gt;\log_x(y)=\frac{\log(d_y)}{\log(d_x)}&amp;lt;/math&amp;gt;. From this we get that &amp;lt;math&amp;gt;-\log(d_x)\log_x(z)=-\log(d_x)\log_y(z)\log_x(y)=-\log(d_y)\log_y(z)&amp;lt;/math&amp;gt;, so the function &amp;lt;math&amp;gt;\log: X\to \mathbb{R}&amp;lt;/math&amp;gt; defined by &amp;lt;math&amp;gt;\log(z)=-\log(d_x)\log_x(z)&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;x\in X&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;d_x&amp;lt;/math&amp;gt; exists and &amp;lt;math&amp;gt;d_x\in (0,1)&amp;lt;/math&amp;gt;, doesn&#039;t depend on the x we choose. From this function we define &amp;lt;math&amp;gt;\varphi(z)=e^{\log(z)}&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;d_z&amp;lt;/math&amp;gt; exists (again, it would be nice to find a proof that it does or to prove that it does have to) we know that &amp;lt;math&amp;gt;\varphi(z)=e^{\log(z)}=e^{-\log(d_z)\log_z(z)}=(e^{\log(d_z)})^{-1}=\frac{1}{d_z}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If there exists a &amp;lt;math&amp;gt;x\in X: d_x\in (0,1)&amp;lt;/math&amp;gt;, we define&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d=\lim_{n\to\infty}\frac{|\varphi(X)\cap (0,n]|}{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if the limit exist. This limit can be greater than 1 and for the integers it is 1. This means that looking only at the structure of X, we can &amp;quot;see if there is to many pseudointegers&amp;quot; compared to the integers.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=3050</id>
		<title>The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=3050"/>
		<updated>2010-02-20T16:47:10Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Simple observations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you want to you can [http://michaelnielsen.org/polymath1/index.php?title=Experimental_results jump straight to the main experimental results page].&lt;br /&gt;
&lt;br /&gt;
==Introduction and statement of problem==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; be a &amp;lt;math&amp;gt;\scriptstyle \pm 1&amp;lt;/math&amp;gt; sequence and let &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; be a constant. Must there exist positive integers &amp;lt;math&amp;gt; d,k &amp;lt;/math&amp;gt; such that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \left| \sum_{i=1}^k x_{id} \right| &amp;gt; C &amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
Known colloquially as &amp;quot;The Erd&amp;amp;#337;s discrepancy problem&amp;quot;, this question has remained unanswered since the 1930s (Erd&amp;amp;#337;s, 1957) and Erd&amp;amp;#337;s offered $500 for an answer. It was also asked by Chudakov (1956). It is extremely easy to state, and a very appealing problem, so perhaps Polymath can succeed where individual mathematicians have failed. If so, then, given the notoriety of the problem, it would be a significant coup for the multiply collaborative approach to mathematics. But even if a full solution is not reached, preliminary investigations have already thrown up some interesting ideas which could perhaps be developed into publishable results.&lt;br /&gt;
&lt;br /&gt;
It seems likely that the answer to Erd&amp;amp;#337;s&#039;s question is yes. If it is, then an easy compactness argument tells us that for every &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; there exists &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that for every &amp;lt;math&amp;gt;\scriptstyle \pm 1&amp;lt;/math&amp;gt; sequence of length &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; there exist &amp;lt;math&amp;gt;d,k&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;dk\leq n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; \left| \sum_{i=1}^k x_{id} \right| &amp;gt; C &amp;lt;/math&amp;gt;. In view of this, we make some definitions that allow one to talk about the dependence between &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. For any finite set &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; of integers, we define the &amp;lt;em&amp;gt;error&amp;lt;/em&amp;gt; on &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; by&lt;br /&gt;
:&amp;lt;math&amp;gt; E(A) := \sum_{a\in A} x_a &amp;lt;/math&amp;gt;,&lt;br /&gt;
and for a set &amp;lt;math&amp;gt;\mathcal{A}&amp;lt;/math&amp;gt; of finite sets of integers, we define the &amp;lt;em&amp;gt;discrepancy&amp;lt;/em&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \delta(\mathcal{A},x) := \sup_{A\in \mathcal{A}} |E(A)|. &amp;lt;/math&amp;gt;&lt;br /&gt;
We can think of the values taken by the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; as a red/blue colouring of the integers that tries to make the number of reds and blues in each &amp;lt;math&amp;gt;\scriptstyle A\in\mathcal{A}&amp;lt;/math&amp;gt; as equal as possible. The discrepancy measures the extent to which the sequence fails in this attempt. Taking &amp;lt;math&amp;gt;\scriptstyle \mathcal{HAP}(N)&amp;lt;/math&amp;gt; to be the set of &amp;lt;em&amp;gt;homogeneous arithmetic progressions&amp;lt;/em&amp;gt; &amp;lt;math&amp;gt;\{d, 2d, 3d, ..., nd\}&amp;lt;/math&amp;gt; contained in &amp;lt;math&amp;gt;\{1, 2, ..., N\}&amp;lt;/math&amp;gt;, we can restate the question as whether &amp;lt;math&amp;gt;\scriptstyle \delta(\mathcal{HAP}(N),x) \to \infty&amp;lt;/math&amp;gt; for every sequence &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Two related questions have already been solved in the literature. Letting &amp;lt;math&amp;gt;\scriptstyle \mathcal{AP}(N) &amp;lt;/math&amp;gt; be the collection of all (not necessarily homogeneous) arithmetic progressions in &amp;lt;math&amp;gt;\{1, 2, ..., N\}&amp;lt;/math&amp;gt;, Roth (1964) proved that &amp;lt;math&amp;gt; \scriptstyle \delta(\mathcal{AP}(N),x) \geq c n^{1/4}&amp;lt;/math&amp;gt;, independent of the sequence &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. Letting &amp;lt;math&amp;gt; \scriptstyle \mathcal{HQAP}(N) &amp;lt;/math&amp;gt; be the collection of all homogeneous quasi-arithmetic progressions &amp;lt;math&amp;gt;\scriptstyle\{\lfloor \alpha \rfloor,\lfloor 2\alpha \rfloor,\dots,\lfloor k\alpha \rfloor\}&amp;lt;/math&amp;gt; contained in &amp;lt;math&amp;gt;\{1, 2, ..., N\}&amp;lt;/math&amp;gt;, Vijay (2008) proved that &amp;lt;math&amp;gt;\scriptstyle \delta(\mathcal{HQAP}(N),x) \geq 0.02 n^{1/6}&amp;lt;/math&amp;gt;, independent of the sequence &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Some definitions and notational conventions==&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;em&amp;gt;homogeneous arithmetic progression&amp;lt;/em&amp;gt;, or HAP, is an arithmetic progression of the form &amp;lt;math&amp;gt; \{d,2d,3d,...,nd\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt; x&amp;lt;/math&amp;gt; is clear from context, we write &amp;lt;math&amp;gt; \delta(N) &amp;lt;/math&amp;gt; in place of &amp;lt;math&amp;gt; \delta(\mathcal{HAP}(N),x) &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;discrepancy&amp;lt;/em&amp;gt; of a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is the supremum of &amp;lt;math&amp;gt;|\sum_{n\in P}x_n|&amp;lt;/math&amp;gt; over all homogeneous arithmetic progressions P. (Strictly speaking, we should call this something like the HAP-discrepancy, but since we will almost always be talking about HAPs, we adopt the convention that &amp;quot;discrepancy&amp;quot; always means &amp;quot;HAP-discrepancy&amp;quot; unless it is stated otherwise.)&lt;br /&gt;
&amp;lt;math&amp;gt;Insert formula here&amp;lt;/math&amp;gt;&lt;br /&gt;
A sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; &amp;lt;em&amp;gt;has discrepancy at most&amp;lt;/em&amp;gt; &amp;amp;phi;(n) if for every natural number N the maximum value of &amp;lt;math&amp;gt;|\sum_{n\in P}x_n|&amp;lt;/math&amp;gt; over all homogeneous arithmetic progressions P that are subsets of {1,2,...,N} is at most &amp;amp;phi;(N). &lt;br /&gt;
&lt;br /&gt;
The EDP is the Erd&amp;amp;#337;s discrepancy problem. (This may conceivably be changed if enough people don&#039;t like it.)&lt;br /&gt;
&lt;br /&gt;
A sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is &amp;lt;em&amp;gt;completely multiplicative&amp;lt;/em&amp;gt; if &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; for any two positive integers m and n. We shall sometimes abbreviate this to &amp;quot;multiplicative&amp;quot;, but the reader should be aware that the word &amp;quot;multiplicative&amp;quot; normally refers to the more general class of sequences such that &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; whenever m and n are coprime. A completely multiplicative function is determined by the values it takes at primes. The &amp;lt;em&amp;gt;Liouville function&amp;lt;/em&amp;gt; &amp;amp;lambda; is the unique completely multiplicative function that takes the value -1 at every prime: if the prime factorization of n is &amp;lt;math&amp;gt;\prod p_i^{a_i}&amp;lt;/math&amp;gt; then &amp;amp;lambda;(n) equals &amp;lt;math&amp;gt;(-1)^{\sum a_i}&amp;lt;/math&amp;gt;.  Another important multiplicative function is &amp;lt;math&amp;gt;\mu_3&amp;lt;/math&amp;gt;, the multiplicative function that’s -1 at 3, 1 at numbers that are 1 mod 3 and -1 at numbers that are 2 mod 3. This function has mean-square partial sums which grow logarithmically, [http://gowers.wordpress.com/2010/01/26/edp3-a-very-brief-report-on-where-we-are/#comment-5585 see this calculation].&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;em&amp;gt;HAP-subsequence&amp;lt;/em&amp;gt; of a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a subsequence of the form &amp;lt;math&amp;gt;x_d,x_{2d},x_{3d},...&amp;lt;/math&amp;gt; for some d. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a multiplicative &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence, then every HAP-subsequence is equal to either &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;(-x_n)&amp;lt;/math&amp;gt;. We shall call a sequence &amp;lt;em&amp;gt;weakly multiplicative&amp;lt;/em&amp;gt; if it has only finitely many distinct HAP-subsequences. Let us also call a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence &amp;lt;em&amp;gt;quasi-multiplicative&amp;lt;/em&amp;gt; if it is a composition of a completely multiplicative function from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to an Abelian group G with a function from G to {-1,1} (This definition is too general. See [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4843 this and the next comment]). [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4705 It can be shown] that if &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a weakly multiplicative sequence, then it has an HAP-subsequence that is quasi-multiplicative.&lt;br /&gt;
&lt;br /&gt;
It is convenient to define the maps &amp;lt;math&amp;gt;T_k&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt;T_k(x)_n = x_{kn}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;x = (x_1, x_2, ...)&amp;lt;/math&amp;gt; is a sequence.&lt;br /&gt;
&lt;br /&gt;
==Simple observations==&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is sufficient to find a completely multiplicative sequence (that is, a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; for every m,n) such that its partial sums &amp;lt;math&amp;gt;x_1+\dots+x_n&amp;lt;/math&amp;gt; are bounded. First mentioned in the proof of the theorem in [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/ this] post.&lt;br /&gt;
&lt;br /&gt;
*The function that takes n to 1 if the last non-zero digit of n in its ternary representation is 1 and -1 if the last non-zero digit is 2 is completely multiplicative and the partial sum up to n is easily shown to be at most &amp;lt;math&amp;gt;\log_3n +1&amp;lt;/math&amp;gt;. Therefore, the rate at which the worst discrepancy grows, as a function of the length of the homogeneous progression, can be as slow as logarithmic. [[Matryoshka_Sequences|More examples of this sort are here.]] [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/] &amp;lt;s&amp;gt;[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4553 It turns out] that the base can be made significantly higher than 3, so this example is not best possible.&amp;lt;/s&amp;gt; [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4757 Correction]&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is also sufficient to find a completely multiplicative function f from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to a finite Abelian group G (meaning that f(mn)=f(m)+f(n) for every m,n) and a function h from G to {-1,1} such that for each g in G there exists d with f(d)=g and with the partial sums hf(d)+hf(2d)+...+hf(nd) bounded. In that case, one can set &amp;lt;math&amp;gt;x_n=hf(n)&amp;lt;/math&amp;gt;. (Though this observation is simple with the benefit of hindsight, it might not have been made had it not been for the fact that this sort of structure was identified in a long sequence that had been produced experimentally). First mentioned [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4696 here]. Se also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/ this post] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4717 this comment].&lt;br /&gt;
&lt;br /&gt;
*[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4705 It can be shown] that if a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; starts with 1 and has only finitely many distinct subsequences of the form &amp;lt;math&amp;gt;(x_d,x_{2d},x_{3d},\dots)&amp;lt;/math&amp;gt;, then it must have a subsequence that arises in the above way. (This was mentioned just above in the terminology section.)&lt;br /&gt;
&lt;br /&gt;
*The problem for the positive integers is equivalent to the problem for the positive rationals. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4676](Sketch proof: if you have a function f from the positive integers to {-1,1} that works, then define &amp;lt;math&amp;gt;f_q(x)&amp;lt;/math&amp;gt; to be f(q!x) whenever q!x is an integer. Then take a pointwise limit of a subsequence of the functions &amp;lt;math&amp;gt;f_q&amp;lt;/math&amp;gt;. [[Limits with better properties|Click here for a more detailed discussion of this construction and what it is good for]].&lt;br /&gt;
&lt;br /&gt;
*Define the [[drift]] of a sequence to be the maximal value of |f(md)+...+f(nd)|.  The discrepancy problem is equivalent to showing that the drift is always infinite.  It is obvious that it is at least 2 (because |f(2)+f(4)|, |f(2)+f(3)|, |f(3)+f(4)| cannot all be at most 1); one can show that [[drift|it is at least 3]] (which implies as a corollary that the discrepancy is at least 2).  One can also show that the [[upper and lower discrepancy]] are each at least 2.&lt;br /&gt;
&lt;br /&gt;
*One can [[topological dynamics formulation|formulate the problem using topological dynamics]].&lt;br /&gt;
&lt;br /&gt;
*Using Fourier analysis, one can [[Fourier reduction|reduce the problem to one about completely multiplicative functions]].&lt;br /&gt;
&lt;br /&gt;
*Here is an [[algorithm for finding multiplicative sequences with bounded discrepancy]].&lt;br /&gt;
&lt;br /&gt;
*Here is a page whose aim is to record a [[human proof that completely multiplicative sequences have discrepancy at least 2]].&lt;br /&gt;
&lt;br /&gt;
*Here is an argument that shows that [[bounded discrepancy multiplicative functions do not correlate with characters]].&lt;br /&gt;
&lt;br /&gt;
* The answer to a [[function field version]] of the problem seems to be negative.&lt;br /&gt;
&lt;br /&gt;
* The problem can be generalized to [[pseudointegers]]. Here we have found [[EDP on pseudointegers|problems similar to EDP]] with a negative answer.&lt;br /&gt;
&lt;br /&gt;
==Experimental evidence== &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Main page: [[Experimental results]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A nice feature of the problem is that it lends itself well to investigation on a computer. Although the number of &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequences grows exponentially, the constraints on these sequences are such that depth-first searches can lead quite quickly to interesting examples. For instance, at the time of writing they have yielded several examples of sequences of length 1124 with discrepancy 2. (This is the current record.) See [[Experimental results|this page]] for more details and further links.&lt;br /&gt;
&lt;br /&gt;
Another sort of evidence is to bound the discrepancy for specific sequences. For example, setting &amp;lt;math&amp;gt;x_1=-x_2=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; x_n=-x_{n/3}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;x_n=x_{n-3}&amp;lt;/math&amp;gt; according to whether &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a multiple of 3 or not, yields a sequence with&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \delta(N) \leq \log_9(N)+1 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for sufficiently large &amp;lt;math&amp;gt; N &amp;lt;/math&amp;gt;. Currently, this is the record-holder for slow growing discrepancy.&lt;br /&gt;
&lt;br /&gt;
The [[Thue-Morse-Hedlund Sequence|Thue-Morse sequence]] has discrepancy &amp;lt;math&amp;gt; \delta(N) \gg N^{\log_4(3)} &amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A random sequence (each &amp;lt;math&amp;gt; x_i &amp;lt;/math&amp;gt; chosen independently) has discrepancy at least (asymptotically) &amp;lt;math&amp;gt; \sqrt{2N \log\log N} &amp;lt;/math&amp;gt; by the law of the iterated logarithm.&lt;br /&gt;
&lt;br /&gt;
Determining if the discrepancy of [http://en.wikipedia.org/wiki/Liouville_function Liouville&#039;s lambda function] is &amp;lt;math&amp;gt; O(n^{1/2+\epsilon})&amp;lt;/math&amp;gt; is equivalent to solving the Riemann hypothesis. However, this growth cannot be bounded above by &amp;lt;math&amp;gt;n^{1/2-\epsilon}&amp;lt;/math&amp;gt; for any positive &amp;amp;epsilon;.&lt;br /&gt;
&lt;br /&gt;
==Interesting subquestions==&lt;br /&gt;
&lt;br /&gt;
Given the length of time that the Erd&amp;amp;#337;s discrepancy problem has been open, the chances that it will be solved by Polymath5 are necessarily small. However, there are a number of interesting questions that we do not know the answers to, several of which have arisen naturally from the experimental evidence. Good answers to some of these would certainly constitute publishable results. Here is a partial list -- further additions are very welcome. (When the more theoretical part of the project starts, this section will probably grow substantially and become a separate page.)&lt;br /&gt;
&lt;br /&gt;
*Is there an infinite sequence of discrepancy 2? (Given how long a finite sequence can be, it seems unlikely that we could answer this question just by a clever search of all possibilities on a computer.)&lt;br /&gt;
&lt;br /&gt;
*The long sequences of low discrepancy discovered by computer all have some kind of approximate weak multiplicativity. If we take a hypothetical counterexample &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; (which we could even assume has discrepancy 2), can we prove that it, or some other counterexample derived from it by passing to HAP-subsequences and taking pointwise limits, has some kind of interesting multiplicative structure?&lt;br /&gt;
&lt;br /&gt;
*Closely related to the previous question. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a hypothetical counterexample, must it satisfy a compactness property of the following kind: for every positive c there exists M such that if you take any M HAP-subsequences, then there must be two of them, &amp;lt;math&amp;gt;(y_n)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(z_n)&amp;lt;/math&amp;gt;, such that &amp;lt;math&amp;gt;\lim\inf N^{-1}\sum_{n=1}^Ny_nz_n\geq 1-c&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
*An even weaker question. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a hypothetical counterexample, must it have two HAP-subsequences &amp;lt;math&amp;gt;(y_n)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(z_n)&amp;lt;/math&amp;gt; such that the lim inf of &amp;lt;math&amp;gt;N^{-1}\sum_{n=1}^N y_nz_n&amp;lt;/math&amp;gt; is greater than 0?&lt;br /&gt;
&lt;br /&gt;
*A similar question, perhaps equivalent to the previous one (this should be fairly easy to check). Given a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; define f(N) to be the average of &amp;lt;math&amp;gt;x_ax_bx_cx_d&amp;lt;/math&amp;gt; over all quadruples (a,b,c,d) such that ab=cd and &amp;lt;math&amp;gt;a,b,c,d\leq N&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a counterexample, does that imply that &amp;lt;math&amp;gt;\lim\inf f(N)&amp;lt;/math&amp;gt; is greater than 0? [http://thomas1111.wordpress.com/2010/01/15/average-over-quadruples-of-the-first-1124-sequence/ See here for a computation of this average for the first 1124 sequence].&lt;br /&gt;
&lt;br /&gt;
*Is there any completely multiplicative counterexample? (This may turn out to be a very hard question. If so, then answering the previous questions could turn out to be the best we can hope for without making a substantial breakthrough in analytic number theory.)&lt;br /&gt;
&lt;br /&gt;
*Does there exist a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence such that the corresponding discrepancy function grows at a rate that is slower than &amp;lt;math&amp;gt;c\log n&amp;lt;/math&amp;gt; for any positive c?&lt;br /&gt;
&lt;br /&gt;
*Does the number of sequences of length n and discrepancy at most C grow exponentially with n or more slowly than exponentially? (Obviously if the conjecture is true then it must be zero for large enough n, but the hope is that this question is a more realistic initial target.)&lt;br /&gt;
&lt;br /&gt;
==General proof strategies==&lt;br /&gt;
&lt;br /&gt;
This section contains links to other pages in which potential approaches to solving the problem are described.&lt;br /&gt;
&lt;br /&gt;
[[First obtain multiplicative structure and then obtain a contradiction]]&lt;br /&gt;
&lt;br /&gt;
[[Find a different parameter, show that it tends to infinity, and show that that implies that the discrepancy tends to infinity]]&lt;br /&gt;
&lt;br /&gt;
[[Prove the result for shifted HAPs instead of HAPs]]&lt;br /&gt;
&lt;br /&gt;
[[Find a good configuration of HAPs]]&lt;br /&gt;
&lt;br /&gt;
==Annotated Bibliography==&lt;br /&gt;
&lt;br /&gt;
*Blog Discussion on Gowers&#039;s Weblog&lt;br /&gt;
**[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/ Zeroth Post] (Dec 17 - Jan 6).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/ First Post] (Jan 6 - Jan 12).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ Second Post] (Jan 9 - Jan 11).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/11/the-erds-discrepancy-problem-iii/ Third Post] (Jan 11 - Jan 14).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/ Fourth Post] (Jan 14 - 16).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/16/the-erds-discrepancy-problem-v/ Fifth Post] (Jan 16-19).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/19/edp1-the-official-start-of-polymath5/ First Theoretical Post] (Jan 19-21)&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/21/edp2-a-few-lessons-from-edp1/ Second Theoretical Post] (Jan 21-26)&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/26/edp3-a-very-brief-report-on-where-we-are/ Third Theoretical Post] (Jan 26 -?)&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/30/edp4-focusing-on-multiplicative-functions/ Fourth Theoretical Post] (Jan 30- Feb 2)&lt;br /&gt;
**[http://gowers.wordpress.com/2010/02/02/edp5-another-very-brief-summary/ Fifth Theoretical Post] (Feb 2 - Feb 5)&lt;br /&gt;
**[http://gowers.wordpress.com/2010/02/05/edp6-what-are-the-chances-of-success/ Sixth Theoretical Post] (Feb 5- Feb 8)&lt;br /&gt;
**[http://gowers.wordpress.com/2010/02/08/edp7-emergency-post/ Seventh Theoretical Post] (Feb 8 - ?)&lt;br /&gt;
&lt;br /&gt;
*[http://mathoverflow.net/questions/tagged/polymath5 Several questions on MathOverflow have been given the `polymath5&#039; tag.]&lt;br /&gt;
&lt;br /&gt;
*Mathias, A. R. D. [http://www.dpmms.cam.ac.uk/~ardm/erdoschu.pdf On a conjecture of Erdős and Čudakov]. Combinatorics, geometry and probability (Cambridge, 1993).&lt;br /&gt;
&lt;br /&gt;
This one page paper establishes that the maximal length of sequence for the case where C=1 is 11, and is the starting point for our experimental studies.&lt;br /&gt;
&lt;br /&gt;
*Tchudakoff, N. G. Theory of the characters of number semigroups. J. Indian Math. Soc. (N.S.) 20 (1956), 11--15. MR0083515 (18,719e) &lt;br /&gt;
&lt;br /&gt;
The Mathias paper states that one of Erdős&#039;s problem lists states that this paper &amp;quot;studies related questions&amp;quot;. The Math Review for this paper states that it summarizes results from seven other papers that are in Russian. The Math Review leaves the impression that the topic concerns characters of modulus 1.&lt;br /&gt;
&lt;br /&gt;
*Borwein, Peter, and Choi, Stephen. [http://www.cecm.sfu.ca/personal/pborwein/PAPERS/P204.pdf A variant of Liouville&#039;s lambda function: some surprizing formulae].&lt;br /&gt;
&lt;br /&gt;
Explicit formulas for the discrepancy of some completely multiplicative functions whose discrepancy is logarithmic. A typical example is: Let &amp;lt;math&amp;gt;\lambda_3(n) = (-1)^{\omega_3(n)}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;\omega_3(n)&amp;lt;/math&amp;gt; is the number of distinct prime factors congruent to &amp;lt;math&amp;gt;-1 \bmod 3&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (with multiple factors counted multiply). Then the discrepancy of the &amp;lt;math&amp;gt;\lambda_3&amp;lt;/math&amp;gt; sequence up to &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; is exactly the number of 1&#039;s in the base three expansion of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt;. (This turns out not to be so surprising after all, since &amp;lt;math&amp;gt;\lambda_3(n)&amp;lt;/math&amp;gt; is precisely the same as the ternary function defined in the second item of the Simple Observations section.)&lt;br /&gt;
&lt;br /&gt;
*Borwein, Peter, Choi, Stephen and Coons, Michael. [http://www.cecm.sfu.ca/personal/pborwein/PAPERS/P225.pdf  Completely multiplicative functions taking values in {-1,1}]. The published version of the above paper, which explains the results and proofs more clearly than the preprint, and is more explicit about the relationship with Erd&amp;amp;#337;s&#039;s question.&lt;br /&gt;
&lt;br /&gt;
*Granville and Soundararajan. [http://arxiv.org/abs/math/0702389 Multiplicative functions in arithmetic progressions]&lt;br /&gt;
&lt;br /&gt;
In this [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4729 blog post] Terry Tao wrote: &amp;quot;Granville and Soundararajan have made some study of the discrepancy of bounded multiplicative functions. The situation is remarkably delicate and number-theoretical (and is closely tied with the Granville-Soundararajan theory of pretentious characters).&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*Wirsing, E. Das asymptotische Verhalten von Summen über multiplikative Funktionen. II. (German) [The asymptotic behavior of sums of multiplicative functions. II.] Acta Math. Acad. Sci. Hungar. 18 1967 411--467. MR0223318 (36 #6366) [http://michaelnielsen.org/polymath1/index.php?title=Wirsing_translation (partial) English translation]&lt;br /&gt;
&lt;br /&gt;
*Newman, D. J. [http://www.jstor.org/stable/2036455 On the number of binary digits in a multiple of three]. Proc Amer Math Soc. 21(1969): 719--721.&lt;br /&gt;
Proves that the Thue-Morse sequence has discrepancy &amp;lt;math&amp;gt; \gg N^{\log_4(3)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Halász, G. [http://gowers.wordpress.com/2010/02/02/edp5-another-very-brief-summary/#comment-5806 On random multiplicative functions]. Hubert Delange colloquium (Orsay, 1982), 74–96, Publ. Math. Orsay, 83-4, Univ. Paris XI, Orsay, 1983.&lt;br /&gt;
&lt;br /&gt;
The discrepancy of a random multiplicative function is close to $\sqrt{N}$.&lt;br /&gt;
&lt;br /&gt;
=== Problem lists on which this problem appears ===&lt;br /&gt;
&lt;br /&gt;
*Erd&amp;amp;#337;s, P. and Graham, R. [http://www.math.ucsd.edu/~fan/ron/papers/79_09_combinatorial_number_theory.pdf Old and New Problems and Results in Combinatorial Number Theory: van der Waerden&#039;s Theorem and Related Topics], L&#039;Enseignement Math. 25 (1979), 325-344.&lt;br /&gt;
&lt;br /&gt;
Our problem is mentioned at the bottom of page 331, where they indicate knowledge of a coloring with logarithmic discrepancy. On pages 330-1, they review work on the non-homogeneous problem.&lt;br /&gt;
&lt;br /&gt;
*Erdős, Paul, Some of my favourite unsolved problems. A tribute to Paul Erdős, 467--478, Cambridge Univ. Press, Cambridge, 1990. MR1117038 (92f:11003) &lt;br /&gt;
&lt;br /&gt;
&amp;quot;Let &amp;lt;math&amp;gt;f(n)=\pm1&amp;lt;/math&amp;gt;. Is it true that for every &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; there is a &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; and an &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; so that&lt;br /&gt;
:&amp;lt;math&amp;gt; \left| \sum_{k=1}^m f(kd) \right| &amp;gt; c&amp;lt;/math&amp;gt;?&lt;br /&gt;
I will pay $500 for an answer. Let &amp;lt;math&amp;gt;f(n)=\pm1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(ab)=f(a)f(b)&amp;lt;/math&amp;gt;. Is it then true that &amp;lt;math&amp;gt;\left| \sum_{k=1}^m f(kd) \right|&amp;lt;/math&amp;gt; cannot be bounded?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*P. Erd&amp;amp;#337;s. [http://www.renyi.hu/~p_erdos/1957-13.pdf Some unsolved problems], Michigan Math. J. 4 (1957), 291--300 MR20 #5157; Zentralblatt 81,1. &lt;br /&gt;
&lt;br /&gt;
Problem 9 of this paper is ours. Erd&amp;amp;#337;s dates the problem to around 1932, and notes what we know about Liouville&#039;s function (lower and upper bound).&lt;br /&gt;
&lt;br /&gt;
*Finch, S. [http://algo.inria.fr/csolve/ec.pdf Two-colorings of positive integers]. Dated May 27, 2008.&lt;br /&gt;
&lt;br /&gt;
Summarizes knowledge of discrepancy of two colorings when the discrepancy is restricted to homogeneous progressions, nonhomogeneous progressions, and homogeneous quasi-progressions. Contains bibliography with 17 entries, including most of those above.&lt;br /&gt;
&lt;br /&gt;
=== non-homogeneous AP, quasi-AP, and other related discrepancy papers ===&lt;br /&gt;
&lt;br /&gt;
*Hochberg, Robert. [http://www.springerlink.com/content/q02424284373qw45/ Large Discrepancy In Homogenous Quasi-Arithmetic Progressions]. Combinatorica, Volume 26 (2006), Number 1.&lt;br /&gt;
&lt;br /&gt;
Roth&#039;s method for the &amp;lt;math&amp;gt; n^{1/4}&amp;lt;/math&amp;gt; lower bound on nonhomogeneous AP discrepancy is adapted to give a lower bound for homogeneous quasi-AP discrepancy. This result is weaker than the Vijay result, but uses a different method.&lt;br /&gt;
&lt;br /&gt;
*Vijay, Sujith. [http://www.combinatorics.org/Volume_15/PDF/v15i1r104.pdf On the discrepancy of quasi-progressions]. Electronic Journal of Combinatorics, R104 of Volume 15(1), 2008.&lt;br /&gt;
&lt;br /&gt;
A quasi-progression is a sequence of the form &amp;lt;math&amp;gt;\lfloor k \alpha \rfloor &amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;1\leq k \leq K&amp;lt;/math&amp;gt; for some K. The main theorem of interest is: If the integers from 0 to n are 2-coloured, there exists a quasi-progression that has discrepancy at least &amp;lt;math&amp;gt; (1/50)n^{1/6}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* Doerr, Benjamin; Srivastav, Anand; Wehr, Petra. [http://www.combinatorics.org/Volume_11/Abstracts/v11i1r5.html Discrepancy of Cartesian products of arithmetic progressions]. Electron. J. Combin. 11 (2004), no. 1, Research Paper 5, 16 pp. (electronic).&lt;br /&gt;
&lt;br /&gt;
Abstract: We determine the combinatorial discrepancy of the hypergraph H of cartesian&lt;br /&gt;
products of d arithmetic progressions in the &amp;lt;math&amp;gt; [N]^d&amp;lt;/math&amp;gt; –lattice.&lt;br /&gt;
The study of such higher dimensional arithmetic progressions is motivated by a&lt;br /&gt;
multi-dimensional version of van derWaerden’s theorem, namely the Gallai-theorem&lt;br /&gt;
(1933). We solve the discrepancy problem for d–dimensional arithmetic progressions&lt;br /&gt;
by proving &amp;lt;math&amp;gt;disc(H) = \Theta�(N^{d/4})&amp;lt;/math&amp;gt; for every fixed positive integer d. This extends the famous&lt;br /&gt;
lower bound of &amp;lt;math&amp;gt; \Omega(N^{1/4})&amp;lt;/math&amp;gt; of Roth (1964) and the matching upper bound &amp;lt;math&amp;gt; O(N^{1/4})&amp;lt;/math&amp;gt;&lt;br /&gt;
of Matouˇsek and Spencer (1996) from d = 1 to arbitrary, fixed d. To establish&lt;br /&gt;
the lower bound we use harmonic analysis on locally compact abelian groups. For&lt;br /&gt;
the upper bound a product coloring arising from the theorem of Matouˇsek and&lt;br /&gt;
Spencer is sufficient. We also regard some special cases, e.g., symmetric arithmetic&lt;br /&gt;
progressions and infinite arithmetic progressions.&lt;br /&gt;
&lt;br /&gt;
*Cilleruelo, Javier; Hebbinghaus, Nils [http://www.ams.org/mathscinet-getitem?mr=2547932 Discrepancy in generalized arithmetic progressions]. European J. Combin. 30 (2009), no. 7, 1607--1611. MR 2547932&lt;br /&gt;
&lt;br /&gt;
*Valkó, Benedek. [Discrepancy of arithmetic progressions in higher dimensions]. (English summary) &lt;br /&gt;
J. Number Theory 92 (2002), no. 1, 117--130. MR1880588 (2003b:11071)&lt;br /&gt;
&lt;br /&gt;
Abstract:&lt;br /&gt;
K. F. Roth (1964, Acta. Arith.9, 257–260) proved that the discrepancy of arithmetic progressions contained in [N] is at least &amp;lt;math&amp;gt; cN^{1/4} &amp;lt;/math&amp;gt;, and later it was proved that this result is sharp. We consider the d-dimensional version of this problem. We give a lower estimate for the discrepancy of arithmetic progressions on &amp;lt;math&amp;gt; [N]^d &amp;lt;/math&amp;gt; and prove that this result is nearly sharp. We use our results to give an upper estimate for the discrepancy of lines on an N×N lattice, and we also give an estimate for the discrepancy of a related random hypergraph.&lt;br /&gt;
&lt;br /&gt;
*Roth, K. F., Remark concerning integer sequences. Acta Arith. 9 1964 257--260. MR0168545 (29 #5806) &lt;br /&gt;
&lt;br /&gt;
Shows that the discrepancy on APs is at least &amp;lt;math&amp;gt;cN^{1/4}&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3049</id>
		<title>Pseudointegers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Pseudointegers&amp;diff=3049"/>
		<updated>2010-02-20T16:42:45Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: New page: We have been considering more than one type of &amp;quot;pseudointegers&amp;quot;, but here is the most general I think is useful in the EDP (I think we should create another article about [[EDP on pseudoin...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We have been considering more than one type of &amp;quot;pseudointegers&amp;quot;, but here is the most general I think is useful in the EDP (I think we should create another article about [[EDP on pseudointegers]]):&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;set of pseudointegers&#039;&#039; is the set &amp;lt;math&amp;gt;X=l_0(\mathbb{N}_0)&amp;lt;/math&amp;gt; of sequences over the non-negative integers that are 0 from some point, with a total ordering that fulfills:&lt;br /&gt;
* &amp;lt;math&amp;gt;a\geq b, c\geq d \Rightarrow ac\geq bd&amp;lt;/math&amp;gt; and&lt;br /&gt;
* &amp;lt;math&amp;gt;\forall a\in X: |\{b\in X|b&amp;lt;a\}|&amp;lt;\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here multiplication is defined by termwise addition: &amp;lt;math&amp;gt;ab=(a_1,a_2,\dots)(b_1,b_2,\dots)=(a_1+b_1,a_2+b_2)&amp;lt;/math&amp;gt;. For simplicity we furthermore assume that &amp;lt;math&amp;gt;p_1=(1,0,0,\dots)&amp;lt;p_2=(0,1,0,\dots)&amp;lt;...&amp;lt;/math&amp;gt; is an increasing sequence. These pseudointegers are called (pseudo)primes. &lt;br /&gt;
&lt;br /&gt;
We would like to find a function &amp;lt;math&amp;gt;\varphi: X\to \mathbb{R}&amp;lt;/math&amp;gt; that preserves multiplication and order. In general, this function will not be injective. Look at a fixed element &amp;lt;math&amp;gt;x\in X, x\neq (0,0,0,\dots)&amp;lt;/math&amp;gt;. We now define the logarithm in base x by &lt;br /&gt;
&amp;lt;math&amp;gt;\log_x(y)=\sup\{a/b|a\in\mathbb{N}_0,b\in \mathbb{N},x^a\leq y^b\}.&amp;lt;/math&amp;gt;&lt;br /&gt;
This function fulfills some basis formulas&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(x)=1&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;gt; log_x(y)\Rightarrow x^a&amp;gt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;a/b&amp;lt; log_x(y)\Rightarrow x^a&amp;lt; y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\forall y\in X\setminus \{(0,0,\dots)\}: \log_x(y)\in (0,\infty)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;\log_x(yz)=\log_x(y)+\log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z \Rightarrow\log_x(y)\leq \log_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Proof:&lt;br /&gt;
1: We have &amp;lt;math&amp;gt;x^1\leq x^1&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\log_x(x)\geq 1/1=1&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a&amp;gt;b&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;x^a&amp;gt;x^b&amp;lt;/math&amp;gt;, since otherwise &amp;lt;math&amp;gt;x^{b+n(a-b)}&amp;lt;/math&amp;gt; would be an infinite decreasing sequence. This shows &amp;lt;math&amp;gt;\log_x(x)\leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
2: If &amp;lt;math&amp;gt;a/b&amp;gt;log_x(y)&amp;lt;/math&amp;gt;, a/b can&#039;t be in the set we take sup of. So &amp;lt;math&amp;gt;x^a&amp;gt; y^b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
3: For &amp;lt;math&amp;gt;y=(0,0,\dots)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;\log_x(y)=0&amp;lt;/math&amp;gt; and the theorem is true, so we may assume &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a/b\ log_x(y)&amp;lt;/math&amp;gt; we can find c and d so that &amp;lt;math&amp;gt;a/b&amp;lt;c/d&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^c\leq y^d&amp;lt;/math&amp;gt;. Now we have &amp;lt;math&amp;gt;(x^a)^{bc}=x^{abc}\leq y^{abd}=(y^b)^{ad}&amp;lt;/math&amp;gt; and using &amp;lt;math&amp;gt;ad&amp;lt;bd&amp;lt;/math&amp;gt; and that the power function is increasing for &amp;lt;math&amp;gt;y\neq (0,0,\dots)&amp;lt;/math&amp;gt; (see the proof of 1) we get &amp;lt;math&amp;gt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4: If &amp;lt;math&amp;gt;\log_x(y)\leq 0&amp;lt;/math&amp;gt; (2) tells us that &amp;lt;math&amp;gt;x^1&amp;gt;y^n&amp;lt;/math&amp;gt; for all n. But that we have a infinite bounded sequence which contradicts an axiom of the ordering on the pseudointegers. If &amp;lt;math&amp;gt;\log_x(y)=\infty&amp;lt;/math&amp;gt; (3) tells us that &amp;lt;math&amp;gt;x^n&amp;lt;y^1&amp;lt;/math&amp;gt; for all n. Again we get a contradiction.&lt;br /&gt;
&lt;br /&gt;
5: First I show &amp;lt;math&amp;gt;\log_x(yz)\leq \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Assume for contradiction that &amp;lt;math&amp;gt;\log_x(yz)&amp;gt; \log_x(y)+\log_x(y)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;a_1,a_2,b&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\frac{a_1}{b}&amp;gt;\log_x(y)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\frac{a_2}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;. Form (2) we know that &amp;lt;math&amp;gt;x^{a_1}&amp;gt;y^b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x^{a_2}&amp;gt;z^b&amp;lt;/math&amp;gt;. And thus &amp;lt;math&amp;gt;x^{a_1+a_2}&amp;gt;y^bz^b=(yz)^b&amp;lt;/math&amp;gt;. Using (3) we get a contradiction with &amp;lt;math&amp;gt;\log_x(yz)&amp;gt;\frac{a_1+a_2}{b}&amp;lt;/math&amp;gt;.&lt;br /&gt;
The proof of the opposite inequality is similar.&lt;br /&gt;
&lt;br /&gt;
6: This is equvivalent to &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)\Rightarrow y&amp;gt;z&amp;lt;/math&amp;gt;, so assume that &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. Now we can find &amp;lt;math&amp;gt;\log_x(y)&amp;gt;\frac{a}{b}&amp;gt;\log_x(z)&amp;lt;/math&amp;gt;. This implies &amp;lt;math&amp;gt;z^b&amp;lt;x^a&amp;lt;y^b&amp;lt;/math&amp;gt; and then &amp;lt;math&amp;gt;z&amp;lt;y&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We can now define a function &amp;lt;math&amp;gt;\varphi_x(y)=e^{\log_x(y)}&amp;lt;/math&amp;gt;. For this function we have:&lt;br /&gt;
# &amp;lt;math&amp;gt;\varphi_x(yz)=\varphi_x(y)\varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
# &amp;lt;math&amp;gt;y\leq z\Rightarrow\varphi_x(y)\leq \varphi_x(z)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To be continued...&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=User:SuneJ&amp;diff=2963</id>
		<title>User:SuneJ</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=User:SuneJ&amp;diff=2963"/>
		<updated>2010-02-02T05:26:04Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: New page: My name is Sune Kristian Jakobsen and I&amp;#039;m a second year undergraduate student of mathematics at University of Copenhagen.  If you want to send me an email, you can use the &amp;quot;Email this user...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;My name is Sune Kristian Jakobsen and I&#039;m a second year undergraduate student of mathematics at University of Copenhagen.&lt;br /&gt;
&lt;br /&gt;
If you want to send me an email, you can use the &amp;quot;Email this user&amp;quot; link in the toolbox to the left, or send it to my first name followed by my last name (no middle name or dot or anything) at hotmail dot com.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Algorithm_for_finding_multiplicative_sequences_with_bounded_discrepancy&amp;diff=2882</id>
		<title>Algorithm for finding multiplicative sequences with bounded discrepancy</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Algorithm_for_finding_multiplicative_sequences_with_bounded_discrepancy&amp;diff=2882"/>
		<updated>2010-01-28T14:24:10Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: New page: To return to the main Polymath5 page, click here.  This is an algorithm for finding long multiplicative sequences over a finite set of complex number...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[The Erd&amp;amp;#337;s discrepancy problem|To return to the main Polymath5 page, click here]].&lt;br /&gt;
&lt;br /&gt;
This is an algorithm for finding long multiplicative sequences over a finite set of complex numbers (eg. {-1,1}), or showing that they don&#039;t exist.&lt;br /&gt;
The algorithm consists of 3 types of operations: Using multiplicativity, using bounded discrepancy, and guessing.&lt;br /&gt;
&lt;br /&gt;
*Using multiplicity is:&lt;br /&gt;
** Setting &amp;lt;math&amp;gt;x_1=1&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Determining one of &amp;lt;math&amp;gt;x_a,x_b,x_{ab}&amp;lt;/math&amp;gt; from the two others using &amp;lt;math&amp;gt;x_ax_b=x_{ab}&amp;lt;/math&amp;gt;.&lt;br /&gt;
** Determining one of &amp;lt;math&amp;gt;x_a, x_{an^2}&amp;lt;/math&amp;gt; from the other using &amp;lt;math&amp;gt;x_a=x_{an^2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Using bounded discrepancy is: &lt;br /&gt;
** For any positive integer n, write down all numbers between -C and C with the same parity as n. This is the &amp;quot;possible partial sums at n&amp;quot;. If there is only one possible partial sum at n, call it &amp;quot;the partial sum at n&amp;quot;.&lt;br /&gt;
** Set 0 to be the partial sum a 0.&lt;br /&gt;
** If we know the partial sum at n-1 and &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt;, you may set the partial sum at n to be the sum of these two.&lt;br /&gt;
** If we know the partial sum at n and &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; you may set the partial sum at n-1 to be the sum a n minus &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
** If neither c-1 or c+1 is a possible partial sum at n, you may delete c as a partial sum at n-1 and n+1.&lt;br /&gt;
** If you know the partial sum at n and at n-1,you may set &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; to be the sum at n minus the sum at n-1.&lt;br /&gt;
&lt;br /&gt;
*Guessing is:&lt;br /&gt;
** If you can assign a value to &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; and reach a contradiction (that is one of the formulas in &amp;quot;using multiplicity&amp;quot; is not fulfilled or for some n there is no possible sum at n) using multiplicity, bounded discrepancy, and guessing you may conclude that this is not a possible value for &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
** If there is only one possible value for &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; you may assign this value to &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=2881</id>
		<title>The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=2881"/>
		<updated>2010-01-28T14:23:24Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Simple observations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you want to you can [http://michaelnielsen.org/polymath1/index.php?title=Experimental_results jump straight to the main experimental results page].&lt;br /&gt;
&lt;br /&gt;
==Introduction and statement of problem==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; be a &amp;lt;math&amp;gt;\scriptstyle \pm 1&amp;lt;/math&amp;gt; sequence and let &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; be a constant. Must there exist positive integers &amp;lt;math&amp;gt; d,k &amp;lt;/math&amp;gt; such that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \left| \sum_{i=1}^k x_{id} \right| &amp;gt; C &amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
Known colloquially as &amp;quot;The Erd&amp;amp;#337;s discrepancy problem&amp;quot;, this question has remained unanswered since the 1930s (Erd&amp;amp;#337;s, 1957) and Erd&amp;amp;#337;s offered $500 for an answer. It was also asked by Chudakov (1956). It is extremely easy to state, and a very appealing problem, so perhaps Polymath can succeed where individual mathematicians have failed. If so, then, given the notoriety of the problem, it would be a significant coup for the multiply collaborative approach to mathematics. But even if a full solution is not reached, preliminary investigations have already thrown up some interesting ideas which could perhaps be developed into publishable results.&lt;br /&gt;
&lt;br /&gt;
It seems likely that the answer to Erd&amp;amp;#337;s&#039;s question is yes. If it is, then an easy compactness argument tells us that for every &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; there exists &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that for every &amp;lt;math&amp;gt;\scriptstyle \pm 1&amp;lt;/math&amp;gt; sequence of length &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; there exist &amp;lt;math&amp;gt;d,k&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;dk\leq n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt; \left| \sum_{i=1}^k x_{id} \right| &amp;gt; C &amp;lt;/math&amp;gt;. In view of this, we make some definitions that allow one to talk about the dependence between &amp;lt;math&amp;gt;C&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. For any finite set &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; of integers, we define the &amp;lt;em&amp;gt;error&amp;lt;/em&amp;gt; on &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; by&lt;br /&gt;
:&amp;lt;math&amp;gt; E(A) := \sum_{a\in A} x_a &amp;lt;/math&amp;gt;,&lt;br /&gt;
and for a set &amp;lt;math&amp;gt;\mathcal{A}&amp;lt;/math&amp;gt; of finite sets of integers, we define the &amp;lt;em&amp;gt;discrepancy&amp;lt;/em&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt; \delta(\mathcal{A},x) := \sup_{A\in \mathcal{A}} |E(A)|. &amp;lt;/math&amp;gt;&lt;br /&gt;
We can think of the values taken by the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; as a red/blue colouring of the integers that tries to make the number of reds and blues in each &amp;lt;math&amp;gt;\scriptstyle A\in\mathcal{A}&amp;lt;/math&amp;gt; as equal as possible. The discrepancy measures the extent to which the sequence fails in this attempt. Taking &amp;lt;math&amp;gt;\scriptstyle \mathcal{HAP}(N)&amp;lt;/math&amp;gt; to be the set of &amp;lt;em&amp;gt;homogeneous arithmetic progressions&amp;lt;/em&amp;gt; &amp;lt;math&amp;gt;\{d, 2d, 3d, ..., nd\}&amp;lt;/math&amp;gt; contained in &amp;lt;math&amp;gt;\{1, 2, ..., N\}&amp;lt;/math&amp;gt;, we can restate the question as whether &amp;lt;math&amp;gt;\scriptstyle \delta(\mathcal{HAP}(N),x) \to \infty&amp;lt;/math&amp;gt; for every sequence &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Two related questions have already been solved in the literature. Letting &amp;lt;math&amp;gt;\scriptstyle \mathcal{AP}(N) &amp;lt;/math&amp;gt; be the collection of all (not necessarily homogeneous) arithmetic progressions in &amp;lt;math&amp;gt;\{1, 2, ..., N\}&amp;lt;/math&amp;gt;, Roth (1964) proved that &amp;lt;math&amp;gt; \scriptstyle \delta(\mathcal{AP}(N),x) \geq c n^{1/4}&amp;lt;/math&amp;gt;, independent of the sequence &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. Letting &amp;lt;math&amp;gt; \scriptstyle \mathcal{HQAP}(N) &amp;lt;/math&amp;gt; be the collection of all homogeneous quasi-arithmetic progressions &amp;lt;math&amp;gt;\scriptstyle\{\lfloor \alpha \rfloor,\lfloor 2\alpha \rfloor,\dots,\lfloor k\alpha \rfloor\}&amp;lt;/math&amp;gt; contained in &amp;lt;math&amp;gt;\{1, 2, ..., N\}&amp;lt;/math&amp;gt;, Vijay (2008) proved that &amp;lt;math&amp;gt;\scriptstyle \delta(\mathcal{HQAP}(N),x) \geq 0.02 n^{1/6}&amp;lt;/math&amp;gt;, independent of the sequence &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Some definitions and notational conventions==&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;em&amp;gt;homogeneous arithmetic progression&amp;lt;/em&amp;gt;, or HAP, is an arithmetic progression of the form &amp;lt;math&amp;gt; \{d,2d,3d,...,nd\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt; x&amp;lt;/math&amp;gt; is clear from context, we write &amp;lt;math&amp;gt; \delta(N) &amp;lt;/math&amp;gt; in place of &amp;lt;math&amp;gt; \delta(\mathcal{HAP}(N),x) &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;discrepancy&amp;lt;/em&amp;gt; of a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is the supremum of &amp;lt;math&amp;gt;|\sum_{n\in P}x_n|&amp;lt;/math&amp;gt; over all homogeneous arithmetic progressions P. (Strictly speaking, we should call this something like the HAP-discrepancy, but since we will almost always be talking about HAPs, we adopt the convention that &amp;quot;discrepancy&amp;quot; always means &amp;quot;HAP-discrepancy&amp;quot; unless it is stated otherwise.)&lt;br /&gt;
&amp;lt;math&amp;gt;Insert formula here&amp;lt;/math&amp;gt;&lt;br /&gt;
A sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; &amp;lt;em&amp;gt;has discrepancy at most&amp;lt;/em&amp;gt; &amp;amp;phi;(n) if for every natural number N the maximum value of &amp;lt;math&amp;gt;|\sum_{n\in P}x_n|&amp;lt;/math&amp;gt; over all homogeneous arithmetic progressions P that are subsets of {1,2,...,N} is at most &amp;amp;phi;(N). &lt;br /&gt;
&lt;br /&gt;
The EDP is the Erd&amp;amp;#337;s discrepancy problem. (This may conceivably be changed if enough people don&#039;t like it.)&lt;br /&gt;
&lt;br /&gt;
A sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is &amp;lt;em&amp;gt;completely multiplicative&amp;lt;/em&amp;gt; if &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; for any two positive integers m and n. We shall sometimes abbreviate this to &amp;quot;multiplicative&amp;quot;, but the reader should be aware that the word &amp;quot;multiplicative&amp;quot; normally refers to the more general class of sequences such that &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; whenever m and n are coprime. A completely multiplicative function is determined by the values it takes at primes. The &amp;lt;em&amp;gt;Liouville function&amp;lt;/em&amp;gt; &amp;amp;lambda; is the unique completely multiplicative function that takes the value -1 at every prime: if the prime factorization of n is &amp;lt;math&amp;gt;\prod p_i^{a_i}&amp;lt;/math&amp;gt; then &amp;amp;lambda;(n) equals &amp;lt;math&amp;gt;(-1)^{\sum a_i}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;em&amp;gt;HAP-subsequence&amp;lt;/em&amp;gt; of a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a subsequence of the form &amp;lt;math&amp;gt;x_d,x_{2d},x_{3d},...&amp;lt;/math&amp;gt; for some d. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a multiplicative &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence, then every HAP-subsequence is equal to either &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;(-x_n)&amp;lt;/math&amp;gt;. We shall call a sequence &amp;lt;em&amp;gt;weakly multiplicative&amp;lt;/em&amp;gt; if it has only finitely many distinct HAP-subsequences. Let us also call a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence &amp;lt;em&amp;gt;quasi-multiplicative&amp;lt;/em&amp;gt; if it is a composition of a completely multiplicative function from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to an Abelian group G with a function from G to {-1,1} (This definition is too general. See [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4843 this and the next comment]). [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4705 It can be shown] that if &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a weakly multiplicative sequence, then it has an HAP-subsequence that is quasi-multiplicative.&lt;br /&gt;
&lt;br /&gt;
It is convenient to define the maps &amp;lt;math&amp;gt;T_k&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt;T_k(x)_n = x_{kn}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;x = (x_1, x_2, ...)&amp;lt;/math&amp;gt; is a sequence.&lt;br /&gt;
&lt;br /&gt;
==Simple observations==&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is sufficient to find a completely multiplicative sequence (that is, a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; for every m,n) such that its partial sums &amp;lt;math&amp;gt;x_1+\dots+x_n&amp;lt;/math&amp;gt; are bounded. First mentioned in the proof of the theorem in [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/ this] post.&lt;br /&gt;
&lt;br /&gt;
*The function that takes n to 1 if the last non-zero digit of n in its ternary representation is 1 and -1 if the last non-zero digit is 2 is completely multiplicative and the partial sum up to n is easily shown to be at most &amp;lt;math&amp;gt;\log_3n +1&amp;lt;/math&amp;gt;. Therefore, the rate at which the worst discrepancy grows, as a function of the length of the homogeneous progression, can be as slow as logarithmic. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/] &amp;lt;s&amp;gt;[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4553 It turns out] that the base can be made significantly higher than 3, so this example is not best possible.&amp;lt;/s&amp;gt; [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4757 Correction]&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is also sufficient to find a completely multiplicative function f from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to a finite Abelian group G (meaning that f(mn)=f(m)+f(n) for every m,n) and a function h from G to {-1,1} such that for each g in G there exists d with f(d)=g and with the partial sums hf(d)+hf(2d)+...+hf(nd) bounded. In that case, one can set &amp;lt;math&amp;gt;x_n=hf(n)&amp;lt;/math&amp;gt;. (Though this observation is simple with the benefit of hindsight, it might not have been made had it not been for the fact that this sort of structure was identified in a long sequence that had been produced experimentally). First mentioned [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4696 here]. Se also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/ this post] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4717 this comment].&lt;br /&gt;
&lt;br /&gt;
*[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4705 It can be shown] that if a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; starts with 1 and has only finitely many distinct subsequences of the form &amp;lt;math&amp;gt;(x_d,x_{2d},x_{3d},\dots)&amp;lt;/math&amp;gt;, then it must have a subsequence that arises in the above way. (This was mentioned just above in the terminology section.)&lt;br /&gt;
&lt;br /&gt;
*The problem for the positive integers is equivalent to the problem for the positive rationals. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4676](Sketch proof: if you have a function f from the positive integers to {-1,1} that works, then define &amp;lt;math&amp;gt;f_q(x)&amp;lt;/math&amp;gt; to be f(q!x) whenever q!x is an integer. Then take a pointwise limit of a subsequence of the functions &amp;lt;math&amp;gt;f_q&amp;lt;/math&amp;gt;. [[Limits with better properties|Click here for a more detailed discussion of this construction and what it is good for]].&lt;br /&gt;
&lt;br /&gt;
*Define the [[drift]] of a sequence to be the maximal value of |f(md)+...+f(nd)|.  The discrepancy problem is equivalent to showing that the drift is always infinite.  It is obvious that it is at least 2 (because |f(2)+f(4)|, |f(2)+f(3)|, |f(3)+f(4)| cannot all be at most 1); one can show that [[drift|it is at least 3]] (which implies as a corollary that the discrepancy is at least 2).  One can also show that the [[upper and lower discrepancy]] are each at least 2.&lt;br /&gt;
&lt;br /&gt;
*One can [[topological dynamics formulation|formulate the problem using topological dynamics]].&lt;br /&gt;
&lt;br /&gt;
*Using Fourier analysis, one can [[Fourier reduction|reduce the problem to one about completely multiplicative functions]].&lt;br /&gt;
&lt;br /&gt;
*Here is an [[algorithm for finding multiplicative sequences with bounded discrepancy]].&lt;br /&gt;
&lt;br /&gt;
==Experimental evidence== &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Main page: [[Experimental results]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A nice feature of the problem is that it lends itself well to investigation on a computer. Although the number of &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequences grows exponentially, the constraints on these sequences are such that depth-first searches can lead quite quickly to interesting examples. For instance, at the time of writing they have yielded several examples of sequences of length 1124 with discrepancy 2. (This is the current record.) See [[Experimental results|this page]] for more details and further links.&lt;br /&gt;
&lt;br /&gt;
Another sort of evidence is to bound the discrepancy for specific sequences. For example, setting &amp;lt;math&amp;gt;x_1=-x_2=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; x_n=-x_{n/3}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;x_n=x_{n-3}&amp;lt;/math&amp;gt; according to whether &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a multiple of 3 or not, yields a sequence with&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \delta(N) \leq \log_9(N)+1 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for sufficiently large &amp;lt;math&amp;gt; N &amp;lt;/math&amp;gt;. Currently, this is the record-holder for slow growing discrepancy.&lt;br /&gt;
&lt;br /&gt;
The Thue-Morse sequence has discrepancy &amp;lt;math&amp;gt; \delta(N) \gg \sqrt{N} &amp;lt;/math&amp;gt;. (See the discussion following [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4775 this comment] and the next one.)&lt;br /&gt;
&lt;br /&gt;
A random sequence (each &amp;lt;math&amp;gt; x_i &amp;lt;/math&amp;gt; chosen independently) has discrepancy at least (asymptotically) &amp;lt;math&amp;gt; \sqrt{2N \log\log N} &amp;lt;/math&amp;gt; by the law of the iterated logarithm.&lt;br /&gt;
&lt;br /&gt;
Determining if the discrepancy of [http://en.wikipedia.org/wiki/Liouville_function Liouville&#039;s lambda function] is &amp;lt;math&amp;gt; O(n^{1/2+\epsilon})&amp;lt;/math&amp;gt; is equivalent to solving the Riemann hypothesis. However, this growth cannot be bounded above by &amp;lt;math&amp;gt;n^{1/2-\epsilon}&amp;lt;/math&amp;gt; for any positive &amp;amp;epsilon;.&lt;br /&gt;
&lt;br /&gt;
==Interesting subquestions==&lt;br /&gt;
&lt;br /&gt;
Given the length of time that the Erd&amp;amp;#337;s discrepancy problem has been open, the chances that it will be solved by Polymath5 are necessarily small. However, there are a number of interesting questions that we do not know the answers to, several of which have arisen naturally from the experimental evidence. Good answers to some of these would certainly constitute publishable results. Here is a partial list -- further additions are very welcome. (When the more theoretical part of the project starts, this section will probably grow substantially and become a separate page.)&lt;br /&gt;
&lt;br /&gt;
*Is there an infinite sequence of discrepancy 2? (Given how long a finite sequence can be, it seems unlikely that we could answer this question just by a clever search of all possibilities on a computer.)&lt;br /&gt;
&lt;br /&gt;
*The long sequences of low discrepancy discovered by computer all have some kind of approximate weak multiplicativity. If we take a hypothetical counterexample &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; (which we could even assume has discrepancy 2), can we prove that it, or some other counterexample derived from it by passing to HAP-subsequences and taking pointwise limits, has some kind of interesting multiplicative structure?&lt;br /&gt;
&lt;br /&gt;
*Closely related to the previous question. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a hypothetical counterexample, must it satisfy a compactness property of the following kind: for every positive c there exists M such that if you take any M HAP-subsequences, then there must be two of them, &amp;lt;math&amp;gt;(y_n)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(z_n)&amp;lt;/math&amp;gt;, such that &amp;lt;math&amp;gt;\lim\inf N^{-1}\sum_{n=1}^Ny_nz_n\geq 1-c&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
*An even weaker question. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a hypothetical counterexample, must it have two HAP-subsequences &amp;lt;math&amp;gt;(y_n)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(z_n)&amp;lt;/math&amp;gt; such that the lim inf of &amp;lt;math&amp;gt;N^{-1}\sum_{n=1}^N y_nz_n&amp;lt;/math&amp;gt; is greater than 0?&lt;br /&gt;
&lt;br /&gt;
*A similar question, perhaps equivalent to the previous one (this should be fairly easy to check). Given a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; define f(N) to be the average of &amp;lt;math&amp;gt;x_ax_bx_cx_d&amp;lt;/math&amp;gt; over all quadruples (a,b,c,d) such that ab=cd and &amp;lt;math&amp;gt;a,b,c,d\leq N&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a counterexample, does that imply that &amp;lt;math&amp;gt;\lim\inf f(N)&amp;lt;/math&amp;gt; is greater than 0? [http://thomas1111.wordpress.com/2010/01/15/average-over-quadruples-of-the-first-1124-sequence/ See here for a computation of this average for the first 1124 sequence].&lt;br /&gt;
&lt;br /&gt;
*Is there any completely multiplicative counterexample? (This may turn out to be a very hard question. If so, then answering the previous questions could turn out to be the best we can hope for without making a substantial breakthrough in analytic number theory.)&lt;br /&gt;
&lt;br /&gt;
*Does there exist a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence such that the corresponding discrepancy function grows at a rate that is slower than &amp;lt;math&amp;gt;c\log n&amp;lt;/math&amp;gt; for any positive c?&lt;br /&gt;
&lt;br /&gt;
*Does the number of sequences of length n and discrepancy at most C grow exponentially with n or more slowly than exponentially? (Obviously if the conjecture is true then it must be zero for large enough n, but the hope is that this question is a more realistic initial target.)&lt;br /&gt;
&lt;br /&gt;
==General proof strategies==&lt;br /&gt;
&lt;br /&gt;
This section contains links to other pages in which potential approaches to solving the problem are described.&lt;br /&gt;
&lt;br /&gt;
[[First obtain multiplicative structure and then obtain a contradiction]]&lt;br /&gt;
&lt;br /&gt;
[[Find a different parameter, show that it tends to infinity, and show that that implies that the discrepancy tends to infinity]]&lt;br /&gt;
&lt;br /&gt;
[[Prove the result for shifted HAPs instead of HAPs]]&lt;br /&gt;
&lt;br /&gt;
==Annotated Bibliography==&lt;br /&gt;
&lt;br /&gt;
*Blog Discussion on Gowers&#039;s Weblog&lt;br /&gt;
**[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/ Zeroth Post] (Dec 17 - Jan 6).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/ First Post] (Jan 6 - Jan 12).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ Second Post] (Jan 9 - Jan 11).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/11/the-erds-discrepancy-problem-iii/ Third Post] (Jan 11 - Jan 14).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/14/the-erds-discrepancy-problem-iv/ Fourth Post] (Jan 14 - 16).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/16/the-erds-discrepancy-problem-v/ Fifth Post] (Jan 16-19).&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/19/edp1-the-official-start-of-polymath5/ First Theoretical Post] (Jan 19-21)&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/21/edp2-a-few-lessons-from-edp1/ Second Theoretical Post] (Jan 21-26)&lt;br /&gt;
**[http://gowers.wordpress.com/2010/01/26/edp3-a-very-brief-report-on-where-we-are/ Third Theoretical Post] (Jan 26 -?)&lt;br /&gt;
&lt;br /&gt;
*Mathias, A. R. D. [http://www.dpmms.cam.ac.uk/~ardm/erdoschu.pdf On a conjecture of Erdős and Čudakov]. Combinatorics, geometry and probability (Cambridge, 1993).&lt;br /&gt;
&lt;br /&gt;
This one page paper establishes that the maximal length of sequence for the case where C=1 is 11, and is the starting point for our experimental studies.&lt;br /&gt;
&lt;br /&gt;
*Tchudakoff, N. G. Theory of the characters of number semigroups. J. Indian Math. Soc. (N.S.) 20 (1956), 11--15. MR0083515 (18,719e) &lt;br /&gt;
&lt;br /&gt;
The Mathias paper states that one of Erdős&#039;s problem lists states that this paper &amp;quot;studies related questions&amp;quot;. The Math Review for this paper states that it summarizes results from seven other papers that are in Russian. The Math Review leaves the impression that the topic concerns characters of modulus 1.&lt;br /&gt;
&lt;br /&gt;
*Borwein, Peter, and Choi, Stephen. [http://www.cecm.sfu.ca/personal/pborwein/PAPERS/P204.pdf A variant of Liouville&#039;s lambda function: some surprizing formulae].&lt;br /&gt;
&lt;br /&gt;
Explicit formulas for the discrepancy of some completely multiplicative functions whose discrepancy is logarithmic. A typical example is: Let &amp;lt;math&amp;gt;\lambda_3(n) = (-1)^{\omega_3(n)}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;\omega_3(n)&amp;lt;/math&amp;gt; is the number of distinct prime factors congruent to &amp;lt;math&amp;gt;-1 \bmod 3&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (with multiple factors counted multiply). Then the discrepancy of the &amp;lt;math&amp;gt;\lambda_3&amp;lt;/math&amp;gt; sequence up to &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; is exactly the number of 1&#039;s in the base three expansion of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt;. (This turns out not to be so surprising after all, since &amp;lt;math&amp;gt;\lambda_3(n)&amp;lt;/math&amp;gt; is precisely the same as the ternary function defined in the second item of the Simple Observations section.)&lt;br /&gt;
&lt;br /&gt;
*Borwein, Peter, Choi, Stephen and Coons, Michael. [http://www.cecm.sfu.ca/personal/pborwein/PAPERS/P225.pdf  Completely multiplicative functions taking values in {-1,1}]. The published version of the above paper, which explains the results and proofs more clearly than the preprint, and is more explicit about the relationship with Erd&amp;amp;#337;s&#039;s question.&lt;br /&gt;
&lt;br /&gt;
*Granville and Soundararajan. [http://arxiv.org/abs/math/0702389 Multiplicative functions in arithmetic progressions]&lt;br /&gt;
&lt;br /&gt;
In this [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4729 blog post] Terry Tao wrote: &amp;quot;Granville and Soundararajan have made some study of the discrepancy of bounded multiplicative functions. The situation is remarkably delicate and number-theoretical (and is closely tied with the Granville-Soundararajan theory of pretentious characters).&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Problem lists on which this problem appears ===&lt;br /&gt;
&lt;br /&gt;
*Erd&amp;amp;#337;s, P. and Graham, R. [http://www.math.ucsd.edu/~fan/ron/papers/79_09_combinatorial_number_theory.pdf Old and New Problems and Results in Combinatorial Number Theory: van der Waerden&#039;s Theorem and Related Topics], L&#039;Enseignement Math. 25 (1979), 325-344.&lt;br /&gt;
&lt;br /&gt;
Our problem is mentioned at the bottom of page 331, where they indicate knowledge of a coloring with logarithmic discrepancy. On pages 330-1, they review work on the non-homogeneous problem.&lt;br /&gt;
&lt;br /&gt;
*As [http://www.math.niu.edu/~rusin/known-math/93_back/prizes.erd this web page] reveals, the Erd&amp;amp;#337;s discrepancy problem was a $500-dollar problem of Erd&amp;amp;#337;s, so it is clear that he regarded it as pretty hard.&lt;br /&gt;
&lt;br /&gt;
*P. Erd&amp;amp;#337;s. [http://www.renyi.hu/~p_erdos/1957-13.pdf Some unsolved problems], Michigan Math. J. 4 (1957), 291--300 MR20 #5157; Zentralblatt 81,1. &lt;br /&gt;
&lt;br /&gt;
Problem 9 of this paper is ours. Erd&amp;amp;#337;s dates the problem to around 1932, and notes what we know about Liouville&#039;s function (lower and upper bound).&lt;br /&gt;
&lt;br /&gt;
*Finch, S. [http://algo.inria.fr/csolve/ec.pdf Two-colorings of positive integers]. Dated May 27, 2008.&lt;br /&gt;
&lt;br /&gt;
Summarizes knowledge of discrepancy of two colorings when the discrepancy is restricted to homogeneous progressions, nonhomogeneous progressions, and homogeneous quasi-progressions. Contains bibliography with 17 entries, including most of those above.&lt;br /&gt;
&lt;br /&gt;
=== non-homogeneous AP, quasi-AP, and other related discrepancy papers ===&lt;br /&gt;
&lt;br /&gt;
*Hochberg, Robert. [http://www.springerlink.com/content/q02424284373qw45/ Large Discrepancy In Homogenous Quasi-Arithmetic Progressions]. Combinatorica, Volume 26 (2006), Number 1.&lt;br /&gt;
&lt;br /&gt;
Roth&#039;s method for the &amp;lt;math&amp;gt; n^{1/4}&amp;lt;/math&amp;gt; lower bound on nonhomogeneous AP discrepancy is adapted to give a lower bound for homogeneous quasi-AP discrepancy. This result is weaker than the Vijay result, but uses a different method.&lt;br /&gt;
&lt;br /&gt;
*Vijay, Sujith. [http://www.combinatorics.org/Volume_15/PDF/v15i1r104.pdf On the discrepancy of quasi-progressions]. Electronic Journal of Combinatorics, R104 of Volume 15(1), 2008.&lt;br /&gt;
&lt;br /&gt;
A quasi-progression is a sequence of the form &amp;lt;math&amp;gt;\lfloor k \alpha \rfloor &amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;1\leq k \leq K&amp;lt;/math&amp;gt; for some K. The main theorem of interest is: If the integers from 0 to n are 2-coloured, there exists a quasi-progression that has discrepancy at least &amp;lt;math&amp;gt; (1/50)n^{1/6}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* Doerr, Benjamin; Srivastav, Anand; Wehr, Petra. [http://www.combinatorics.org/Volume_11/Abstracts/v11i1r5.html Discrepancy of Cartesian products of arithmetic progressions]. Electron. J. Combin. 11 (2004), no. 1, Research Paper 5, 16 pp. (electronic).&lt;br /&gt;
&lt;br /&gt;
Abstract: We determine the combinatorial discrepancy of the hypergraph H of cartesian&lt;br /&gt;
products of d arithmetic progressions in the &amp;lt;math&amp;gt; [N]^d&amp;lt;/math&amp;gt; –lattice.&lt;br /&gt;
The study of such higher dimensional arithmetic progressions is motivated by a&lt;br /&gt;
multi-dimensional version of van derWaerden’s theorem, namely the Gallai-theorem&lt;br /&gt;
(1933). We solve the discrepancy problem for d–dimensional arithmetic progressions&lt;br /&gt;
by proving &amp;lt;math&amp;gt;disc(H) = \Theta�(N^{d/4})&amp;lt;/math&amp;gt; for every fixed positive integer d. This extends the famous&lt;br /&gt;
lower bound of &amp;lt;math&amp;gt; \Omega(N^{1/4})&amp;lt;/math&amp;gt; of Roth (1964) and the matching upper bound &amp;lt;math&amp;gt; O(N^{1/4})&amp;lt;/math&amp;gt;&lt;br /&gt;
of Matouˇsek and Spencer (1996) from d = 1 to arbitrary, fixed d. To establish&lt;br /&gt;
the lower bound we use harmonic analysis on locally compact abelian groups. For&lt;br /&gt;
the upper bound a product coloring arising from the theorem of Matouˇsek and&lt;br /&gt;
Spencer is sufficient. We also regard some special cases, e.g., symmetric arithmetic&lt;br /&gt;
progressions and infinite arithmetic progressions.&lt;br /&gt;
&lt;br /&gt;
*Cilleruelo, Javier; Hebbinghaus, Nils [http://www.ams.org/mathscinet-getitem?mr=2547932 Discrepancy in generalized arithmetic progressions]. European J. Combin. 30 (2009), no. 7, 1607--1611. MR 2547932&lt;br /&gt;
&lt;br /&gt;
*Valkó, Benedek. [Discrepancy of arithmetic progressions in higher dimensions]. (English summary) &lt;br /&gt;
J. Number Theory 92 (2002), no. 1, 117--130. MR1880588 (2003b:11071)&lt;br /&gt;
&lt;br /&gt;
Abstract:&lt;br /&gt;
K. F. Roth (1964, Acta. Arith.9, 257–260) proved that the discrepancy of arithmetic progressions contained in [N] is at least &amp;lt;math&amp;gt; cN^{1/4} &amp;lt;/math&amp;gt;, and later it was proved that this result is sharp. We consider the d-dimensional version of this problem. We give a lower estimate for the discrepancy of arithmetic progressions on &amp;lt;math&amp;gt; [N]^d &amp;lt;/math&amp;gt; and prove that this result is nearly sharp. We use our results to give an upper estimate for the discrepancy of lines on an N×N lattice, and we also give an estimate for the discrepancy of a related random hypergraph.&lt;br /&gt;
&lt;br /&gt;
*Roth, K. F., Remark concerning integer sequences. Acta Arith. 9 1964 257--260. MR0168545 (29 #5806) &lt;br /&gt;
&lt;br /&gt;
Shows that the discrepancy on APs is at least &amp;lt;math&amp;gt;cN^{1/4}&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Fourier_reduction&amp;diff=2878</id>
		<title>Fourier reduction</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Fourier_reduction&amp;diff=2878"/>
		<updated>2010-01-27T22:01:55Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: S^1: text --&amp;gt; TeX&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Let f be an arbitrary function from &amp;lt;math&amp;gt;{\Bbb Z}&amp;lt;/math&amp;gt; to {-1,+1} of discrepancy at most C.  Let N be a moderately large integer, let &amp;lt;math&amp;gt;p_1,\ldots,p_d&amp;lt;/math&amp;gt; be the primes in [N], and let M be a huge integer (much larger than N).  Then we can define a function &amp;lt;math&amp;gt;F: ({\Bbb Z}/M{\Bbb Z})^d \to \{-1,+1\}&amp;lt;/math&amp;gt; by the formula&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F(a_1,\ldots,a_d) := f( p_1^{a_1} \ldots p_d^{a_d} ).&amp;lt;/math&amp;gt;&lt;br /&gt;
whenever &amp;lt;math&amp;gt;a_1,\ldots,a_d \in [M]&amp;lt;/math&amp;gt;.  Note that F has a normalised L^2 norm of 1, so by the Plancherel identity&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\sum_{\xi \in ({\Bbb Z}/M{\Bbb Z})^d} |\hat F(\xi)|^2 = 1.&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;\pi: [N] \to {\Bbb Z}^d&amp;lt;/math&amp;gt; be the map&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\pi(p_1^{a_1} \ldots p_d^{a_d}) := (a_1,\ldots,a_d)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then by hypothesis one has&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;|F(x+\pi(1)) + \ldots + F(x+\pi(n))| \leq C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all (1-O_N(1/M)) of the x in &amp;lt;math&amp;gt;({\Bbb Z}/M{\Bbb Z})^d&amp;lt;/math&amp;gt;, and all &amp;lt;math&amp;gt;1 \leq n \leq N&amp;lt;/math&amp;gt;.  Applying Plancherel to this, we obtain&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \sum_{\xi \in ({\Bbb Z}/M{\Bbb Z})^d} |\hat F(\xi)|^2 |\sum_{j=1}^n e( \xi \cdot \pi(j) / M )   |^2 \ll C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for each such n, and so on averaging in n we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \sum_{\xi \in ({\Bbb Z}/M{\Bbb Z})^d} |\hat F(\xi)|^2 \frac{1}{N} \sum_{n=1}^N |\sum_{j=1}^n e( \xi \cdot \pi(j) / M )|^2 \ll C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Comparing this with (1) and using the pigeonhole principle, we conclude that there exists &amp;lt;math&amp;gt;\xi&amp;lt;/math&amp;gt; such that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1}{N} \sum_{n=1}^N |\sum_{j=1}^n e( \xi \cdot \pi(j) / M )|^2 \ll C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If we let &amp;lt;math&amp;gt;g: {\Bbb N} \to S^1&amp;lt;/math&amp;gt; be a completely multiplicative function such that &amp;lt;math&amp;gt;g(p_i) = e(\xi_i/M)&amp;lt;/math&amp;gt; for all i=1,...,d, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; e( \xi \cdot \pi(j) / M ) = g(j)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all j=1,...,N, and thus&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1}{N} \sum_{n=1}^N |\sum_{j=1}^n g(j)|^2 \ll C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So, if one can show a uniform bound&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1}{N} \sum_{n=1}^N |\sum_{j=1}^n g(j)|^2 \geq \omega(N)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\omega(N)&amp;lt;/math&amp;gt; goes to infinity as &amp;lt;math&amp;gt;N \to \infty&amp;lt;/math&amp;gt;, for arbitrary &amp;lt;math&amp;gt;S^1&amp;lt;/math&amp;gt;-valued multiplicative functions, one is done!&lt;br /&gt;
&lt;br /&gt;
Actually, one can do a little better than this.  From (1) we see that &amp;lt;math&amp;gt;|\hat F(\xi)|^2&amp;lt;/math&amp;gt; induces a probability measure (depending on N,M) on completely multiplicative functions &amp;lt;math&amp;gt;g: {\Bbb Q} \to S^1&amp;lt;/math&amp;gt; (strictly speaking, this function is only defined on rationals that involve the primes &amp;lt;math&amp;gt;p_1,\ldots,p_d&amp;lt;/math&amp;gt;, but one can extend to the rationals by setting g to equal 1 on all other primes), and for g drawn from this probability measure the above arguments in fact show that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; {\Bbb E} |g(1)+\ldots+g(n)|^2 \ll C&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all n up to N.  Taking a weak limit of these probability measures (using Prokhorov&#039;s theorem) we can in fact get this for all n.  So to solve EDP, it in fact suffices to show that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \sup_n {\Bbb E} |g(1)+\ldots+g(n)|^2 = \infty&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for all probabilistic completely multiplicative functions taking values in &amp;lt;math&amp;gt;S^1&amp;lt;/math&amp;gt;.  This should be compared to the completely multiplicative special case of EDP, in which g takes values in {-1,+1} and is deterministic.&lt;br /&gt;
&lt;br /&gt;
If one is interested in square-invariant functions only (so &amp;lt;math&amp;gt;f(q^2 x) = f(x)&amp;lt;/math&amp;gt; for all rational q) then we can restrict g to be {-1,+1} valued (basically because &amp;lt;math&amp;gt;({\Bbb Z}/M{\Bbb Z})^d&amp;lt;/math&amp;gt; can now be replaced with &amp;lt;math&amp;gt;({\Bbb Z}/2{\Bbb Z})^d&amp;lt;/math&amp;gt; in the above analysis.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Limits_with_better_properties&amp;diff=2664</id>
		<title>Limits with better properties</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Limits_with_better_properties&amp;diff=2664"/>
		<updated>2010-01-12T21:14:59Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Dichotomies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[The Erd&amp;amp;#337;s discrepancy problem|Click here to return to the main Polymath5 page]]&lt;br /&gt;
&lt;br /&gt;
===From an integer sequence to a function defined on the rationals===&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; be an infinite &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence of discrepancy at most C. Using this sequence, we can define a &amp;quot;rational sequence&amp;quot; &amp;lt;math&amp;gt;(y_a)_{a\in\mathbb{Q}}&amp;lt;/math&amp;gt; in one or other of the following two ways (which look different but are essentially the same).&lt;br /&gt;
&lt;br /&gt;
====Method 1====&lt;br /&gt;
&lt;br /&gt;
For each positive rational number a and each positive integer n, let &amp;lt;math&amp;gt;f_n(a)=x_{n!a}&amp;lt;/math&amp;gt; if n!a is an integer and let it be undefined (or arbitrarily defined) otherwise. Pick a subsequence of the functions &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt; that converges pointwise and define &amp;lt;math&amp;gt;y_a&amp;lt;/math&amp;gt; to be the limit of the values of &amp;lt;math&amp;gt;f_n(a)&amp;lt;/math&amp;gt; along this subsequence.&lt;br /&gt;
&lt;br /&gt;
====Method 2====&lt;br /&gt;
&lt;br /&gt;
Define the functions &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt; as above, but this time define &amp;lt;math&amp;gt;y_a&amp;lt;/math&amp;gt; to be the limit of &amp;lt;math&amp;gt;f_n(a)&amp;lt;/math&amp;gt; along a non-principal ultrafilter U. It is simple to check that the result will again be a pointwise limit of a subsequence of the functions &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Properties of the resulting function===&lt;br /&gt;
&lt;br /&gt;
Let us begin by proving that every sequence of the form &amp;lt;math&amp;gt;y_a,y_{2a},y_{3a},\dots&amp;lt;/math&amp;gt; (which we shall call an HAP-subsequence) has discrepancy at most C. &lt;br /&gt;
&lt;br /&gt;
This is trivial. Let &amp;lt;math&amp;gt;g_1,g_2,g_3,\dots&amp;lt;/math&amp;gt; be a subsequence of the &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_n(a)&amp;lt;/math&amp;gt; converges to &amp;lt;math&amp;gt;y_a&amp;lt;/math&amp;gt; for every rational number a. Let m be any positive integer. Then there exists some n such that &amp;lt;math&amp;gt;g_n(ka)=y_{ka}&amp;lt;/math&amp;gt; for every k between 1 and m. We may also pick n large enough so that n!a is an integer. If we do so, then the numbers n!a, 2n!a,...,mn!a form an HAP, which implies that the partial sum &amp;lt;math&amp;gt;g_n(a)+\dots+g_n(ma)&amp;lt;/math&amp;gt; has absolute value at most C, since it equals the sum &amp;lt;math&amp;gt;x_d+\dots+x_{md}&amp;lt;/math&amp;gt;, where d=n!a.&lt;br /&gt;
&lt;br /&gt;
Thus, this construction gives us a way of passing from an example that works over the integers to an example that works over the rationals. However, it does more than that, as the following argument shows. Let us suppose that the r-sequence and the s-sequence of &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; are equal: that is, &amp;lt;math&amp;gt;x_{rn}=x_{sn}&amp;lt;/math&amp;gt; for every positive integer n. What does this tell us about the function &amp;lt;math&amp;gt;y_a&amp;lt;/math&amp;gt;? Obviously, it implies immediately that &amp;lt;math&amp;gt;y_{ra}=y_{sa}&amp;lt;/math&amp;gt; for every rational number a. From that we deduce that &amp;lt;math&amp;gt;y_a=y_{sa/r}&amp;lt;/math&amp;gt; for every rational number a (applying the previous result to a/r) and also that &amp;lt;math&amp;gt;y_a=y_{ar/s}&amp;lt;/math&amp;gt;. In other words, once we have passed to the rational limit, we find that the function is invariant under dilation by r/s, which implies that it is also invariant under dilation by s/r.&lt;br /&gt;
&lt;br /&gt;
===Further investigation===&lt;br /&gt;
&lt;br /&gt;
====Improved properties in the limit====&lt;br /&gt;
&lt;br /&gt;
If we know only that two HAP-subsequences of the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; are &amp;lt;em&amp;gt;approximately&amp;lt;/em&amp;gt; equal, then it is still possible that we might be able to choose the pointwise limit carefully so as to ensure that in the limit we have exact invariance. It would be very interesting to reach a clear understanding of when this is possible and when it isn&#039;t. (If the two sequences differ everywhere on some further HAP-subsequence, for example, then it probably isn&#039;t possible. But then we might not be inclined to say that the two sequences are approximately equal.)&lt;br /&gt;
&lt;br /&gt;
====Dichotomies====&lt;br /&gt;
&lt;br /&gt;
Suppose, as we may, that we have a rational example &amp;lt;math&amp;gt;(y_a)&amp;lt;/math&amp;gt; with discrepancy at most C. That instantly gives us a whole host of other examples, since for every rational b the function &amp;lt;math&amp;gt;y_{ba}&amp;lt;/math&amp;gt; is an example, and any pointwise limit of a subsequence of these further examples (which is the same as an element of the closure of the set of those examples in the product topology) is again an example. We have already seen that we can get improved properties in the limit. What happens if we try to force the limit to take certain values in certain places by choosing an appropriate sequence of dilations?&lt;br /&gt;
&lt;br /&gt;
To get some handle on this question, let us look at a couple of simple examples. Suppose, for instance, that I want to find an example &amp;lt;math&amp;gt;(z_a)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;z_1=z_2&amp;lt;/math&amp;gt;. If I can find any r such that &amp;lt;math&amp;gt;y_r=y_{2r}&amp;lt;/math&amp;gt; then I am done, since I can simply set &amp;lt;math&amp;gt;z_a=y_{ra}&amp;lt;/math&amp;gt;. So if I cannot find an example with &amp;lt;math&amp;gt;z_1=z_2&amp;lt;/math&amp;gt; then I know that &amp;lt;math&amp;gt;y_a=-y_{2a}&amp;lt;/math&amp;gt; for every a, which is a very strong multiplicativity property.&lt;br /&gt;
&lt;br /&gt;
This is not particularly interesting, because the property &amp;lt;math&amp;gt;z_1=z_2&amp;lt;/math&amp;gt; will rapidly be lost if one dilates the function &amp;lt;math&amp;gt;z_a&amp;lt;/math&amp;gt; and passes to limits. So let us try to do something more infinitary.&lt;br /&gt;
&lt;br /&gt;
Suppose that I want to pass to an example that is multiplicative. I can do this if for every finite multiset A of rationals there exists some rational r such that &amp;lt;math&amp;gt;y_ry_{rab}=y_{ra}y_{rb}&amp;lt;/math&amp;gt; for every a,b in A. The reason is that if I have such an r for a given set A and I set &amp;lt;math&amp;gt;z_a=y_{ar}/y_r&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;z_{ab}=z_az_b&amp;lt;/math&amp;gt; for every a,b in A. Taking a increasing sequence of sets A whose union is all of &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt; and passing to the limit of the corresponding z-sequences, we obtain an example that is multiplicative everywhere.&lt;br /&gt;
&lt;br /&gt;
This is basically just a simple compactness argument that says either there is a multiplicative example or there is some finite set A such that for every r we find a &amp;quot;failure of A-multiplicativity at r&amp;quot;. For example, if A is the multiset {2,2,3}, then it tells us that there is no r such that both the equalities &amp;lt;math&amp;gt;y_ry_{4r}=y_{2r}^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y_ry_{6r}=y_{2r}y_{3r}&amp;lt;/math&amp;gt; hold. &lt;br /&gt;
&lt;br /&gt;
This is quite a strong non-multiplicativity property. It would be interesting to investigate experimentally whether insisting on non-multiplicativity of this kind forces the discrepancy to become large.&lt;br /&gt;
&lt;br /&gt;
====Limiting behaviour of some concrete sequences or classes of sequences====&lt;br /&gt;
&lt;br /&gt;
As well as beginning with a hypothetical counterexample to the Erd&amp;amp;#337;s discrepancy problem, one can begin with concrete sequences and see what happens. For example, if you start with the Liouville sequence, then the only two HAP-subsequences are the sequence itself and minus the sequence. More generally, if a sequence is weakly multiplicative, then there will be only finitely many HAP-subsequences, so any pointwise limit of them is automatically one of these subsequences (and similar remarks apply to any rational extension). &lt;br /&gt;
&lt;br /&gt;
It might be interesting to see what happens to the Morse sequence. It is &amp;lt;math&amp;gt;T_2&amp;lt;/math&amp;gt;-invariant, so the interest would come with dilations by odd factors. Can one characterize all functions on the rationals that are pointwise limits of sequences of the form &amp;lt;math&amp;gt;T_kx&amp;lt;/math&amp;gt;, where x is the Morse sequence? [http://gowers.wordpress.com/2010/01/11/the-erds-discrepancy-problem-iii/#comment-4985 I think it is done here]&lt;br /&gt;
&lt;br /&gt;
If x is a random sequence, then I&#039;m pretty sure that &amp;lt;em&amp;gt;every&amp;lt;/em&amp;gt; sequence is a pointwise limit of dilations of x. This, interestingly, would give an infinitary proof that random sequences have unbounded discrepancy. (When you unpack it, however, the argument is less interesting: it is essentially using the fact that a random sequence will have arbitrarily long strings of 1s, which trivially rules out bounded discrepancy.)&lt;br /&gt;
&lt;br /&gt;
====Possible definitions of essential sameness====&lt;br /&gt;
&lt;br /&gt;
We could place various equivalence relations on sequences. One particularly generous one would be to say that two sequences x and y are equivalent if you can find pointwise limits of dilations of x and y that were equal. A more restricted one would be as above, but to insist that the same sequence of dilations is chosen for each. A yet more restricted one would be to insist that all pointwise limits of dilations (perhaps with the added property that every positive integer is eventually a factor of all the amounts by which you are dilating) are the same.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Limits_with_better_properties&amp;diff=2659</id>
		<title>Limits with better properties</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Limits_with_better_properties&amp;diff=2659"/>
		<updated>2010-01-12T19:03:53Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Limiting behaviour of some concrete sequences or classes of sequences */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[The Erd&amp;amp;#337;s discrepancy problem|Click here to return to the main Polymath5 page]]&lt;br /&gt;
&lt;br /&gt;
===From an integer sequence to a function defined on the rationals===&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; be an infinite &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence of discrepancy at most C. Using this sequence, we can define a &amp;quot;rational sequence&amp;quot; &amp;lt;math&amp;gt;(y_a)_{a\in\mathbb{Q}}&amp;lt;/math&amp;gt; in one or other of the following two ways (which look different but are essentially the same).&lt;br /&gt;
&lt;br /&gt;
====Method 1====&lt;br /&gt;
&lt;br /&gt;
For each positive rational number a and each positive integer n, let &amp;lt;math&amp;gt;f_n(a)=x_{n!a}&amp;lt;/math&amp;gt; if n!a is an integer and let it be undefined (or arbitrarily defined) otherwise. Pick a subsequence of the functions &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt; that converges pointwise and define &amp;lt;math&amp;gt;y_a&amp;lt;/math&amp;gt; to be the limit of the values of &amp;lt;math&amp;gt;f_n(a)&amp;lt;/math&amp;gt; along this subsequence.&lt;br /&gt;
&lt;br /&gt;
====Method 2====&lt;br /&gt;
&lt;br /&gt;
Define the functions &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt; as above, but this time define &amp;lt;math&amp;gt;y_a&amp;lt;/math&amp;gt; to be the limit of &amp;lt;math&amp;gt;f_n(a)&amp;lt;/math&amp;gt; along a non-principal ultrafilter U. It is simple to check that the result will again be a pointwise limit of a subsequence of the functions &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Properties of the resulting function===&lt;br /&gt;
&lt;br /&gt;
Let us begin by proving that every sequence of the form &amp;lt;math&amp;gt;y_a,y_{2a},y_{3a},\dots&amp;lt;/math&amp;gt; (which we shall call an HAP-subsequence) has discrepancy at most C. &lt;br /&gt;
&lt;br /&gt;
This is trivial. Let &amp;lt;math&amp;gt;g_1,g_2,g_3,\dots&amp;lt;/math&amp;gt; be a subsequence of the &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;f_n(a)&amp;lt;/math&amp;gt; converges to &amp;lt;math&amp;gt;y_a&amp;lt;/math&amp;gt; for every rational number a. Let m be any positive integer. Then there exists some n such that &amp;lt;math&amp;gt;g_n(ka)=y_{ka}&amp;lt;/math&amp;gt; for every k between 1 and m. We may also pick n large enough so that n!a is an integer. If we do so, then the numbers n!a, 2n!a,...,mn!a form an HAP, which implies that the partial sum &amp;lt;math&amp;gt;g_n(a)+\dots+g_n(ma)&amp;lt;/math&amp;gt; has absolute value at most C, since it equals the sum &amp;lt;math&amp;gt;x_d+\dots+x_{md}&amp;lt;/math&amp;gt;, where d=n!a.&lt;br /&gt;
&lt;br /&gt;
Thus, this construction gives us a way of passing from an example that works over the integers to an example that works over the rationals. However, it does more than that, as the following argument shows. Let us suppose that the r-sequence and the s-sequence of &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; are equal: that is, &amp;lt;math&amp;gt;x_{rn}=x_{sn}&amp;lt;/math&amp;gt; for every positive integer n. What does this tell us about the function &amp;lt;math&amp;gt;y_a&amp;lt;/math&amp;gt;? Obviously, it implies immediately that &amp;lt;math&amp;gt;y_{ra}=y_{sa}&amp;lt;/math&amp;gt; for every rational number a. From that we deduce that &amp;lt;math&amp;gt;y_a=y_{sa/r}&amp;lt;/math&amp;gt; for every rational number a (applying the previous result to a/r) and also that &amp;lt;math&amp;gt;y_a=y_{ar/s}&amp;lt;/math&amp;gt;. In other words, once we have passed to the rational limit, we find that the function is invariant under dilation by r/s, which implies that it is also invariant under dilation by s/r.&lt;br /&gt;
&lt;br /&gt;
===Further investigation===&lt;br /&gt;
&lt;br /&gt;
====Improved properties in the limit====&lt;br /&gt;
&lt;br /&gt;
If we know only that two HAP-subsequences of the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; are &amp;lt;em&amp;gt;approximately&amp;lt;/em&amp;gt; equal, then it is still possible that we might be able to choose the pointwise limit carefully so as to ensure that in the limit we have exact invariance. It would be very interesting to reach a clear understanding of when this is possible and when it isn&#039;t. (If the two sequences differ everywhere on some further HAP-subsequence, for example, then it probably isn&#039;t possible. But then we might not be inclined to say that the two sequences are approximately equal.)&lt;br /&gt;
&lt;br /&gt;
====Dichotomies====&lt;br /&gt;
&lt;br /&gt;
Suppose, as we may, that we have a rational example &amp;lt;math&amp;gt;(y_a)&amp;lt;/math&amp;gt; with discrepancy at most C. That instantly gives us a whole host of other examples, since for every rational b the function &amp;lt;math&amp;gt;y_{ba}&amp;lt;/math&amp;gt; is an example, and any pointwise limit of a subsequence of these further examples (which is the same as an element of the closure of the set of those examples in the product topology) is again an example. We have already seen that we can get improved properties in the limit. What happens if we try to force the limit to take certain values in certain places by choosing an appropriate sequence of dilations?&lt;br /&gt;
&lt;br /&gt;
To get some handle on this question, let us look at a couple of simple examples. Suppose, for instance, that I want to find an example &amp;lt;math&amp;gt;(z_a)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;z_1=z_2&amp;lt;/math&amp;gt;. If I can find any r such that &amp;lt;math&amp;gt;y_r=y_{2r}&amp;lt;/math&amp;gt; then I am done, since I can simply set &amp;lt;math&amp;gt;z_a=y_{ra}&amp;lt;/math&amp;gt;. So if I cannot find an example with &amp;lt;math&amp;gt;z_1=z_2&amp;lt;/math&amp;gt; then I know that &amp;lt;math&amp;gt;y_a=-y_{2a}&amp;lt;/math&amp;gt; for every a, which is a very strong multiplicativity property.&lt;br /&gt;
&lt;br /&gt;
This is not particularly interesting, because the property &amp;lt;math&amp;gt;z_1=z_2&amp;lt;/math&amp;gt; will rapidly be lost if one dilates the function &amp;lt;math&amp;gt;z_a&amp;lt;/math&amp;gt; and passes to limits. So let us try to do something more infinitary.&lt;br /&gt;
&lt;br /&gt;
Suppose that I want to pass to an example that is multiplicative. I can do this if for every finite multiset A of rationals there exists some rational r such that &amp;lt;math&amp;gt;y_ry_{rab}=y_{ra}y_{rb}&amp;lt;/math&amp;gt; for every a,b in A. The reason is that if I have such an r for a given set A and I set &amp;lt;math&amp;gt;z_a=y_{ar}/y_r&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;z_{ab}=z_az_b&amp;lt;/math&amp;gt; for every a,b in A. Taking a collection of sets A whose union is all of &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt; and passing to the limit of the corresponding z-sequences, we obtain an example that is multiplicative everywhere.&lt;br /&gt;
&lt;br /&gt;
This is basically just a simple compactness argument that says either there is a multiplicative example or there is some finite set A such that for every r we find a &amp;quot;failure of A-multiplicativity at r&amp;quot;. For example, if A is the multiset {2,2,3}, then it tells us that there is no r such that both the equalities &amp;lt;math&amp;gt;y_ry_{4r}=y_{2r}^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y_ry_{6r}=y_{2r}y_{3r}&amp;lt;/math&amp;gt; hold. &lt;br /&gt;
&lt;br /&gt;
This is quite a strong non-multiplicativity property. It would be interesting to investigate experimentally whether insisting on non-multiplicativity of this kind forces the discrepancy to become large.&lt;br /&gt;
&lt;br /&gt;
====Limiting behaviour of some concrete sequences or classes of sequences====&lt;br /&gt;
&lt;br /&gt;
As well as beginning with a hypothetical counterexample to the Erd&amp;amp;#337;s discrepancy problem, one can begin with concrete sequences and see what happens. For example, if you start with the Liouville sequence, then the only two HAP-subsequences are the sequence itself and minus the sequence. More generally, if a sequence is weakly multiplicative, then there will be only finitely many HAP-subsequences, so any pointwise limit of them is automatically one of these subsequences (and similar remarks apply to any rational extension). &lt;br /&gt;
&lt;br /&gt;
It might be interesting to see what happens to the Morse sequence. It is &amp;lt;math&amp;gt;T_2&amp;lt;/math&amp;gt;-invariant, so the interest would come with dilations by odd factors. Can one characterize all functions on the rationals that are pointwise limits of sequences of the form &amp;lt;math&amp;gt;T_kx&amp;lt;/math&amp;gt;, where x is the Morse sequence? [http://gowers.wordpress.com/2010/01/11/the-erds-discrepancy-problem-iii/#comment-4985 I think it is done here]&lt;br /&gt;
&lt;br /&gt;
If x is a random sequence, then I&#039;m pretty sure that &amp;lt;em&amp;gt;every&amp;lt;/em&amp;gt; sequence is a pointwise limit of dilations of x. This, interestingly, would give an infinitary proof that random sequences have unbounded discrepancy. (When you unpack it, however, the argument is less interesting: it is essentially using the fact that a random sequence will have arbitrarily long strings of 1s, which trivially rules out bounded discrepancy.)&lt;br /&gt;
&lt;br /&gt;
====Possible definitions of essential sameness====&lt;br /&gt;
&lt;br /&gt;
We could place various equivalence relations on sequences. One particularly generous one would be to say that two sequences x and y are equivalent if you can find pointwise limits of dilations of x and y that were equal. A more restricted one would be as above, but to insist that the same sequence of dilations is chosen for each. A yet more restricted one would be to insist that all pointwise limits of dilations (perhaps with the added property that every positive integer is eventually a factor of all the amounts by which you are dilating) are the same.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:Limits_with_better_properties&amp;diff=2647</id>
		<title>Talk:Limits with better properties</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:Limits_with_better_properties&amp;diff=2647"/>
		<updated>2010-01-12T10:39:26Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: Question&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Question ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Taking a collection of sets A whose union is all of &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt; and passing to the limit of the corresponding z-sequences, we obtain an example that is multiplicative everywhere.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Do you mean an &#039;&#039;increasing sequence&#039;&#039; of sets A, whose union is Q?  --[[User:SuneJ|SuneJ]] 10:39, 12 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2554</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2554"/>
		<updated>2010-01-10T19:04:52Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Experimental data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
* [http://thomas1111.wordpress.com/2010/01/10/tables-for-a-c10-candidate/ A sequence of length 407] with discrepancy 2 such that &amp;lt;math&amp;gt;x_n=x_{32 n}&amp;lt;/math&amp;gt; for every n. [[The HAP-subsequence structure of that sequence]].&lt;br /&gt;
* More [[T32-invariant sequences]].&lt;br /&gt;
* Long [[multiplicative sequences]].&lt;br /&gt;
* Long sequences satisfying [[T2(x) = -x]].&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* What is the discrepancy of the sequence defined in [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ this post],   &lt;br /&gt;
DONE, i think.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* Do a &amp;quot;Mark-Bennet-style analysis&amp;quot; of one of the new 1124-sequences. [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4827] Also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4842 done] (by Mark Bennet).&lt;br /&gt;
*. Take a moderately large k and search for the longest sequence of discrepancy 2 that&#039;s constructed as follows. First, pick a completely multiplicative function f to the group &amp;lt;math&amp;gt;C_{2k}&amp;lt;/math&amp;gt;. Then set &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; to be 1 if f(n) lies between 0 and k-1, and -1 if f(n) lies between k and 2k-1. Alec has already [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4563 done this for k=1] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4734 partially done it for k=3].&lt;br /&gt;
*Search for the longest sequence of discrepancy 2 with the property that &amp;lt;math&amp;gt;x_n=x_{32n}&amp;lt;/math&amp;gt; for every n. The motivation for this is to produce a fundamentally different class of examples (different because their group structure would include an element of order 5). It&#039;s not clear that it will work, since 32 is a fairly large number. However, if you&#039;ve chosen &amp;lt;math&amp;gt;x_{32n}&amp;lt;/math&amp;gt; then that will have some influence on several other choices, such as &amp;lt;math&amp;gt;x_{4n},x_{8n}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{16n}&amp;lt;/math&amp;gt;, so maybe it will lead to something interesting.  Alec [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4873 has made a start on this] and an [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4874 initial investigation] suggests that the sequence he has found does indeed have some &amp;lt;math&amp;gt;C_{10}&amp;lt;/math&amp;gt;-related structure. &lt;br /&gt;
*Here&#039;s another experiment that should be pretty easy to program and might yield something interesting. It&#039;s to look at the how the discrepancy appears to grow when you define a sequence using a greedy algorithm. I say &amp;quot;a&amp;quot; greedy algorithm because there are various algorithms that could reasonably be described as greedy. Here are a few.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
1. For each n let &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; be chosen so as to minimize the discrepancy so far, given the choices already made for &amp;lt;math&amp;gt;x_1,\dots,x_{n-1}&amp;lt;/math&amp;gt;. (If this does not uniquely determine &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; then choose it arbitrarily, or randomly, or according to some simple rule like always equalling 1.)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
2. Same as 1 but with additional constraints, in the hope that these make the sequence more likely to be good. For instance, one might insist that &amp;lt;math&amp;gt;x_{2k}=x_{3k}&amp;lt;/math&amp;gt; for every k. Here, when choosing &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; one would probably want to minimize the discrepancy up to &amp;lt;math&amp;gt;x_{n+k}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;x_{n+1},\dots,x_{n+k}&amp;lt;/math&amp;gt; had already been chosen. Another obvious constraint to try is complete multiplicativity.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
3. A greedy algorithm of sorts, but this time trying to minimize a different parameter. The first algorithm will do this: when you pick &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; you look, for each factor d of n, at the partial sum along the multiples of d up to but not including n. This will give you a set A of numbers (the possible partial sums). If max(A) is greater than max(-A) then you set &amp;lt;math&amp;gt;x_n=-1&amp;lt;/math&amp;gt;, if max(-A) is greater than max(A) then you let &amp;lt;math&amp;gt;x_n=1&amp;lt;/math&amp;gt;, and if they are equal then you make the decision according to some rule that seems sensible. But it might be that you would end up with a slower-growing discrepancy if you regarded A as a multiset and made the decision on some other basis. For instance, you could take the sum of &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; over all positive elements &amp;lt;math&amp;gt;k\in A&amp;lt;/math&amp;gt; (with multiplicity) and the sum of &amp;lt;math&amp;gt;2^{-k}&amp;lt;/math&amp;gt; over all negative elements and choose &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; according to which was bigger. Although that wouldn&#039;t minimize the discrepancy at each stage, it might make the sequence better for future development because it wouldn&#039;t sacrifice the needs of an overwhelming majority to those of a few rogue elements.&lt;br /&gt;
&lt;br /&gt;
The motivation for these experiments is to see whether they, or some variants, appear to lead to sublogarithmic growth. If they do, then we could start trying to prove rigorously that sublogarithmic growth is possible. I still think that a function that arises in nature and satisfies f(1124)=2 ought to be sublogarithmic.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*What happens if one applies a backtracking algorithm to try to extend the following discrepancy-2 sequence, which satisfies &amp;lt;math&amp;gt;x_{2n}=-x_n&amp;lt;/math&amp;gt; for every n, to a much longer discrepancy-2 sequence: + - - + - + + - - + + - + - + + - + - - + - - + + - - + + - + - - + - - + + + + - - - + + + - - + - + + - + - - + - ?&lt;br /&gt;
&lt;br /&gt;
* Investigate what happens if our HAPs are restricted to allow differences divisible only by 2 or 3 [and then other sets of primes including 2] - {2,3,5,7} would be interesting - is there an infinite sequence of discrepancy 2 in these simple cases - is it easy to find an infinite sequence with finite discrepancy in these cases? [for sets of odd primes, take a sequence which is 1 on odd numbers, -1 on even numbers, including 2 is the non-trivial case]&lt;br /&gt;
&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=T2(x)_%3D_-T(x)&amp;diff=2553</id>
		<title>T2(x) = -T(x)</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=T2(x)_%3D_-T(x)&amp;diff=2553"/>
		<updated>2010-01-10T19:04:16Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: T2(x) = -T(x) moved to T2(x) = -x&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[T2(x) = -x]]&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=T2(x)_%3D_-x&amp;diff=2552</id>
		<title>T2(x) = -x</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=T2(x)_%3D_-x&amp;diff=2552"/>
		<updated>2010-01-10T19:04:16Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: T2(x) = -T(x) moved to T2(x) = -x&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This sequence, of length &amp;lt;math&amp;gt;594&amp;lt;/math&amp;gt;, satisfies &amp;lt;math&amp;gt;x_{2n} = -x_n&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++--+--+-++&lt;br /&gt;
 --+-++-+--++--+-++-++--+-++--+--+-+&lt;br /&gt;
 +-++--+--+-++--++++--+--+-++-++----&lt;br /&gt;
 +++-+--+-++--+--+-++-++--+-++-++--+&lt;br /&gt;
 -++--+--+-++--+-++-++--+--+-++-+-+-&lt;br /&gt;
 +--+++---+-++-++--+--+--+-++-+++-+-&lt;br /&gt;
 ---+-+++-++-+---+--+-++-++--+++---+&lt;br /&gt;
 --+-+++-+--+-++-++--+-++--+--+-++-+&lt;br /&gt;
 +----++-++--+-++--+--+-++-++--++-+-&lt;br /&gt;
 ++--+--+-++-++-+---+--+-++--++--++-&lt;br /&gt;
 -++-++---+-++-+-++-++--+-++--+--+-+&lt;br /&gt;
 +--+-++--+-++-++--+--+--+-+-++--++-&lt;br /&gt;
 +-+-++--++-+-+--+--+-++--++++-+---+&lt;br /&gt;
 -++-++--+-++--+--+++--+---++-+++--+&lt;br /&gt;
 +-+---++-+-+--++--+++---++-+-++--+-&lt;br /&gt;
 -+-++--++---++-++--+-+--+++-+-++---&lt;br /&gt;
 -++++-+-+--+--++---++++--++--+-++-+&lt;br /&gt;
&lt;br /&gt;
Here&#039;s one of length &amp;lt;math&amp;gt;584&amp;lt;/math&amp;gt;, which held the record for about ten minutes:&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--++---++-+--+-++++-+--+-++---+-++--+&lt;br /&gt;
 +-+-+-+-++---+-++--++---++-+++---++-+--+++---&lt;br /&gt;
 -++--+++-++---+--+-++++-+---+--+-++-++---++-+&lt;br /&gt;
 ++--+--+--+-+-++-+++----+++--+-++-+-+--+++-+-&lt;br /&gt;
 +----++-+--+-+-+++-+-++-+-+---+-+--+++-+-+-+-&lt;br /&gt;
 -++--+++-+---+++--++--+-++--+--+-+-++-+--++-+&lt;br /&gt;
 -+--+++---+++---+++--++--++----+++-+---++-+-+&lt;br /&gt;
 ++--+---++-+--+++-+--++--++--+++--+-+--++--++&lt;br /&gt;
 -++-+-+-+--+--++--+++--++---++---+-+++-++--+-&lt;br /&gt;
 -++--++--+-+++--++--++-+--+-+-++---++-++---++&lt;br /&gt;
 +----++-++-+-+-++--++-+-+--+-+--+-+--+-++-++-&lt;br /&gt;
 ++--+--+-+--++-++--++--++-+-++---+++--+--++-+&lt;br /&gt;
 +---+++--+-+--+-+-++-+-+-++-+-+--+-+--+-++---&lt;br /&gt;
&lt;br /&gt;
A more colourful display of this sequence can be found [http://thomas1111.wordpress.com/2010/01/10/a-sequence-of-584-elements-with-t2x-tx/ on this page].&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=2505</id>
		<title>The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=2505"/>
		<updated>2010-01-09T21:44:33Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Some definitions and notational conventions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction and statement of problem==&lt;br /&gt;
&lt;br /&gt;
The Erd&amp;amp;#337;s discrepancy problem is a problem that has been around since the 1930s and has resisted attack ever since. It is extremely easy to state, and a very appealing problem, so perhaps Polymath can succeed where individual mathematicians have failed. If so, then, given the notoriety of the problem, it would be a significant coup for the multiply collaborative approach to mathematics. But even if a full solution is not reached, preliminary investigations have already thrown up some interesting ideas, which could perhaps be developed into publishable results.&lt;br /&gt;
&lt;br /&gt;
To state the problem, we first define a &amp;lt;em&amp;gt;homogeneous arithmetic progression&amp;lt;/em&amp;gt; to be a set of positive integers of the form {d,2d,3d,...,nd}. (It is also reasonable to define it to be a set of non-negative integers of the form {0,d,2d,3d,...,nd}: at the time of writing it is not clear what the &amp;quot;official&amp;quot; definition should be.) Suppose that we have a sequence &amp;lt;math&amp;gt;x_1,x_2,x_3,\dots&amp;lt;/math&amp;gt; of elements of the set &amp;lt;math&amp;gt;\{-1,1\}&amp;lt;/math&amp;gt; (henceforth to be referred to as a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence). We say that the &amp;lt;em&amp;gt;discrepancy&amp;lt;/em&amp;gt; of the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; with respect to a set A of positive integers is &amp;lt;math&amp;gt;|\sum_{n\in A}x_n|&amp;lt;/math&amp;gt;. The reason for this name is that we can think of the sequence as a red/blue-colouring of the positive integers, and the discrepancy with respect to A is then the difference between the number of red elements of A and the number of blue elements of A. The Erd&amp;amp;#337;s discrepancy problem is the following question.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Problem.&amp;lt;/strong&amp;gt; &amp;lt;em&amp;gt;Let &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; be a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence. Must it be the case that for every constant C there exists a homogeneous arithmetic progression P such that the discrepancy of the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; with respect to P is at least C?&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Some definitions and notational conventions==&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;em&amp;gt;homogeneous arithmetic progression&amp;lt;/em&amp;gt;, or HAP, is an arithmetic progression of the form {d,2d,3d,...,nd}.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em&amp;gt;discrepancy&amp;lt;/em&amp;gt; of a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is the supremum of &amp;lt;math&amp;gt;|\sum_{n\in P}x_n|&amp;lt;/math&amp;gt; over all homogeneous arithmetic progressions P. &lt;br /&gt;
&lt;br /&gt;
A sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; &amp;lt;em&amp;gt;has discrepancy at most&amp;lt;/em&amp;gt; &amp;amp;phi;(n) if for every natural number N the maximum value of &amp;lt;math&amp;gt;|\sum_{n\in P}x_n|&amp;lt;/math&amp;gt; over all homogeneous arithmetic progressions P that are subsets of {1,2,...,N} is at most &amp;amp;phi;(N). &lt;br /&gt;
&lt;br /&gt;
The EDP is the Erd&amp;amp;#337;s discrepancy problem. (This may conceivably be changed if enough people don&#039;t like it.)&lt;br /&gt;
&lt;br /&gt;
A sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is &amp;lt;em&amp;gt;completely multiplicative&amp;lt;/em&amp;gt; if &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; for any two positive integers m and n. We shall sometimes abbreviate this to &amp;quot;multiplicative&amp;quot;, but the reader should be aware that the word &amp;quot;multiplicative&amp;quot; normally refers to the more general class of sequences such that &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; whenever m and n are coprime.&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;em&amp;gt;HAP-subsequence&amp;lt;/em&amp;gt; of a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a subsequence of the form &amp;lt;math&amp;gt;x_d,x_{2d},x_{3d},\dots&amp;lt;/math&amp;gt; for some d. If &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a multiplicative sequence, then every HAP-subsequence is equal to either &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;(-x_n)&amp;lt;/math&amp;gt;. We shall call a sequence &amp;lt;em&amp;gt;weakly multiplicative&amp;lt;/em&amp;gt; if it has only finitely many distinct HAP-subsequences. Let us also call a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence &amp;lt;em&amp;gt;quasi-multiplicative&amp;lt;/em&amp;gt; if it is a composition of a completely multiplicative function from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to an Abelian group G with a function from G to {-1,1} (This definition is too general. See [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4843 this and the next comment]). [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4705 It can be shown] that if &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; is a weakly multiplicative sequence, then it has an HAP-subsequence that is quasi-multiplicative.&lt;br /&gt;
&lt;br /&gt;
==Simple observations==&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is sufficient to find a completely multiplicative sequence (that is, a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; for every m,n) such that its partial sums &amp;lt;math&amp;gt;x_1+\dots+x_n&amp;lt;/math&amp;gt; are bounded. First mentioned in the proof of the theorem in [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/ this] post.&lt;br /&gt;
&lt;br /&gt;
*The function that takes n to 1 if the last non-zero digit of n in its ternary representation is 1 and -1 if the last non-zero digit is 2 is completely multiplicative and the partial sum up to n is easily shown to be at most &amp;lt;math&amp;gt;\log_3n +1&amp;lt;/math&amp;gt;. Therefore, the rate at which the worst discrepancy grows, as a function of the length of the homogeneous progression, can be as slow as logarithmic. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/] &amp;lt;s&amp;gt;[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4553 It turns out] that the base can be made significantly higher than 3, so this example is not best possible.&amp;lt;/s&amp;gt; [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4757 Correction]&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is also sufficient to find a completely multiplicative function f from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to a finite Abelian group G (meaning that f(mn)=f(m)+f(n) for every m,n) and a function h from G to {-1,1} such that for each g in G there exists d with f(d)=g and with the partial sums hf(d)+hf(2d)+...+hf(nd) bounded. In that case, one can set &amp;lt;math&amp;gt;x_n=hf(n)&amp;lt;/math&amp;gt;. (Though this observation is simple with the benefit of hindsight, it might not have been made had it not been for the fact that this sort of structure was identified in a long sequence that had been produced experimentally). First mentioned [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4696 here]. Se also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/ this post] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4717 this comment].&lt;br /&gt;
&lt;br /&gt;
*[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4705 It can be shown] that if a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; starts with 1 and has only finitely many distinct subsequences of the form &amp;lt;math&amp;gt;(x_d,x_{2d},x_{3d},\dots)&amp;lt;/math&amp;gt;, then it must have a subsequence that arises in the above way. (This was mentioned just above in the terminology section.)&lt;br /&gt;
&lt;br /&gt;
*The problem for the positive integers is equivalent to the problem for the positive rationals. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4676](Sketch proof: if you have a function f from the positive integers to {-1,1} that works, then define &amp;lt;math&amp;gt;f_q(x)&amp;lt;/math&amp;gt; to be f(q!x) whenever q!x is an integer. Then take a pointwise limit of a subsequence of the functions &amp;lt;math&amp;gt;f_q&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
==Experimental evidence== &lt;br /&gt;
&lt;br /&gt;
A nice feature of the problem is that it lends itself well to investigation on a computer. Although the number of &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequences grows exponentially, the constraints on these sequences are such that depth-first searches can lead quite quickly to interesting examples. For instance, at the time of writing they have yielded a sequence of length 1124 with discrepancy 2. See [[Experimental results|this page]] for more details about this and for further links.&lt;br /&gt;
&lt;br /&gt;
==Annoted Bibliography==&lt;br /&gt;
&lt;br /&gt;
*Mathias, A. R. D. [http://www.dpmms.cam.ac.uk/~ardm/erdoschu.pdf On a conjecture of Erdős and Čudakov]. Combinatorics, geometry and probability (Cambridge, 1993).&lt;br /&gt;
&lt;br /&gt;
This is a short paper establishing the maximal length of sequence for the case where C=1 is 11, and is the starting point for our experimental studies.&lt;br /&gt;
&lt;br /&gt;
*Borwein, Peter, and Choi, Stephen. [http://www.cecm.sfu.ca/personal/pborwein/PAPERS/P204.pdf A variant of Liouville&#039;s lambda function: some surprizing formulae].&lt;br /&gt;
&lt;br /&gt;
Explicit formulas for the discrepancy of some completely multiplicative functions whose discrepancy is logarithmic. A typical example is: Let &amp;lt;math&amp;gt;\lambda_3(n) = (-1)^{\omega_3(n)}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;\omega_3(n)&amp;lt;/math&amp;gt; is the number of distinct prime factors congruent to &amp;lt;math&amp;gt;-1 \bmod 3&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (with multiple factors counted multiply). Then the discrepancy of the &amp;lt;math&amp;gt;\lambda_3&amp;lt;/math&amp;gt; sequence up to &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; is exactly the number of 1&#039;s in the base three expansion of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Vijay, Sujith. [http://www.combinatorics.org/Volume_15/PDF/v15i1r104.pdf On the discrepancy of quasi-progressions]. Electronic Journal of Combinatorics, R104 of Volume 15(1), 2008.&lt;br /&gt;
&lt;br /&gt;
A quasi-progression is a sequence of the form &amp;lt;math&amp;gt;\lfloor k \alpha \rfloor &amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;1\leq k \leq K&amp;lt;/math&amp;gt; for some K. The main theorem of interest is: If the integers from 0 to n are 2-coloured, there exists a quasi-progression that has discrepancy at least &amp;lt;math&amp;gt; (1/50)n^{1/6}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*Granville and Soundararajan. [http://arxiv.org/abs/math/0702389 Multiplicative functions in arithmetic progressions]&lt;br /&gt;
&lt;br /&gt;
In this [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4729 blog post] Terry Tao wrote: &amp;quot;Granville and Soundararajan have made some study of the discrepancy of bounded multiplicative functions. The situation is remarkably delicate and number-theoretical (and is closely tied with the Granville-Soundararajan theory of pretentious characters).&amp;quot;&lt;br /&gt;
&lt;br /&gt;
*[http://www.math.niu.edu/~rusin/known-math/93_back/prizes.erd As this web page reveals], the Erd&amp;amp;#337;s discrepancy problem was a $500-dollar problem of Erd&amp;amp;#337;s, so it is clear that he regarded it as pretty hard.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Length_1124_sequences&amp;diff=2504</id>
		<title>Length 1124 sequences</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Length_1124_sequences&amp;diff=2504"/>
		<updated>2010-01-09T21:40:38Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: See discussion page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;This page is about a large family of length 1124 sequences. See also [[the first 1124-sequence]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you can find better name for the pages I create, you are more than welcome.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest known)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
These sequences are among the longest known sequences with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
There are at least 428 995 120 sequences in this family. See [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4831 this comment].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 0 + + - - + + - + - - + - - - + + - + - - + + + - + - - + -&lt;br /&gt;
 + + - - + - + - - + + + - + - - + - + + - - + + - + - + + -&lt;br /&gt;
 - + - + + - + - - - + + - - + + + - - + - + - - + + - - + -&lt;br /&gt;
 + + - + - - - + + - + + + - - - + - + + - + - - - + + + - +&lt;br /&gt;
 + - + - - - - + + + + - - + - - - + + - + + - + + - + - + -&lt;br /&gt;
 - + - - - + + + + - - - - + + + - - + - + + - + - - + + - +&lt;br /&gt;
 - - + - + - + - - + + - - + + - - + + - + + - + + - - - - +&lt;br /&gt;
 - + + - + + - - + + - + - - + + + - + - - + - - - + + - - +&lt;br /&gt;
 + - + + - + - - + + - + - - + - - + + - + + + - - - + + - -&lt;br /&gt;
 + + + - - + - + - - - + + - + - - + + - + - - + + + + - - +&lt;br /&gt;
 - - + + - - - + + + - - + - + + - + - - + - - + + - + - - +&lt;br /&gt;
 + - + + - + - + + - - + - - + + - - + - + + - + - - + + + -&lt;br /&gt;
 - + - - - + + - + + - + - - + + - + + - + - - - + - + - - +&lt;br /&gt;
 - + + - - + + + - - - + + - + - - + - + + + - - + - + + - +&lt;br /&gt;
 + - + - - + - - + + - + - + + - + - + - + - - + - - + + - +&lt;br /&gt;
 + - + - - + + - - + - - - + + + - - - + + - - + + - + + + -&lt;br /&gt;
 - - + + - + - + + - - - + - + - - + - + + + - - + - + - - +&lt;br /&gt;
 + - + + - + - - + + - + - + - - + - + - + + - + - - + - - +&lt;br /&gt;
 + + - + - - + + + - - + - - + + - + + - + - - + + - + - - +&lt;br /&gt;
 - - + + - + - - + - - + + - + + + - - - + + - + - - + + - +&lt;br /&gt;
 + - + - - + - - + + - + + - + - - + + - + - - + - - + + - +&lt;br /&gt;
 - - + - - + + - + + - - - + + + - + + - + - - - - + + - - +&lt;br /&gt;
 - + + + - + + - + - - + + - + - - + - - + + - + - - + + - -&lt;br /&gt;
 + - + + - + - - + + - - + - + - - + + + + - - + - - + - - +&lt;br /&gt;
 + - + - - + + - + + - + - - + + - + - + + - - - + - + + - +&lt;br /&gt;
 - - + + - + - + + - - - + + + - - + - - + + - - + - + - - +&lt;br /&gt;
 + - + + - + + - + - - + - + + - - - + - + + - + - - + + - +&lt;br /&gt;
 - - + + - + + - + - - - - + + + - + + - + - - + + - + - - +&lt;br /&gt;
 - - + + - + - - + - - + + - + + - + - - + + - + + - + - - +&lt;br /&gt;
 + - - - - + - + + - - + + + + - - - + - + + - + - - + + - +&lt;br /&gt;
 - - + - - + + - + + - + - - + + + - - + + - - + + - + - - +&lt;br /&gt;
 - - - + + + + - + - - - + - + + - + - - + + - + - + + - - -&lt;br /&gt;
 + + - + + - - - + + - + - + + - - - + - + + + - - - + + - +&lt;br /&gt;
 + - + - - + + - - - - + - + + + - + - - + - - + + - + + - -&lt;br /&gt;
 - + + + - + + - + - - - + - + - - + - + + + - + + - - - - +&lt;br /&gt;
 + + + - - - + - + - - + - + + + + - - - + + - + - - + + - +&lt;br /&gt;
 - + + - - + + - + - - - - + + + + - + - + - - + - - + + - +&lt;br /&gt;
 + - - + - + + - + - - + - + +&lt;br /&gt;
&lt;br /&gt;
[http://thomas1111.wordpress.com/2010/01/09/tables-for-the-second-1124-sequence/ The sequence divided into groups of 24, and also with multiples of 8 only].&lt;br /&gt;
&lt;br /&gt;
[http://spreadsheets.google.com/ccc?key=0AkbsKAn5VTtvdFhYQUlaQ3J5OV83czdDWTJDVmJwRmc&amp;amp;hl=en The sequence compared with the first 1124 sequence we obtained.]&lt;br /&gt;
&lt;br /&gt;
== Relevant Code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2502</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2502"/>
		<updated>2010-01-09T20:33:58Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Wish list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* What is the discrepancy of the sequence defined in [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ this post],   &lt;br /&gt;
DONE, i think.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* Do a &amp;quot;Mark-Bennet-style analysis&amp;quot; of one of the new 1124-sequences. [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4827]&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2501</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2501"/>
		<updated>2010-01-09T20:31:50Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Wish list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* What is the discrepancy of the sequence defined in [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ this post],   &lt;br /&gt;
DONE, i think.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* Do a &amp;quot;Mark-Bennet-style analysis&amp;quot; of one of the new 1124-sequences. [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4827]&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2500</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2500"/>
		<updated>2010-01-09T19:57:13Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Wish list */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
* What is the discrepancy of the sequence defined in [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ this post]&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* Do a &amp;quot;Mark-Bennet-style analysis&amp;quot; of one of the new 1124-sequences. [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4827]&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2499</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2499"/>
		<updated>2010-01-09T19:56:50Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
* What is the discrepancy of the sequence defined in [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ this post]&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* Do a &amp;quot;Mark-Bennet-style analysis&amp;quot; of one of the new 1124 sequences. [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4827]&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2496</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2496"/>
		<updated>2010-01-09T19:39:13Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:Length_1124_sequences&amp;diff=2495</id>
		<title>Talk:Length 1124 sequences</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:Length_1124_sequences&amp;diff=2495"/>
		<updated>2010-01-09T19:15:15Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I think the method used to find it was the same as for the first one. A I understand it, Klas has a program that searches for sequences of length over &amp;lt;math&amp;gt;100n&amp;lt;/math&amp;gt; extended from a list of sequences of length &amp;lt;math&amp;gt;25&amp;lt;/math&amp;gt; that he already knows are extendable to length &amp;lt;math&amp;gt;100(n-1)&amp;lt;/math&amp;gt;. So far he&#039;s posted three sequences of length over &amp;lt;math&amp;gt;1000&amp;lt;/math&amp;gt; generated in this way, of which two have yielded sequences of length &amp;lt;math&amp;gt;1124&amp;lt;/math&amp;gt; by using them as initial nodes in a depth-first search.&lt;br /&gt;
&lt;br /&gt;
Ok, I thought you used a (p,q) trick that you didn&#039;t use the first time? I no one minds, I will keep two pages about 1124 sequences: One about the first (since we have lot about that one), and one about all of them. Perhaps they will turn into one page about our analyses of the sequences and one page about how we found them. --[[User:SuneJ|SuneJ]] 19:15, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2494</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2494"/>
		<updated>2010-01-09T19:09:29Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=4th_roots_of_unity&amp;diff=2493</id>
		<title>4th roots of unity</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=4th_roots_of_unity&amp;diff=2493"/>
		<updated>2010-01-09T19:06:38Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: New page: This page is about sequences that takes 4th root of unity as values.  The longest &amp;#039;&amp;#039;known&amp;#039;&amp;#039; sequence with discrepancy &amp;lt;math&amp;gt;\sqrt{2}&amp;lt;/math&amp;gt; has length 314.   ==Method==  Here should be a s...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is about sequences that takes 4th root of unity as values.&lt;br /&gt;
&lt;br /&gt;
The longest &#039;&#039;known&#039;&#039; sequence with discrepancy &amp;lt;math&amp;gt;\sqrt{2}&amp;lt;/math&amp;gt; has length 314. &lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the four points &amp;lt;math&amp;gt;(\pm 1, 0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(0, \pm 1)&amp;lt;/math&amp;gt;, and one requires all sums along HAPs to belong to one of the nine points at unit spacing centred on the origin, the maximum length of a sequence is &#039;&#039;at least&#039;&#039; &amp;lt;math&amp;gt;314&amp;lt;/math&amp;gt;. The following sequence achieves this:&lt;br /&gt;
&lt;br /&gt;
(1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (-1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (0, -1), (0, 1), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (0, 1), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (0, 1), (1, 0), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (1, 0), (-1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, 1), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, 1), (0, -1), (1, 0), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (0, -1), (0, 1), (0, 1)&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 14:42, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relevant code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=6th_unity_roots&amp;diff=2492</id>
		<title>6th unity roots</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=6th_unity_roots&amp;diff=2492"/>
		<updated>2010-01-09T19:01:18Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: 6th unity roots moved to 6th roots of unity&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[6th roots of unity]]&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=6th_roots_of_unity&amp;diff=2491</id>
		<title>6th roots of unity</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=6th_roots_of_unity&amp;diff=2491"/>
		<updated>2010-01-09T19:01:18Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: 6th unity roots moved to 6th roots of unity&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is about sequences that takes 6th root of unity as values. &lt;br /&gt;
&lt;br /&gt;
The longest sequence with discrepancy 1 has length 116.&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the six points of a regular hexagon, and one requires all sums along HAPs to be zero or one of those same points, the maximum length of a sequence is &amp;lt;math&amp;gt;116&amp;lt;/math&amp;gt;. The following sequence achieves this, where the numbers index the points in order around the hexagon:&lt;br /&gt;
&lt;br /&gt;
 -, 0, 3, 3, 0, 3, 0, 2, 4, 0, 1, 4, 3,&lt;br /&gt;
 1, 5, 0, 2, 4, 3, 1, 5, 5, 1, 4, 1, 2,&lt;br /&gt;
 5, 3, 2, 5, 4, 1, 4, 1, 2, 5, 0, 2, 4,&lt;br /&gt;
 4, 1, 5, 2, 1, 4, 3, 1, 5, 5, 2, 4, 1,&lt;br /&gt;
 2, 4, 0, 1, 5, 4, 1, 4, 2, 2, 4, 0, 1,&lt;br /&gt;
 5, 4, 2, 5, 1, 2, 4, 3, 1, 5, 5, 1, 4,&lt;br /&gt;
 1, 3, 4, 2, 1, 0, 4, 1, 4, 3, 1, 5, 0,&lt;br /&gt;
 2, 4, 5, 2, 4, 1, 1, 5, 3, 2, 0, 3, 4,&lt;br /&gt;
 5, 1, 1, 3, 4, 1, 5, 0, 2, 4, 1, 3, 5&lt;br /&gt;
&lt;br /&gt;
Here are some of its HAP subseqences, which seem to show the presence of some kind of multiplicative structure, though the structure seems to degenerate as the sequences progress. &lt;br /&gt;
&lt;br /&gt;
====The 2-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 4, 1, 3, 5, 2, 3, 5, 1, 1, 5, 2, 4, 4, 2, 0, 4, 1, 2, 4, 1, 5, 4, 2, 0, 5, 1, 2, 4, 1, 4, 5, 2, 3, 5, 1, 1, 4, 1, 4, 4, 1, 0, 4, 2, 1, 5, 2, 3, 5, 1, 4, 5, 2, 1, 5&lt;br /&gt;
&lt;br /&gt;
====The 3-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 3, 0, 3, 5, 1, 3, 4, 1, 0, 4, 2, 3, 5, 1, 0, 4, 2, 0, 4, 1, 3, 5, 1, 2, 4, 3, 0, 5, 1, 3, 3, 1, 4, 0, 1&lt;br /&gt;
&lt;br /&gt;
====The 4-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 4, 3, 2, 5, 1, 2, 4, 0, 1, 4, 5, 2, 5, 2, 1, 5, 3, 1, 4, 4, 1, 4, 1, 2, 5, 4, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 5-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 4, 5, 1, 3, 4, 1, 2, 5, 2, 5, 4, 1, 0, 4, 2, 1, 5, 3&lt;br /&gt;
&lt;br /&gt;
====The 6-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 1, 4, 0, 2, 5, 0, 2, 4, 3, 1, 4, 0, 1, 3, 4, 1&lt;br /&gt;
&lt;br /&gt;
====The 8-sequence====&lt;br /&gt;
&lt;br /&gt;
4, 2, 1, 4, 1, 5, 5, 1, 3, 4, 1, 1, 5, 2&lt;br /&gt;
&lt;br /&gt;
====The 9-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 0, 3, 0, 0, 3, 2, 0, 3, 4&lt;br /&gt;
&lt;br /&gt;
====The 10-sequence====&lt;br /&gt;
&lt;br /&gt;
1, 5, 4, 1, 4, 2, 2, 4, 0, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 12-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 3, 4, 1, 4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relevant code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Different_upper_and_lower_bound&amp;diff=2490</id>
		<title>Different upper and lower bound</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Different_upper_and_lower_bound&amp;diff=2490"/>
		<updated>2010-01-09T19:00:37Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Status */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If &amp;lt;math&amp;gt;N(a,b)&amp;lt;/math&amp;gt; is the maximum length of a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence with the partial sums along its HAPs bounded below by &amp;lt;math&amp;gt;-a&amp;lt;/math&amp;gt; and above by &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(a, b) = N(b, a)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(0, b) = b&amp;lt;/math&amp;gt; (everything must be &amp;lt;math&amp;gt;+1&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 1) = 11&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences: choose &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;, and use the constraints &amp;lt;math&amp;gt;x_n +x_{2n} = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_1 + \ldots + x_{2n} = 0&amp;lt;/math&amp;gt; to determine the entries up to &amp;lt;math&amp;gt;10&amp;lt;/math&amp;gt;; then choose &amp;lt;math&amp;gt;x_{11}&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 2) = 41&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 3) = 83&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;216&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 4) = 131&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;87144&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1,b)&amp;lt;\infty&amp;lt;/math&amp;gt; ([http://www.dpmms.cam.ac.uk/~ardm/erdoschu.pdf On a conjecture of Erdős and Čudakov])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(2, 2) \geq 1124&amp;lt;/math&amp;gt; (e.g [[the first 1124-sequence]])&lt;br /&gt;
&lt;br /&gt;
For the zero-based problem, see [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4822 this commend]&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequences was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere?&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 2) = 41&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - + + - - +&lt;br /&gt;
 - + + - + - - - + - + + - -&lt;br /&gt;
 + + - + - + + - - - + - + +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 3) = 83&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;216&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 - + - + - + + - + + - - +&lt;br /&gt;
 - + + - - + - - + - + + - +&lt;br /&gt;
 + + - - - + + - + + - - + -&lt;br /&gt;
 + - - + + - - + - + + + - +&lt;br /&gt;
 - - - + + - + - + - - + - +&lt;br /&gt;
 + - + + - - + - + - - - + +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 4) = 131&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;87144&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - - + -&lt;br /&gt;
 + + - + + + + - - - + -&lt;br /&gt;
 - + - + + - - + + + - -&lt;br /&gt;
 - + + - + - + - - + + -&lt;br /&gt;
 + + - - + - - + - + + +&lt;br /&gt;
 + - - + - + - - + + + -&lt;br /&gt;
 + - - - - + + - - - + +&lt;br /&gt;
 - - + + + + - - - - + +&lt;br /&gt;
 - + - + + + + - - + + -&lt;br /&gt;
 + - - - + + - - - + - -&lt;br /&gt;
 + + + - + + - - + - - +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(2, 2) \geq 1124&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 13:46, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Relevant code==&lt;br /&gt;
&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2489</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2489"/>
		<updated>2010-01-09T19:00:04Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Geometric variations ==&lt;br /&gt;
&lt;br /&gt;
It has been pointed out that the problem can be generalized to higher dimensions, for example by considering sequences with &amp;lt;math&amp;gt;\Vert x_n \Vert_2 = 1&amp;lt;/math&amp;gt; having partial sums lying within a sphere. It is difficult to do much in the way of computation when the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; can vary continuously, but if they are restricted to some finite set the problem becomes purely combinatorial and one can do more.&lt;br /&gt;
&lt;br /&gt;
[[6th unity roots]]&lt;br /&gt;
&lt;br /&gt;
=== The nine-point square ===&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the four points &amp;lt;math&amp;gt;(\pm 1, 0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(0, \pm 1)&amp;lt;/math&amp;gt;, and one requires all sums along HAPs to belong to one of the nine points at unit spacing centred on the origin, the maximum length of a sequence is &#039;&#039;at least&#039;&#039; &amp;lt;math&amp;gt;314&amp;lt;/math&amp;gt;. The following sequence achieves this:&lt;br /&gt;
&lt;br /&gt;
(1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (-1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (0, -1), (0, 1), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (0, 1), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (0, 1), (1, 0), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (1, 0), (-1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, 1), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, 1), (0, -1), (1, 0), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (0, -1), (0, 1), (0, 1)&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 14:42, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=6th_roots_of_unity&amp;diff=2488</id>
		<title>6th roots of unity</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=6th_roots_of_unity&amp;diff=2488"/>
		<updated>2010-01-09T18:58:55Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: New page: This page is about sequences that takes 6th root of unity as values.   The longest sequence with discrepancy 1 has length 116.  ==Method==  Here should be a short description of the way th...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is about sequences that takes 6th root of unity as values. &lt;br /&gt;
&lt;br /&gt;
The longest sequence with discrepancy 1 has length 116.&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the six points of a regular hexagon, and one requires all sums along HAPs to be zero or one of those same points, the maximum length of a sequence is &amp;lt;math&amp;gt;116&amp;lt;/math&amp;gt;. The following sequence achieves this, where the numbers index the points in order around the hexagon:&lt;br /&gt;
&lt;br /&gt;
 -, 0, 3, 3, 0, 3, 0, 2, 4, 0, 1, 4, 3,&lt;br /&gt;
 1, 5, 0, 2, 4, 3, 1, 5, 5, 1, 4, 1, 2,&lt;br /&gt;
 5, 3, 2, 5, 4, 1, 4, 1, 2, 5, 0, 2, 4,&lt;br /&gt;
 4, 1, 5, 2, 1, 4, 3, 1, 5, 5, 2, 4, 1,&lt;br /&gt;
 2, 4, 0, 1, 5, 4, 1, 4, 2, 2, 4, 0, 1,&lt;br /&gt;
 5, 4, 2, 5, 1, 2, 4, 3, 1, 5, 5, 1, 4,&lt;br /&gt;
 1, 3, 4, 2, 1, 0, 4, 1, 4, 3, 1, 5, 0,&lt;br /&gt;
 2, 4, 5, 2, 4, 1, 1, 5, 3, 2, 0, 3, 4,&lt;br /&gt;
 5, 1, 1, 3, 4, 1, 5, 0, 2, 4, 1, 3, 5&lt;br /&gt;
&lt;br /&gt;
Here are some of its HAP subseqences, which seem to show the presence of some kind of multiplicative structure, though the structure seems to degenerate as the sequences progress. &lt;br /&gt;
&lt;br /&gt;
====The 2-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 4, 1, 3, 5, 2, 3, 5, 1, 1, 5, 2, 4, 4, 2, 0, 4, 1, 2, 4, 1, 5, 4, 2, 0, 5, 1, 2, 4, 1, 4, 5, 2, 3, 5, 1, 1, 4, 1, 4, 4, 1, 0, 4, 2, 1, 5, 2, 3, 5, 1, 4, 5, 2, 1, 5&lt;br /&gt;
&lt;br /&gt;
====The 3-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 3, 0, 3, 5, 1, 3, 4, 1, 0, 4, 2, 3, 5, 1, 0, 4, 2, 0, 4, 1, 3, 5, 1, 2, 4, 3, 0, 5, 1, 3, 3, 1, 4, 0, 1&lt;br /&gt;
&lt;br /&gt;
====The 4-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 4, 3, 2, 5, 1, 2, 4, 0, 1, 4, 5, 2, 5, 2, 1, 5, 3, 1, 4, 4, 1, 4, 1, 2, 5, 4, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 5-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 4, 5, 1, 3, 4, 1, 2, 5, 2, 5, 4, 1, 0, 4, 2, 1, 5, 3&lt;br /&gt;
&lt;br /&gt;
====The 6-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 1, 4, 0, 2, 5, 0, 2, 4, 3, 1, 4, 0, 1, 3, 4, 1&lt;br /&gt;
&lt;br /&gt;
====The 8-sequence====&lt;br /&gt;
&lt;br /&gt;
4, 2, 1, 4, 1, 5, 5, 1, 3, 4, 1, 1, 5, 2&lt;br /&gt;
&lt;br /&gt;
====The 9-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 0, 3, 0, 0, 3, 2, 0, 3, 4&lt;br /&gt;
&lt;br /&gt;
====The 10-sequence====&lt;br /&gt;
&lt;br /&gt;
1, 5, 4, 1, 4, 2, 2, 4, 0, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 12-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 3, 4, 1, 4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relevant code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_first_1124-sequence&amp;diff=2487</id>
		<title>The first 1124-sequence</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_first_1124-sequence&amp;diff=2487"/>
		<updated>2010-01-09T18:58:31Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sequence with 1124 terms and discrepancy 2. We haven&#039;t found any longer sequences with discrepancy 2, but we have found more than 400 000 000 with this length.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Multiplicativity properties of the 1124 sequence==&lt;br /&gt;
&lt;br /&gt;
The 1124 sequence is not weakly multiplicative, but it does appear to be close to a weakly multiplicative sequence. That is, if you are prepared to disregard a few &amp;quot;errors&amp;quot;, then the number of distinct HAP-subsequences is 6. One can use this information to identify a quasi-multiplicative sequence that is in some sense close to the 1124 sequence. Some details can be found in the sequences of comments that begin [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4682 here] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4709 here].&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
The sequence is the longest know sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
===The raw sequence===&lt;br /&gt;
&lt;br /&gt;
 + - + + - - - - + + - + + + - - + - + + - - - + - + + - + -&lt;br /&gt;
 - + + - + - - + - - + + - + + - - - + + + - - + - + - - + +&lt;br /&gt;
 + + - - + - - + + - - + + + - - + + - + - - + - - + + - + -&lt;br /&gt;
 - + - + + + - - + - + - - + + - - - + + - + + + - - - + - -&lt;br /&gt;
 + - + + + + - - - - + + - + + + - - + - - + - - + - + - + +&lt;br /&gt;
 - + + + - - - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
 + - + - + - + + - - - + + - + + - - + - - + - - + + + + - +&lt;br /&gt;
 - - + - - + + - - + - + + - - - + - + + - + + + - - + + - -&lt;br /&gt;
 + - - + - + + - - + - + + - + + - - + - - + - + + - - + + -&lt;br /&gt;
 + - + - - + - + + + - - + - + + - - - - + + - - + - + + - +&lt;br /&gt;
 + - - + - + + - - + + - + - - + - + - - + + - - + - + + + -&lt;br /&gt;
 + - - + - + - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - + + - - - + + - - + - + + - +&lt;br /&gt;
 + - - + - - + + + + - - - - + + - + + - + + - - + - - + + -&lt;br /&gt;
 - - + + - + + - - + - + + - + - - - + - + + - + + - - + - -&lt;br /&gt;
 + - + + - - + + - + + + - - - + - + + - + + - - + - - - + +&lt;br /&gt;
 + - - + - + - - + + + - + - + + - + - - - + + - + - + + - -&lt;br /&gt;
 + - - + - + + - - + - + - + + - + - + - - + - + + - - + - -&lt;br /&gt;
 + - + + + - - - + + - + + + - + - - + - + + - - + - + + - +&lt;br /&gt;
 - - - + - + + - + + - - + - - - + + + - - + - + + - - + + -&lt;br /&gt;
 + - + + - + - - - + - - + - + + - - + - + + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - + - - + - + + - + - - + + - +&lt;br /&gt;
 + - - + - - + - + + - - + - + + - + + - - + - + + - - + + -&lt;br /&gt;
 + - - + - + + - - + - - + - + + - - + - + + - + + - + + - -&lt;br /&gt;
 + - + + - - + - - + - + + - - + - + - - + + + - + - - + - +&lt;br /&gt;
 + - - + - + - - + + + - - - + + - + + - - + + - + - + + - -&lt;br /&gt;
 + - - + - - + - + + - + - - + + + - + - - + - + + - - + - +&lt;br /&gt;
 - - + + - - + - + + - + + - - + + - + - - + - - + - + + - +&lt;br /&gt;
 + - - + - + + - + + - - + - - + + + - - - + - - + - + + - -&lt;br /&gt;
 + + + + - + - - + + - - + - + + - - + - - + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - - + + - - + + - - + - + + - +&lt;br /&gt;
 + - - + - - + - + + + - + - - + - + + - - + - + + - + - + -&lt;br /&gt;
 - + - + - + + - - + - + - - + + + - + - - - + + + - - + - -&lt;br /&gt;
 + - + + - - + + + + - + - - - + - + + - + + - - + - - + + +&lt;br /&gt;
 - - - + - - + - + + + - + - + + - + - - - + - - + + + + - -&lt;br /&gt;
 + - + + - - + - + + - + - - + - + + - - - + - - + + - + - +&lt;br /&gt;
 + - + - - - + - + + + + - + - - - - + - + + - + + - - + + -&lt;br /&gt;
 + + - + - - + - + + - + - -&lt;br /&gt;
&lt;br /&gt;
===The sequence, together with the corresponding integers===&lt;br /&gt;
&lt;br /&gt;
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- 41+ 42+ 43- 44+ 45+ 46- 47- 48- 49+ 50+ 51+ 52- 53- 54+ 55- 56+ 57- 58- 59+ 60+ 61+ 62+ 63- 64- 65+ 66- 67- 68+ 69+ 70- 71- 72+ 73+ 74+ 75- 76- 77+ 78+ 79- 80+ 81- 82- 83+ 84- 85- 86+ 87+ 88- 89+ 90- 91- 92+ 93- 94+ 95+ 96+ 97- 98- 99+ 100- 101+ 102- 103- 104+ 105+ 106- 107- 108- 109+ 110+ 111- 112+ 113+ 114+ 115- 116- 117- 118+ 119- 120- 121+ 122- 123+ 124+ 125+ 126+ 127- 128- 129- 130- 131+ 132+ 133- 134+ 135+ 136+ 137- 138- 139+ 140- 141- 142+ 143- 144- 145+ 146- 147+ 148- 149+ 150+ 151- 152+ 153+ 154+ 155- 156- 157- 158- 159+ 160+ 161+ 162+ 163- 164- 165- 166+ 167+ 168- 169+ 170- 171- 172+ 173- 174+ 175+ 176- 177- 178+ 179- 180+ 181+ 182- 183+ 184- 185+ 186- 187+ 188+ 189- 190- 191- 192+ 193+ 194- 195+ 196+ 197- 198- 199+ 200- 201- 202+ 203- 204- 205+ 206+ 207+ 208+ 209- 210+ 211- 212- 213+ 214- 215- 216+ 217+ 218- 219- 220+ 221- 222+ 223+ 224- 225- 226- 227+ 228- 229+ 230+ 231- 232+ 233+ 234+ 235- 236- 237+ 238+ 239- 240- 241+ 242- 243- 244+ 245- 246+ 247+ 248- 249- 250+ 251- 252+ 253+ 254- 255+ 256+ 257- 258- 259+ 260- 261- 262+ 263- 264+ 265+ 266- 267- 268+ 269+ 270- 271+ 272- 273+ 274- 275- 276+ 277- 278+ 279+ 280+ 281- 282- 283+ 284- 285+ 286+ 287- 288- 289- 290- 291+ 292+ 293- 294- 295+ 296- 297+ 298+ 299- 300+ 301+ 302- 303- 304+ 305- 306+ 307+ 308- 309- 310+ 311+ 312- 313+ 314- 315- 316+ 317- 318+ 319- 320- 321+ 322+ 323- 324- 325+ 326- 327+ 328+ 329+ 330- 331+ 332- 333- 334+ 335- 336+ 337- 338- 339+ 340+ 341+ 342+ 343- 344- 345- 346+ 347+ 348- 349+ 350- 351- 352+ 353- 354+ 355+ 356- 357- 358+ 359- 360+ 361+ 362- 363+ 364+ 365- 366- 367+ 368- 369- 370+ 371- 372+ 373+ 374- 375- 376+ 377+ 378- 379- 380- 381+ 382+ 383- 384- 385+ 386- 387+ 388+ 389- 390+ 391+ 392- 393- 394+ 395- 396- 397+ 398+ 399+ 400+ 401- 402- 403- 404- 405+ 406+ 407- 408+ 409+ 410- 411+ 412+ 413- 414- 415+ 416- 417- 418+ 419+ 420- 421- 422- 423+ 424+ 425- 426+ 427+ 428- 429- 430+ 431- 432+ 433+ 434- 435+ 436- 437- 438- 439+ 440- 441+ 442+ 443- 444+ 445+ 446- 447- 448+ 449- 450- 451+ 452- 453+ 454+ 455- 456- 457+ 458+ 459- 460+ 461+ 462+ 463- 464- 465- 466+ 467- 468+ 469+ 470- 471+ 472+ 473- 474- 475+ 476- 477- 478- 479+ 480+ 481+ 482- 483- 484+ 485- 486+ 487- 488- 489+ 490+ 491+ 492- 493+ 494- 495+ 496+ 497- 498+ 499- 500- 501- 502+ 503+ 504- 505+ 506- 507+ 508+ 509- 510- 511+ 512- 513- 514+ 515- 516+ 517+ 518- 519- 520+ 521- 522+ 523- 524+ 525+ 526- 527+ 528- 529+ 530- 531- 532+ 533- 534+ 535+ 536- 537- 538+ 539- 540- 541+ 542- 543+ 544+ 545+ 546- 547- 548- 549+ 550+ 551- 552+ 553+ 554+ 555- 556+ 557- 558- 559+ 560- 561+ 562+ 563- 564- 565+ 566- 567+ 568+ 569- 570+ 571- 572- 573- 574+ 575- 576+ 577+ 578- 579+ 580+ 581- 582- 583+ 584- 585- 586- 587+ 588+ 589+ 590- 591- 592+ 593- 594+ 595+ 596- 597- 598+ 599+ 600- 601+ 602- 603+ 604+ 605- 606+ 607- 608- 609- 610+ 611- 612- 613+ 614- 615+ 616+ 617- 618- 619+ 620- 621+ 622+ 623- 624+ 625+ 626- 627- 628+ 629- 630+ 631+ 632- 633+ 634+ 635- 636- 637+ 638- 639- 640+ 641- 642+ 643+ 644- 645- 646+ 647- 648- 649+ 650- 651+ 652+ 653- 654+ 655- 656- 657+ 658+ 659- 660+ 661+ 662- 663- 664+ 665- 666- 667+ 668- 669+ 670+ 671- 672- 673+ 674- 675+ 676+ 677- 678+ 679+ 680- 681- 682+ 683- 684+ 685+ 686- 687- 688+ 689+ 690- 691+ 692- 693- 694+ 695- 696+ 697+ 698- 699- 700+ 701- 702- 703+ 704- 705+ 706+ 707- 708- 709+ 710- 711+ 712+ 713- 714+ 715+ 716- 717+ 718+ 719- 720- 721+ 722- 723+ 724+ 725- 726- 727+ 728- 729- 730+ 731- 732+ 733+ 734- 735- 736+ 737- 738+ 739- 740- 741+ 742+ 743+ 744- 745+ 746- 747- 748+ 749- 750+ 751+ 752- 753- 754+ 755- 756+ 757- 758- 759+ 760+ 761+ 762- 763- 764- 765+ 766+ 767- 768+ 769+ 770- 771- 772+ 773+ 774- 775+ 776- 777+ 778+ 779- 780- 781+ 782- 783- 784+ 785- 786- 787+ 788- 789+ 790+ 791- 792+ 793- 794- 795+ 796+ 797+ 798- 799+ 800- 801- 802+ 803- 804+ 805+ 806- 807- 808+ 809- 810+ 811- 812- 813+ 814+ 815- 816- 817+ 818- 819+ 820+ 821- 822+ 823+ 824- 825- 826+ 827+ 828- 829+ 830- 831- 832+ 833- 834- 835+ 836- 837+ 838+ 839- 840+ 841+ 842- 843- 844+ 845- 846+ 847+ 848- 849+ 850+ 851- 852- 853+ 854- 855- 856+ 857+ 858+ 859- 860- 861- 862+ 863- 864- 865+ 866- 867+ 868+ 869- 870- 871+ 872+ 873+ 874+ 875- 876+ 877- 878- 879+ 880+ 881- 882- 883+ 884- 885+ 886+ 887- 888- 889+ 890- 891- 892+ 893- 894+ 895+ 896- 897- 898+ 899- 900+ 901+ 902- 903+ 904+ 905- 906- 907+ 908- 909- 910+ 911- 912+ 913+ 914- 915- 916- 917+ 918+ 919- 920- 921+ 922+ 923- 924- 925+ 926- 927+ 928+ 929- 930+ 931+ 932- 933- 934+ 935- 936- 937+ 938- 939+ 940+ 941+ 942- 943+ 944- 945- 946+ 947- 948+ 949+ 950- 951- 952+ 953- 954+ 955+ 956- 957+ 958- 959+ 960- 961- 962+ 963- 964+ 965- 966+ 967+ 968- 969- 970+ 971- 972+ 973- 974- 975+ 976+ 977+ 978- 979+ 980- 981- 982- 983+ 984+ 985+ 986- 987- 988+ 989- 990- 991+ 992- 993+ 994+ 995- 996- 997+ 998+ 999+ 1000+ 1001- 1002+ 1003- 1004- 1005- 1006+ 1007- 1008+ 1009+ 1010- 1011+ 1012+ 1013- 1014- 1015+ 1016- 1017- 1018+ 1019+ 1020+ 1021- 1022- 1023- 1024+ 1025- 1026- 1027+ 1028- 1029+ 1030+ 1031+ 1032- 1033+ 1034- 1035+ 1036+ 1037- 1038+ 1039- 1040- 1041- 1042+ 1043- 1044- 1045+ 1046+ 1047+ 1048+ 1049- 1050- 1051+ 1052- 1053+ 1054+ 1055- 1056- 1057+ 1058- 1059+ 1060+ 1061- 1062+ 1063- 1064- 1065+ 1066- 1067+ 1068+ 1069- 1070- 1071- 1072+ 1073- 1074- 1075+ 1076+ 1077- 1078+ 1079- 1080+ 1081+ 1082- 1083+ 1084- 1085- 1086- 1087+ 1088- 1089+ 1090+ 1091+ 1092+ 1093- 1094+ 1095- 1096- 1097- 1098- 1099+ 1100- 1101+ 1102+ 1103- 1104+ 1105+ 1106- 1107- 1108+ 1109+ 1110- 1111+ 1112+ 1113- 1114+ 1115- 1116- 1117+ 1118- 1119+ 1120+ 1121- 1122+ 1123- 1124-&lt;br /&gt;
&lt;br /&gt;
===Links to other displays and visually displayed information about the sequence===&lt;br /&gt;
&lt;br /&gt;
Here is an alternate formatting. [http://numberwarrior.wordpress.com/files/2009/12/longsequence.png Link].&lt;br /&gt;
&lt;br /&gt;
[http://spreadsheets.google.com/ccc?key=0AkbsKAn5VTtvdGpoOG9xYWlUYTNpa1I0UktEMUsxZmc&amp;amp;hl=en The sequence in groups of 24] (Google Docs format).&lt;br /&gt;
[http://go2.wordpress.com/?id=725X1342&amp;amp;site=gowers.wordpress.com&amp;amp;url=http%3A%2F%2Fspreadsheets.google.com%2Fccc%3Fkey%3D0AkbsKAn5VTtvdDdrTDd1YmM3bGZESEFwZWhnSVBZMEE%26hl%3Den Multiples of 2 only].&lt;br /&gt;
&lt;br /&gt;
[http://thomas1111.wordpress.com/2010/01/09/erdos-discrepancy-a-program-to-get-html-tables/ The sequence in groups of 24, also multiples of 8 only] (HTML format).&lt;br /&gt;
&lt;br /&gt;
Here is a Rauzy tree that conveys information about subsequences of the sequence: [http://obryant.wordpress.com/2010/01/09/a-rauzy-tree/ Link].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relevant code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2485</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2485"/>
		<updated>2010-01-09T18:47:22Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Geometric variations ==&lt;br /&gt;
&lt;br /&gt;
It has been pointed out that the problem can be generalized to higher dimensions, for example by considering sequences with &amp;lt;math&amp;gt;\Vert x_n \Vert_2 = 1&amp;lt;/math&amp;gt; having partial sums lying within a sphere. It is difficult to do much in the way of computation when the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; can vary continuously, but if they are restricted to some finite set the problem becomes purely combinatorial and one can do more.&lt;br /&gt;
&lt;br /&gt;
=== The seven-point hexagon ===&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the six points of a regular hexagon, and one requires all sums along HAPs to be zero or one of those same points, the maximum length of a sequence is &amp;lt;math&amp;gt;116&amp;lt;/math&amp;gt;. The following sequence achieves this, where the numbers index the points in order around the hexagon:&lt;br /&gt;
&lt;br /&gt;
 -, 0, 3, 3, 0, 3, 0, 2, 4, 0, 1, 4, 3,&lt;br /&gt;
 1, 5, 0, 2, 4, 3, 1, 5, 5, 1, 4, 1, 2,&lt;br /&gt;
 5, 3, 2, 5, 4, 1, 4, 1, 2, 5, 0, 2, 4,&lt;br /&gt;
 4, 1, 5, 2, 1, 4, 3, 1, 5, 5, 2, 4, 1,&lt;br /&gt;
 2, 4, 0, 1, 5, 4, 1, 4, 2, 2, 4, 0, 1,&lt;br /&gt;
 5, 4, 2, 5, 1, 2, 4, 3, 1, 5, 5, 1, 4,&lt;br /&gt;
 1, 3, 4, 2, 1, 0, 4, 1, 4, 3, 1, 5, 0,&lt;br /&gt;
 2, 4, 5, 2, 4, 1, 1, 5, 3, 2, 0, 3, 4,&lt;br /&gt;
 5, 1, 1, 3, 4, 1, 5, 0, 2, 4, 1, 3, 5&lt;br /&gt;
&lt;br /&gt;
Here are some of its HAP subseqences, which seem to show the presence of some kind of multiplicative structure, though the structure seems to degenerate as the sequences progress. &lt;br /&gt;
&lt;br /&gt;
====The 2-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 4, 1, 3, 5, 2, 3, 5, 1, 1, 5, 2, 4, 4, 2, 0, 4, 1, 2, 4, 1, 5, 4, 2, 0, 5, 1, 2, 4, 1, 4, 5, 2, 3, 5, 1, 1, 4, 1, 4, 4, 1, 0, 4, 2, 1, 5, 2, 3, 5, 1, 4, 5, 2, 1, 5&lt;br /&gt;
&lt;br /&gt;
====The 3-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 3, 0, 3, 5, 1, 3, 4, 1, 0, 4, 2, 3, 5, 1, 0, 4, 2, 0, 4, 1, 3, 5, 1, 2, 4, 3, 0, 5, 1, 3, 3, 1, 4, 0, 1&lt;br /&gt;
&lt;br /&gt;
====The 4-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 4, 3, 2, 5, 1, 2, 4, 0, 1, 4, 5, 2, 5, 2, 1, 5, 3, 1, 4, 4, 1, 4, 1, 2, 5, 4, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 5-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 4, 5, 1, 3, 4, 1, 2, 5, 2, 5, 4, 1, 0, 4, 2, 1, 5, 3&lt;br /&gt;
&lt;br /&gt;
====The 6-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 1, 4, 0, 2, 5, 0, 2, 4, 3, 1, 4, 0, 1, 3, 4, 1&lt;br /&gt;
&lt;br /&gt;
====The 8-sequence====&lt;br /&gt;
&lt;br /&gt;
4, 2, 1, 4, 1, 5, 5, 1, 3, 4, 1, 1, 5, 2&lt;br /&gt;
&lt;br /&gt;
====The 9-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 0, 3, 0, 0, 3, 2, 0, 3, 4&lt;br /&gt;
&lt;br /&gt;
====The 10-sequence====&lt;br /&gt;
&lt;br /&gt;
1, 5, 4, 1, 4, 2, 2, 4, 0, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 12-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 3, 4, 1, 4&lt;br /&gt;
&lt;br /&gt;
=== The nine-point square ===&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the four points &amp;lt;math&amp;gt;(\pm 1, 0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(0, \pm 1)&amp;lt;/math&amp;gt;, and one requires all sums along HAPs to belong to one of the nine points at unit spacing centred on the origin, the maximum length of a sequence is &#039;&#039;at least&#039;&#039; &amp;lt;math&amp;gt;314&amp;lt;/math&amp;gt;. The following sequence achieves this:&lt;br /&gt;
&lt;br /&gt;
(1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (-1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (0, -1), (0, 1), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (0, 1), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (0, 1), (1, 0), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (1, 0), (-1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, 1), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, 1), (0, -1), (1, 0), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (0, -1), (0, 1), (0, 1)&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 14:42, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Different_upper_and_lower_bound&amp;diff=2484</id>
		<title>Different upper and lower bound</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Different_upper_and_lower_bound&amp;diff=2484"/>
		<updated>2010-01-09T18:46:59Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If &amp;lt;math&amp;gt;N(a,b)&amp;lt;/math&amp;gt; is the maximum length of a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence with the partial sums along its HAPs bounded below by &amp;lt;math&amp;gt;-a&amp;lt;/math&amp;gt; and above by &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(a, b) = N(b, a)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(0, b) = b&amp;lt;/math&amp;gt; (everything must be &amp;lt;math&amp;gt;+1&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 1) = 11&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences: choose &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;, and use the constraints &amp;lt;math&amp;gt;x_n +x_{2n} = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_1 + \ldots + x_{2n} = 0&amp;lt;/math&amp;gt; to determine the entries up to &amp;lt;math&amp;gt;10&amp;lt;/math&amp;gt;; then choose &amp;lt;math&amp;gt;x_{11}&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 2) = 41&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 3) = 83&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;216&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 4) = 131&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;87144&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1,b)&amp;lt;\infty&amp;lt;/math&amp;gt; ([http://www.dpmms.cam.ac.uk/~ardm/erdoschu.pdf On a conjecture of Erdős and Čudakov])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(2, 2) \geq 1124&amp;lt;/math&amp;gt; (e.g [[the first 1124-sequence]])&lt;br /&gt;
&lt;br /&gt;
For the zero-based problem, see [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4822 this commend]&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequences was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
The sequence is the longest know sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 2) = 41&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - + + - - +&lt;br /&gt;
 - + + - + - - - + - + + - -&lt;br /&gt;
 + + - + - + + - - - + - + +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 3) = 83&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;216&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 - + - + - + + - + + - - +&lt;br /&gt;
 - + + - - + - - + - + + - +&lt;br /&gt;
 + + - - - + + - + + - - + -&lt;br /&gt;
 + - - + + - - + - + + + - +&lt;br /&gt;
 - - - + + - + - + - - + - +&lt;br /&gt;
 + - + + - - + - + - - - + +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 4) = 131&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;87144&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - - + -&lt;br /&gt;
 + + - + + + + - - - + -&lt;br /&gt;
 - + - + + - - + + + - -&lt;br /&gt;
 - + + - + - + - - + + -&lt;br /&gt;
 + + - - + - - + - + + +&lt;br /&gt;
 + - - + - + - - + + + -&lt;br /&gt;
 + - - - - + + - - - + +&lt;br /&gt;
 - - + + + + - - - - + +&lt;br /&gt;
 - + - + + + + - - + + -&lt;br /&gt;
 + - - - + + - - - + - -&lt;br /&gt;
 + + + - + + - - + - - +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(2, 2) \geq 1124&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 13:46, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Relevant code==&lt;br /&gt;
&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Different_upper_and_lower_bound&amp;diff=2483</id>
		<title>Different upper and lower bound</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Different_upper_and_lower_bound&amp;diff=2483"/>
		<updated>2010-01-09T18:42:38Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: New page: If &amp;lt;math&amp;gt;N(a,b)&amp;lt;/math&amp;gt; is the maximum length of a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence with the partial sums along its HAPs bounded below by &amp;lt;math&amp;gt;-a&amp;lt;/math&amp;gt; and above by &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, then:  &amp;lt;mat...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If &amp;lt;math&amp;gt;N(a,b)&amp;lt;/math&amp;gt; is the maximum length of a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence with the partial sums along its HAPs bounded below by &amp;lt;math&amp;gt;-a&amp;lt;/math&amp;gt; and above by &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(a, b) = N(b, a)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(0, b) = b&amp;lt;/math&amp;gt; (everything must be &amp;lt;math&amp;gt;+1&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 1) = 11&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences: choose &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;, and use the constraints &amp;lt;math&amp;gt;x_n +x_{2n} = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_1 + \ldots + x_{2n} = 0&amp;lt;/math&amp;gt; to determine the entries up to &amp;lt;math&amp;gt;10&amp;lt;/math&amp;gt;; then choose &amp;lt;math&amp;gt;x_{11}&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 2) = 41&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 3) = 83&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;216&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 4) = 131&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;87144&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1,b)&amp;lt;\infty&amp;lt;/math&amp;gt; ([http://www.dpmms.cam.ac.uk/~ardm/erdoschu.pdf On a conjecture of Erdős and Čudakov])&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(2, 2) \geq 1124&amp;lt;/math&amp;gt; (e.g [[the first 1124-sequence]])&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequences was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
The sequence is the longest know sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 2) = 41&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - + + - - +&lt;br /&gt;
 - + + - + - - - + - + + - -&lt;br /&gt;
 + + - + - + + - - - + - + +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 3) = 83&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;216&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 - + - + - + + - + + - - +&lt;br /&gt;
 - + + - - + - - + - + + - +&lt;br /&gt;
 + + - - - + + - + + - - + -&lt;br /&gt;
 + - - + + - - + - + + + - +&lt;br /&gt;
 - - - + + - + - + - - + - +&lt;br /&gt;
 + - + + - - + - + - - - + +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 4) = 131&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;87144&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - - + -&lt;br /&gt;
 + + - + + + + - - - + -&lt;br /&gt;
 - + - + + - - + + + - -&lt;br /&gt;
 - + + - + - + - - + + -&lt;br /&gt;
 + + - - + - - + - + + +&lt;br /&gt;
 + - - + - + - - + + + -&lt;br /&gt;
 + - - - - + + - - - + +&lt;br /&gt;
 - - + + + + - - - - + +&lt;br /&gt;
 - + - + + + + - - + + -&lt;br /&gt;
 + - - - + + - - - + - -&lt;br /&gt;
 + + + - + + - - + - - +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(2, 2) \geq 1124&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 13:46, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==Relevant code==&lt;br /&gt;
&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Length_1124_sequences&amp;diff=2482</id>
		<title>Length 1124 sequences</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Length_1124_sequences&amp;diff=2482"/>
		<updated>2010-01-09T18:41:44Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Relavant Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;This page is about a large family of length 1124 sequences. The family does not include [[the first 1124-sequence]], since we used another method for that one (correct me if I&#039;m wrong).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you can find better name for the pages I create, you are more than welcome.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
These sequences is among the longest know sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
There is at least 428 995 120 sequences in this family. See [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4831 this commend].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 0 + + - - + + - + - - + - - - + + - + - - + + + - + - - + -&lt;br /&gt;
 + + - - + - + - - + + + - + - - + - + + - - + + - + - + + -&lt;br /&gt;
 - + - + + - + - - - + + - - + + + - - + - + - - + + - - + -&lt;br /&gt;
 + + - + - - - + + - + + + - - - + - + + - + - - - + + + - +&lt;br /&gt;
 + - + - - - - + + + + - - + - - - + + - + + - + + - + - + -&lt;br /&gt;
 - + - - - + + + + - - - - + + + - - + - + + - + - - + + - +&lt;br /&gt;
 - - + - + - + - - + + - - + + - - + + - + + - + + - - - - +&lt;br /&gt;
 - + + - + + - - + + - + - - + + + - + - - + - - - + + - - +&lt;br /&gt;
 + - + + - + - - + + - + - - + - - + + - + + + - - - + + - -&lt;br /&gt;
 + + + - - + - + - - - + + - + - - + + - + - - + + + + - - +&lt;br /&gt;
 - - + + - - - + + + - - + - + + - + - - + - - + + - + - - +&lt;br /&gt;
 + - + + - + - + + - - + - - + + - - + - + + - + - - + + + -&lt;br /&gt;
 - + - - - + + - + + - + - - + + - + + - + - - - + - + - - +&lt;br /&gt;
 - + + - - + + + - - - + + - + - - + - + + + - - + - + + - +&lt;br /&gt;
 + - + - - + - - + + - + - + + - + - + - + - - + - - + + - +&lt;br /&gt;
 + - + - - + + - - + - - - + + + - - - + + - - + + - + + + -&lt;br /&gt;
 - - + + - + - + + - - - + - + - - + - + + + - - + - + - - +&lt;br /&gt;
 + - + + - + - - + + - + - + - - + - + - + + - + - - + - - +&lt;br /&gt;
 + + - + - - + + + - - + - - + + - + + - + - - + + - + - - +&lt;br /&gt;
 - - + + - + - - + - - + + - + + + - - - + + - + - - + + - +&lt;br /&gt;
 + - + - - + - - + + - + + - + - - + + - + - - + - - + + - +&lt;br /&gt;
 - - + - - + + - + + - - - + + + - + + - + - - - - + + - - +&lt;br /&gt;
 - + + + - + + - + - - + + - + - - + - - + + - + - - + + - -&lt;br /&gt;
 + - + + - + - - + + - - + - + - - + + + + - - + - - + - - +&lt;br /&gt;
 + - + - - + + - + + - + - - + + - + - + + - - - + - + + - +&lt;br /&gt;
 - - + + - + - + + - - - + + + - - + - - + + - - + - + - - +&lt;br /&gt;
 + - + + - + + - + - - + - + + - - - + - + + - + - - + + - +&lt;br /&gt;
 - - + + - + + - + - - - - + + + - + + - + - - + + - + - - +&lt;br /&gt;
 - - + + - + - - + - - + + - + + - + - - + + - + + - + - - +&lt;br /&gt;
 + - - - - + - + + - - + + + + - - - + - + + - + - - + + - +&lt;br /&gt;
 - - + - - + + - + + - + - - + + + - - + + - - + + - + - - +&lt;br /&gt;
 - - - + + + + - + - - - + - + + - + - - + + - + - + + - - -&lt;br /&gt;
 + + - + + - - - + + - + - + + - - - + - + + + - - - + + - +&lt;br /&gt;
 + - + - - + + - - - - + - + + + - + - - + - - + + - + + - -&lt;br /&gt;
 - + + + - + + - + - - - + - + - - + - + + + - + + - - - - +&lt;br /&gt;
 + + + - - - + - + - - + - + + + + - - - + + - + - - + + - +&lt;br /&gt;
 - + + - - + + - + - - - - + + + + - + - + - - + - - + + - +&lt;br /&gt;
 + - - + - + + - + - - + - + +&lt;br /&gt;
&lt;br /&gt;
[http://thomas1111.wordpress.com/2010/01/09/tables-for-the-second-1124-sequence/ The sequence divided into groups of 24, and also with multiples of 8 only].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relevant Code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_first_1124-sequence&amp;diff=2481</id>
		<title>The first 1124-sequence</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_first_1124-sequence&amp;diff=2481"/>
		<updated>2010-01-09T18:40:52Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Relavant Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sequence with 1124 terms and discrepancy 2. We haven&#039;t found any longer sequences with discrepancy 2, but we have found more than 400 000 000 with this length.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Multiplicativity properties of the 1124 sequence==&lt;br /&gt;
&lt;br /&gt;
The 1124 sequence is not weakly multiplicative, but it does appear to be close to a weakly multiplicative sequence. That is, if you are prepared to disregard a few &amp;quot;errors&amp;quot;, then the number of distinct HAP-subsequences is 6. One can use this information to identify a quasi-multiplicative sequence that is in some sense close to the 1124 sequence. Some details can be found in the sequences of comments that begin [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4682 here] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4709 here].&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
The sequence is the longest know sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
===The raw sequence===&lt;br /&gt;
&lt;br /&gt;
 + - + + - - - - + + - + + + - - + - + + - - - + - + + - + -&lt;br /&gt;
 - + + - + - - + - - + + - + + - - - + + + - - + - + - - + +&lt;br /&gt;
 + + - - + - - + + - - + + + - - + + - + - - + - - + + - + -&lt;br /&gt;
 - + - + + + - - + - + - - + + - - - + + - + + + - - - + - -&lt;br /&gt;
 + - + + + + - - - - + + - + + + - - + - - + - - + - + - + +&lt;br /&gt;
 - + + + - - - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
 + - + - + - + + - - - + + - + + - - + - - + - - + + + + - +&lt;br /&gt;
 - - + - - + + - - + - + + - - - + - + + - + + + - - + + - -&lt;br /&gt;
 + - - + - + + - - + - + + - + + - - + - - + - + + - - + + -&lt;br /&gt;
 + - + - - + - + + + - - + - + + - - - - + + - - + - + + - +&lt;br /&gt;
 + - - + - + + - - + + - + - - + - + - - + + - - + - + + + -&lt;br /&gt;
 + - - + - + - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - + + - - - + + - - + - + + - +&lt;br /&gt;
 + - - + - - + + + + - - - - + + - + + - + + - - + - - + + -&lt;br /&gt;
 - - + + - + + - - + - + + - + - - - + - + + - + + - - + - -&lt;br /&gt;
 + - + + - - + + - + + + - - - + - + + - + + - - + - - - + +&lt;br /&gt;
 + - - + - + - - + + + - + - + + - + - - - + + - + - + + - -&lt;br /&gt;
 + - - + - + + - - + - + - + + - + - + - - + - + + - - + - -&lt;br /&gt;
 + - + + + - - - + + - + + + - + - - + - + + - - + - + + - +&lt;br /&gt;
 - - - + - + + - + + - - + - - - + + + - - + - + + - - + + -&lt;br /&gt;
 + - + + - + - - - + - - + - + + - - + - + + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - + - - + - + + - + - - + + - +&lt;br /&gt;
 + - - + - - + - + + - - + - + + - + + - - + - + + - - + + -&lt;br /&gt;
 + - - + - + + - - + - - + - + + - - + - + + - + + - + + - -&lt;br /&gt;
 + - + + - - + - - + - + + - - + - + - - + + + - + - - + - +&lt;br /&gt;
 + - - + - + - - + + + - - - + + - + + - - + + - + - + + - -&lt;br /&gt;
 + - - + - - + - + + - + - - + + + - + - - + - + + - - + - +&lt;br /&gt;
 - - + + - - + - + + - + + - - + + - + - - + - - + - + + - +&lt;br /&gt;
 + - - + - + + - + + - - + - - + + + - - - + - - + - + + - -&lt;br /&gt;
 + + + + - + - - + + - - + - + + - - + - - + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - - + + - - + + - - + - + + - +&lt;br /&gt;
 + - - + - - + - + + + - + - - + - + + - - + - + + - + - + -&lt;br /&gt;
 - + - + - + + - - + - + - - + + + - + - - - + + + - - + - -&lt;br /&gt;
 + - + + - - + + + + - + - - - + - + + - + + - - + - - + + +&lt;br /&gt;
 - - - + - - + - + + + - + - + + - + - - - + - - + + + + - -&lt;br /&gt;
 + - + + - - + - + + - + - - + - + + - - - + - - + + - + - +&lt;br /&gt;
 + - + - - - + - + + + + - + - - - - + - + + - + + - - + + -&lt;br /&gt;
 + + - + - - + - + + - + - -&lt;br /&gt;
&lt;br /&gt;
===The sequence, together with the corresponding integers===&lt;br /&gt;
&lt;br /&gt;
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- 41+ 42+ 43- 44+ 45+ 46- 47- 48- 49+ 50+ 51+ 52- 53- 54+ 55- 56+ 57- 58- 59+ 60+ 61+ 62+ 63- 64- 65+ 66- 67- 68+ 69+ 70- 71- 72+ 73+ 74+ 75- 76- 77+ 78+ 79- 80+ 81- 82- 83+ 84- 85- 86+ 87+ 88- 89+ 90- 91- 92+ 93- 94+ 95+ 96+ 97- 98- 99+ 100- 101+ 102- 103- 104+ 105+ 106- 107- 108- 109+ 110+ 111- 112+ 113+ 114+ 115- 116- 117- 118+ 119- 120- 121+ 122- 123+ 124+ 125+ 126+ 127- 128- 129- 130- 131+ 132+ 133- 134+ 135+ 136+ 137- 138- 139+ 140- 141- 142+ 143- 144- 145+ 146- 147+ 148- 149+ 150+ 151- 152+ 153+ 154+ 155- 156- 157- 158- 159+ 160+ 161+ 162+ 163- 164- 165- 166+ 167+ 168- 169+ 170- 171- 172+ 173- 174+ 175+ 176- 177- 178+ 179- 180+ 181+ 182- 183+ 184- 185+ 186- 187+ 188+ 189- 190- 191- 192+ 193+ 194- 195+ 196+ 197- 198- 199+ 200- 201- 202+ 203- 204- 205+ 206+ 207+ 208+ 209- 210+ 211- 212- 213+ 214- 215- 216+ 217+ 218- 219- 220+ 221- 222+ 223+ 224- 225- 226- 227+ 228- 229+ 230+ 231- 232+ 233+ 234+ 235- 236- 237+ 238+ 239- 240- 241+ 242- 243- 244+ 245- 246+ 247+ 248- 249- 250+ 251- 252+ 253+ 254- 255+ 256+ 257- 258- 259+ 260- 261- 262+ 263- 264+ 265+ 266- 267- 268+ 269+ 270- 271+ 272- 273+ 274- 275- 276+ 277- 278+ 279+ 280+ 281- 282- 283+ 284- 285+ 286+ 287- 288- 289- 290- 291+ 292+ 293- 294- 295+ 296- 297+ 298+ 299- 300+ 301+ 302- 303- 304+ 305- 306+ 307+ 308- 309- 310+ 311+ 312- 313+ 314- 315- 316+ 317- 318+ 319- 320- 321+ 322+ 323- 324- 325+ 326- 327+ 328+ 329+ 330- 331+ 332- 333- 334+ 335- 336+ 337- 338- 339+ 340+ 341+ 342+ 343- 344- 345- 346+ 347+ 348- 349+ 350- 351- 352+ 353- 354+ 355+ 356- 357- 358+ 359- 360+ 361+ 362- 363+ 364+ 365- 366- 367+ 368- 369- 370+ 371- 372+ 373+ 374- 375- 376+ 377+ 378- 379- 380- 381+ 382+ 383- 384- 385+ 386- 387+ 388+ 389- 390+ 391+ 392- 393- 394+ 395- 396- 397+ 398+ 399+ 400+ 401- 402- 403- 404- 405+ 406+ 407- 408+ 409+ 410- 411+ 412+ 413- 414- 415+ 416- 417- 418+ 419+ 420- 421- 422- 423+ 424+ 425- 426+ 427+ 428- 429- 430+ 431- 432+ 433+ 434- 435+ 436- 437- 438- 439+ 440- 441+ 442+ 443- 444+ 445+ 446- 447- 448+ 449- 450- 451+ 452- 453+ 454+ 455- 456- 457+ 458+ 459- 460+ 461+ 462+ 463- 464- 465- 466+ 467- 468+ 469+ 470- 471+ 472+ 473- 474- 475+ 476- 477- 478- 479+ 480+ 481+ 482- 483- 484+ 485- 486+ 487- 488- 489+ 490+ 491+ 492- 493+ 494- 495+ 496+ 497- 498+ 499- 500- 501- 502+ 503+ 504- 505+ 506- 507+ 508+ 509- 510- 511+ 512- 513- 514+ 515- 516+ 517+ 518- 519- 520+ 521- 522+ 523- 524+ 525+ 526- 527+ 528- 529+ 530- 531- 532+ 533- 534+ 535+ 536- 537- 538+ 539- 540- 541+ 542- 543+ 544+ 545+ 546- 547- 548- 549+ 550+ 551- 552+ 553+ 554+ 555- 556+ 557- 558- 559+ 560- 561+ 562+ 563- 564- 565+ 566- 567+ 568+ 569- 570+ 571- 572- 573- 574+ 575- 576+ 577+ 578- 579+ 580+ 581- 582- 583+ 584- 585- 586- 587+ 588+ 589+ 590- 591- 592+ 593- 594+ 595+ 596- 597- 598+ 599+ 600- 601+ 602- 603+ 604+ 605- 606+ 607- 608- 609- 610+ 611- 612- 613+ 614- 615+ 616+ 617- 618- 619+ 620- 621+ 622+ 623- 624+ 625+ 626- 627- 628+ 629- 630+ 631+ 632- 633+ 634+ 635- 636- 637+ 638- 639- 640+ 641- 642+ 643+ 644- 645- 646+ 647- 648- 649+ 650- 651+ 652+ 653- 654+ 655- 656- 657+ 658+ 659- 660+ 661+ 662- 663- 664+ 665- 666- 667+ 668- 669+ 670+ 671- 672- 673+ 674- 675+ 676+ 677- 678+ 679+ 680- 681- 682+ 683- 684+ 685+ 686- 687- 688+ 689+ 690- 691+ 692- 693- 694+ 695- 696+ 697+ 698- 699- 700+ 701- 702- 703+ 704- 705+ 706+ 707- 708- 709+ 710- 711+ 712+ 713- 714+ 715+ 716- 717+ 718+ 719- 720- 721+ 722- 723+ 724+ 725- 726- 727+ 728- 729- 730+ 731- 732+ 733+ 734- 735- 736+ 737- 738+ 739- 740- 741+ 742+ 743+ 744- 745+ 746- 747- 748+ 749- 750+ 751+ 752- 753- 754+ 755- 756+ 757- 758- 759+ 760+ 761+ 762- 763- 764- 765+ 766+ 767- 768+ 769+ 770- 771- 772+ 773+ 774- 775+ 776- 777+ 778+ 779- 780- 781+ 782- 783- 784+ 785- 786- 787+ 788- 789+ 790+ 791- 792+ 793- 794- 795+ 796+ 797+ 798- 799+ 800- 801- 802+ 803- 804+ 805+ 806- 807- 808+ 809- 810+ 811- 812- 813+ 814+ 815- 816- 817+ 818- 819+ 820+ 821- 822+ 823+ 824- 825- 826+ 827+ 828- 829+ 830- 831- 832+ 833- 834- 835+ 836- 837+ 838+ 839- 840+ 841+ 842- 843- 844+ 845- 846+ 847+ 848- 849+ 850+ 851- 852- 853+ 854- 855- 856+ 857+ 858+ 859- 860- 861- 862+ 863- 864- 865+ 866- 867+ 868+ 869- 870- 871+ 872+ 873+ 874+ 875- 876+ 877- 878- 879+ 880+ 881- 882- 883+ 884- 885+ 886+ 887- 888- 889+ 890- 891- 892+ 893- 894+ 895+ 896- 897- 898+ 899- 900+ 901+ 902- 903+ 904+ 905- 906- 907+ 908- 909- 910+ 911- 912+ 913+ 914- 915- 916- 917+ 918+ 919- 920- 921+ 922+ 923- 924- 925+ 926- 927+ 928+ 929- 930+ 931+ 932- 933- 934+ 935- 936- 937+ 938- 939+ 940+ 941+ 942- 943+ 944- 945- 946+ 947- 948+ 949+ 950- 951- 952+ 953- 954+ 955+ 956- 957+ 958- 959+ 960- 961- 962+ 963- 964+ 965- 966+ 967+ 968- 969- 970+ 971- 972+ 973- 974- 975+ 976+ 977+ 978- 979+ 980- 981- 982- 983+ 984+ 985+ 986- 987- 988+ 989- 990- 991+ 992- 993+ 994+ 995- 996- 997+ 998+ 999+ 1000+ 1001- 1002+ 1003- 1004- 1005- 1006+ 1007- 1008+ 1009+ 1010- 1011+ 1012+ 1013- 1014- 1015+ 1016- 1017- 1018+ 1019+ 1020+ 1021- 1022- 1023- 1024+ 1025- 1026- 1027+ 1028- 1029+ 1030+ 1031+ 1032- 1033+ 1034- 1035+ 1036+ 1037- 1038+ 1039- 1040- 1041- 1042+ 1043- 1044- 1045+ 1046+ 1047+ 1048+ 1049- 1050- 1051+ 1052- 1053+ 1054+ 1055- 1056- 1057+ 1058- 1059+ 1060+ 1061- 1062+ 1063- 1064- 1065+ 1066- 1067+ 1068+ 1069- 1070- 1071- 1072+ 1073- 1074- 1075+ 1076+ 1077- 1078+ 1079- 1080+ 1081+ 1082- 1083+ 1084- 1085- 1086- 1087+ 1088- 1089+ 1090+ 1091+ 1092+ 1093- 1094+ 1095- 1096- 1097- 1098- 1099+ 1100- 1101+ 1102+ 1103- 1104+ 1105+ 1106- 1107- 1108+ 1109+ 1110- 1111+ 1112+ 1113- 1114+ 1115- 1116- 1117+ 1118- 1119+ 1120+ 1121- 1122+ 1123- 1124-&lt;br /&gt;
&lt;br /&gt;
===Links to other displays and visually displayed information about the sequence===&lt;br /&gt;
&lt;br /&gt;
Here is an alternate formatting. [http://numberwarrior.wordpress.com/files/2009/12/longsequence.png Link].&lt;br /&gt;
&lt;br /&gt;
[http://spreadsheets.google.com/ccc?key=0AkbsKAn5VTtvdGpoOG9xYWlUYTNpa1I0UktEMUsxZmc&amp;amp;hl=en The sequence in groups of 24] (Google Docs format).&lt;br /&gt;
[http://go2.wordpress.com/?id=725X1342&amp;amp;site=gowers.wordpress.com&amp;amp;url=http%3A%2F%2Fspreadsheets.google.com%2Fccc%3Fkey%3D0AkbsKAn5VTtvdDdrTDd1YmM3bGZESEFwZWhnSVBZMEE%26hl%3Den Multiples of 2 only].&lt;br /&gt;
&lt;br /&gt;
[http://thomas1111.wordpress.com/2010/01/09/erdos-discrepancy-a-program-to-get-html-tables/ The sequence in groups of 24, also multiples of 8 only] (HTML format).&lt;br /&gt;
&lt;br /&gt;
Here is a Rauzy tree that conveys information about subsequences of the sequence: [http://obryant.wordpress.com/2010/01/09/a-rauzy-tree/ Link].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relavant code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2480</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2480"/>
		<updated>2010-01-09T18:29:58Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
&lt;br /&gt;
[[The first 1124-sequence]] with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
Other [[length 1124 sequences]] with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== Varying the upper and lower bounds ==&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;N(a,b)&amp;lt;/math&amp;gt; is the maximum length of a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence with the partial sums along its HAPs bounded below by &amp;lt;math&amp;gt;-a&amp;lt;/math&amp;gt; and above by &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(a, b) = N(b, a)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(0, b) = b&amp;lt;/math&amp;gt; (everything must be &amp;lt;math&amp;gt;+1&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 1) = 11&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences: choose &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;, and use the constraints &amp;lt;math&amp;gt;x_n +x_{2n} = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_1 + \ldots + x_{2n} = 0&amp;lt;/math&amp;gt; to determine the entries up to &amp;lt;math&amp;gt;10&amp;lt;/math&amp;gt;; then choose &amp;lt;math&amp;gt;x_{11}&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 2) = 41&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - + + - - +&lt;br /&gt;
 - + + - + - - - + - + + - -&lt;br /&gt;
 + + - + - + + - - - + - + +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 3) = 83&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;216&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 - + - + - + + - + + - - +&lt;br /&gt;
 - + + - - + - - + - + + - +&lt;br /&gt;
 + + - - - + + - + + - - + -&lt;br /&gt;
 + - - + + - - + - + + + - +&lt;br /&gt;
 - - - + + - + - + - - + - +&lt;br /&gt;
 + - + + - - + - + - - - + +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 4) = 131&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;87144&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - - + -&lt;br /&gt;
 + + - + + + + - - - + -&lt;br /&gt;
 - + - + + - - + + + - -&lt;br /&gt;
 - + + - + - + - - + + -&lt;br /&gt;
 + + - - + - - + - + + +&lt;br /&gt;
 + - - + - + - - + + + -&lt;br /&gt;
 + - - - - + + - - - + +&lt;br /&gt;
 - - + + + + - - - - + +&lt;br /&gt;
 - + - + + + + - - + + -&lt;br /&gt;
 + - - - + + - - - + - -&lt;br /&gt;
 + + + - + + - - + - - +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(2, 2) \geq 1124&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 13:46, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Geometric variations ==&lt;br /&gt;
&lt;br /&gt;
It has been pointed out that the problem can be generalized to higher dimensions, for example by considering sequences with &amp;lt;math&amp;gt;\Vert x_n \Vert_2 = 1&amp;lt;/math&amp;gt; having partial sums lying within a sphere. It is difficult to do much in the way of computation when the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; can vary continuously, but if they are restricted to some finite set the problem becomes purely combinatorial and one can do more.&lt;br /&gt;
&lt;br /&gt;
=== The seven-point hexagon ===&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the six points of a regular hexagon, and one requires all sums along HAPs to be zero or one of those same points, the maximum length of a sequence is &amp;lt;math&amp;gt;116&amp;lt;/math&amp;gt;. The following sequence achieves this, where the numbers index the points in order around the hexagon:&lt;br /&gt;
&lt;br /&gt;
 -, 0, 3, 3, 0, 3, 0, 2, 4, 0, 1, 4, 3,&lt;br /&gt;
 1, 5, 0, 2, 4, 3, 1, 5, 5, 1, 4, 1, 2,&lt;br /&gt;
 5, 3, 2, 5, 4, 1, 4, 1, 2, 5, 0, 2, 4,&lt;br /&gt;
 4, 1, 5, 2, 1, 4, 3, 1, 5, 5, 2, 4, 1,&lt;br /&gt;
 2, 4, 0, 1, 5, 4, 1, 4, 2, 2, 4, 0, 1,&lt;br /&gt;
 5, 4, 2, 5, 1, 2, 4, 3, 1, 5, 5, 1, 4,&lt;br /&gt;
 1, 3, 4, 2, 1, 0, 4, 1, 4, 3, 1, 5, 0,&lt;br /&gt;
 2, 4, 5, 2, 4, 1, 1, 5, 3, 2, 0, 3, 4,&lt;br /&gt;
 5, 1, 1, 3, 4, 1, 5, 0, 2, 4, 1, 3, 5&lt;br /&gt;
&lt;br /&gt;
Here are some of its HAP subseqences, which seem to show the presence of some kind of multiplicative structure, though the structure seems to degenerate as the sequences progress. &lt;br /&gt;
&lt;br /&gt;
====The 2-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 4, 1, 3, 5, 2, 3, 5, 1, 1, 5, 2, 4, 4, 2, 0, 4, 1, 2, 4, 1, 5, 4, 2, 0, 5, 1, 2, 4, 1, 4, 5, 2, 3, 5, 1, 1, 4, 1, 4, 4, 1, 0, 4, 2, 1, 5, 2, 3, 5, 1, 4, 5, 2, 1, 5&lt;br /&gt;
&lt;br /&gt;
====The 3-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 3, 0, 3, 5, 1, 3, 4, 1, 0, 4, 2, 3, 5, 1, 0, 4, 2, 0, 4, 1, 3, 5, 1, 2, 4, 3, 0, 5, 1, 3, 3, 1, 4, 0, 1&lt;br /&gt;
&lt;br /&gt;
====The 4-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 4, 3, 2, 5, 1, 2, 4, 0, 1, 4, 5, 2, 5, 2, 1, 5, 3, 1, 4, 4, 1, 4, 1, 2, 5, 4, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 5-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 4, 5, 1, 3, 4, 1, 2, 5, 2, 5, 4, 1, 0, 4, 2, 1, 5, 3&lt;br /&gt;
&lt;br /&gt;
====The 6-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 1, 4, 0, 2, 5, 0, 2, 4, 3, 1, 4, 0, 1, 3, 4, 1&lt;br /&gt;
&lt;br /&gt;
====The 8-sequence====&lt;br /&gt;
&lt;br /&gt;
4, 2, 1, 4, 1, 5, 5, 1, 3, 4, 1, 1, 5, 2&lt;br /&gt;
&lt;br /&gt;
====The 9-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 0, 3, 0, 0, 3, 2, 0, 3, 4&lt;br /&gt;
&lt;br /&gt;
====The 10-sequence====&lt;br /&gt;
&lt;br /&gt;
1, 5, 4, 1, 4, 2, 2, 4, 0, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 12-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 3, 4, 1, 4&lt;br /&gt;
&lt;br /&gt;
=== The nine-point square ===&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the four points &amp;lt;math&amp;gt;(\pm 1, 0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(0, \pm 1)&amp;lt;/math&amp;gt;, and one requires all sums along HAPs to belong to one of the nine points at unit spacing centred on the origin, the maximum length of a sequence is &#039;&#039;at least&#039;&#039; &amp;lt;math&amp;gt;314&amp;lt;/math&amp;gt;. The following sequence achieves this:&lt;br /&gt;
&lt;br /&gt;
(1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (-1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (0, -1), (0, 1), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (0, 1), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (0, 1), (1, 0), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (1, 0), (-1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, 1), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, 1), (0, -1), (1, 0), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (0, -1), (0, 1), (0, 1)&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 14:42, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_first_1124-sequence&amp;diff=2479</id>
		<title>The first 1124-sequence</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_first_1124-sequence&amp;diff=2479"/>
		<updated>2010-01-09T18:29:00Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sequence with 1124 terms and discrepancy 2. We haven&#039;t found any longer sequences with discrepancy 2, but we have found more than 400 000 000 with this length.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Multiplicativity properties of the 1124 sequence==&lt;br /&gt;
&lt;br /&gt;
The 1124 sequence is not weakly multiplicative, but it does appear to be close to a weakly multiplicative sequence. That is, if you are prepared to disregard a few &amp;quot;errors&amp;quot;, then the number of distinct HAP-subsequences is 6. One can use this information to identify a quasi-multiplicative sequence that is in some sense close to the 1124 sequence. Some details can be found in the sequences of comments that begin [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4682 here] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4709 here].&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
The sequence is the longest know sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
===The raw sequence===&lt;br /&gt;
&lt;br /&gt;
 + - + + - - - - + + - + + + - - + - + + - - - + - + + - + -&lt;br /&gt;
 - + + - + - - + - - + + - + + - - - + + + - - + - + - - + +&lt;br /&gt;
 + + - - + - - + + - - + + + - - + + - + - - + - - + + - + -&lt;br /&gt;
 - + - + + + - - + - + - - + + - - - + + - + + + - - - + - -&lt;br /&gt;
 + - + + + + - - - - + + - + + + - - + - - + - - + - + - + +&lt;br /&gt;
 - + + + - - - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
 + - + - + - + + - - - + + - + + - - + - - + - - + + + + - +&lt;br /&gt;
 - - + - - + + - - + - + + - - - + - + + - + + + - - + + - -&lt;br /&gt;
 + - - + - + + - - + - + + - + + - - + - - + - + + - - + + -&lt;br /&gt;
 + - + - - + - + + + - - + - + + - - - - + + - - + - + + - +&lt;br /&gt;
 + - - + - + + - - + + - + - - + - + - - + + - - + - + + + -&lt;br /&gt;
 + - - + - + - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - + + - - - + + - - + - + + - +&lt;br /&gt;
 + - - + - - + + + + - - - - + + - + + - + + - - + - - + + -&lt;br /&gt;
 - - + + - + + - - + - + + - + - - - + - + + - + + - - + - -&lt;br /&gt;
 + - + + - - + + - + + + - - - + - + + - + + - - + - - - + +&lt;br /&gt;
 + - - + - + - - + + + - + - + + - + - - - + + - + - + + - -&lt;br /&gt;
 + - - + - + + - - + - + - + + - + - + - - + - + + - - + - -&lt;br /&gt;
 + - + + + - - - + + - + + + - + - - + - + + - - + - + + - +&lt;br /&gt;
 - - - + - + + - + + - - + - - - + + + - - + - + + - - + + -&lt;br /&gt;
 + - + + - + - - - + - - + - + + - - + - + + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - + - - + - + + - + - - + + - +&lt;br /&gt;
 + - - + - - + - + + - - + - + + - + + - - + - + + - - + + -&lt;br /&gt;
 + - - + - + + - - + - - + - + + - - + - + + - + + - + + - -&lt;br /&gt;
 + - + + - - + - - + - + + - - + - + - - + + + - + - - + - +&lt;br /&gt;
 + - - + - + - - + + + - - - + + - + + - - + + - + - + + - -&lt;br /&gt;
 + - - + - - + - + + - + - - + + + - + - - + - + + - - + - +&lt;br /&gt;
 - - + + - - + - + + - + + - - + + - + - - + - - + - + + - +&lt;br /&gt;
 + - - + - + + - + + - - + - - + + + - - - + - - + - + + - -&lt;br /&gt;
 + + + + - + - - + + - - + - + + - - + - - + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - - + + - - + + - - + - + + - +&lt;br /&gt;
 + - - + - - + - + + + - + - - + - + + - - + - + + - + - + -&lt;br /&gt;
 - + - + - + + - - + - + - - + + + - + - - - + + + - - + - -&lt;br /&gt;
 + - + + - - + + + + - + - - - + - + + - + + - - + - - + + +&lt;br /&gt;
 - - - + - - + - + + + - + - + + - + - - - + - - + + + + - -&lt;br /&gt;
 + - + + - - + - + + - + - - + - + + - - - + - - + + - + - +&lt;br /&gt;
 + - + - - - + - + + + + - + - - - - + - + + - + + - - + + -&lt;br /&gt;
 + + - + - - + - + + - + - -&lt;br /&gt;
&lt;br /&gt;
===The sequence, together with the corresponding integers===&lt;br /&gt;
&lt;br /&gt;
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- 41+ 42+ 43- 44+ 45+ 46- 47- 48- 49+ 50+ 51+ 52- 53- 54+ 55- 56+ 57- 58- 59+ 60+ 61+ 62+ 63- 64- 65+ 66- 67- 68+ 69+ 70- 71- 72+ 73+ 74+ 75- 76- 77+ 78+ 79- 80+ 81- 82- 83+ 84- 85- 86+ 87+ 88- 89+ 90- 91- 92+ 93- 94+ 95+ 96+ 97- 98- 99+ 100- 101+ 102- 103- 104+ 105+ 106- 107- 108- 109+ 110+ 111- 112+ 113+ 114+ 115- 116- 117- 118+ 119- 120- 121+ 122- 123+ 124+ 125+ 126+ 127- 128- 129- 130- 131+ 132+ 133- 134+ 135+ 136+ 137- 138- 139+ 140- 141- 142+ 143- 144- 145+ 146- 147+ 148- 149+ 150+ 151- 152+ 153+ 154+ 155- 156- 157- 158- 159+ 160+ 161+ 162+ 163- 164- 165- 166+ 167+ 168- 169+ 170- 171- 172+ 173- 174+ 175+ 176- 177- 178+ 179- 180+ 181+ 182- 183+ 184- 185+ 186- 187+ 188+ 189- 190- 191- 192+ 193+ 194- 195+ 196+ 197- 198- 199+ 200- 201- 202+ 203- 204- 205+ 206+ 207+ 208+ 209- 210+ 211- 212- 213+ 214- 215- 216+ 217+ 218- 219- 220+ 221- 222+ 223+ 224- 225- 226- 227+ 228- 229+ 230+ 231- 232+ 233+ 234+ 235- 236- 237+ 238+ 239- 240- 241+ 242- 243- 244+ 245- 246+ 247+ 248- 249- 250+ 251- 252+ 253+ 254- 255+ 256+ 257- 258- 259+ 260- 261- 262+ 263- 264+ 265+ 266- 267- 268+ 269+ 270- 271+ 272- 273+ 274- 275- 276+ 277- 278+ 279+ 280+ 281- 282- 283+ 284- 285+ 286+ 287- 288- 289- 290- 291+ 292+ 293- 294- 295+ 296- 297+ 298+ 299- 300+ 301+ 302- 303- 304+ 305- 306+ 307+ 308- 309- 310+ 311+ 312- 313+ 314- 315- 316+ 317- 318+ 319- 320- 321+ 322+ 323- 324- 325+ 326- 327+ 328+ 329+ 330- 331+ 332- 333- 334+ 335- 336+ 337- 338- 339+ 340+ 341+ 342+ 343- 344- 345- 346+ 347+ 348- 349+ 350- 351- 352+ 353- 354+ 355+ 356- 357- 358+ 359- 360+ 361+ 362- 363+ 364+ 365- 366- 367+ 368- 369- 370+ 371- 372+ 373+ 374- 375- 376+ 377+ 378- 379- 380- 381+ 382+ 383- 384- 385+ 386- 387+ 388+ 389- 390+ 391+ 392- 393- 394+ 395- 396- 397+ 398+ 399+ 400+ 401- 402- 403- 404- 405+ 406+ 407- 408+ 409+ 410- 411+ 412+ 413- 414- 415+ 416- 417- 418+ 419+ 420- 421- 422- 423+ 424+ 425- 426+ 427+ 428- 429- 430+ 431- 432+ 433+ 434- 435+ 436- 437- 438- 439+ 440- 441+ 442+ 443- 444+ 445+ 446- 447- 448+ 449- 450- 451+ 452- 453+ 454+ 455- 456- 457+ 458+ 459- 460+ 461+ 462+ 463- 464- 465- 466+ 467- 468+ 469+ 470- 471+ 472+ 473- 474- 475+ 476- 477- 478- 479+ 480+ 481+ 482- 483- 484+ 485- 486+ 487- 488- 489+ 490+ 491+ 492- 493+ 494- 495+ 496+ 497- 498+ 499- 500- 501- 502+ 503+ 504- 505+ 506- 507+ 508+ 509- 510- 511+ 512- 513- 514+ 515- 516+ 517+ 518- 519- 520+ 521- 522+ 523- 524+ 525+ 526- 527+ 528- 529+ 530- 531- 532+ 533- 534+ 535+ 536- 537- 538+ 539- 540- 541+ 542- 543+ 544+ 545+ 546- 547- 548- 549+ 550+ 551- 552+ 553+ 554+ 555- 556+ 557- 558- 559+ 560- 561+ 562+ 563- 564- 565+ 566- 567+ 568+ 569- 570+ 571- 572- 573- 574+ 575- 576+ 577+ 578- 579+ 580+ 581- 582- 583+ 584- 585- 586- 587+ 588+ 589+ 590- 591- 592+ 593- 594+ 595+ 596- 597- 598+ 599+ 600- 601+ 602- 603+ 604+ 605- 606+ 607- 608- 609- 610+ 611- 612- 613+ 614- 615+ 616+ 617- 618- 619+ 620- 621+ 622+ 623- 624+ 625+ 626- 627- 628+ 629- 630+ 631+ 632- 633+ 634+ 635- 636- 637+ 638- 639- 640+ 641- 642+ 643+ 644- 645- 646+ 647- 648- 649+ 650- 651+ 652+ 653- 654+ 655- 656- 657+ 658+ 659- 660+ 661+ 662- 663- 664+ 665- 666- 667+ 668- 669+ 670+ 671- 672- 673+ 674- 675+ 676+ 677- 678+ 679+ 680- 681- 682+ 683- 684+ 685+ 686- 687- 688+ 689+ 690- 691+ 692- 693- 694+ 695- 696+ 697+ 698- 699- 700+ 701- 702- 703+ 704- 705+ 706+ 707- 708- 709+ 710- 711+ 712+ 713- 714+ 715+ 716- 717+ 718+ 719- 720- 721+ 722- 723+ 724+ 725- 726- 727+ 728- 729- 730+ 731- 732+ 733+ 734- 735- 736+ 737- 738+ 739- 740- 741+ 742+ 743+ 744- 745+ 746- 747- 748+ 749- 750+ 751+ 752- 753- 754+ 755- 756+ 757- 758- 759+ 760+ 761+ 762- 763- 764- 765+ 766+ 767- 768+ 769+ 770- 771- 772+ 773+ 774- 775+ 776- 777+ 778+ 779- 780- 781+ 782- 783- 784+ 785- 786- 787+ 788- 789+ 790+ 791- 792+ 793- 794- 795+ 796+ 797+ 798- 799+ 800- 801- 802+ 803- 804+ 805+ 806- 807- 808+ 809- 810+ 811- 812- 813+ 814+ 815- 816- 817+ 818- 819+ 820+ 821- 822+ 823+ 824- 825- 826+ 827+ 828- 829+ 830- 831- 832+ 833- 834- 835+ 836- 837+ 838+ 839- 840+ 841+ 842- 843- 844+ 845- 846+ 847+ 848- 849+ 850+ 851- 852- 853+ 854- 855- 856+ 857+ 858+ 859- 860- 861- 862+ 863- 864- 865+ 866- 867+ 868+ 869- 870- 871+ 872+ 873+ 874+ 875- 876+ 877- 878- 879+ 880+ 881- 882- 883+ 884- 885+ 886+ 887- 888- 889+ 890- 891- 892+ 893- 894+ 895+ 896- 897- 898+ 899- 900+ 901+ 902- 903+ 904+ 905- 906- 907+ 908- 909- 910+ 911- 912+ 913+ 914- 915- 916- 917+ 918+ 919- 920- 921+ 922+ 923- 924- 925+ 926- 927+ 928+ 929- 930+ 931+ 932- 933- 934+ 935- 936- 937+ 938- 939+ 940+ 941+ 942- 943+ 944- 945- 946+ 947- 948+ 949+ 950- 951- 952+ 953- 954+ 955+ 956- 957+ 958- 959+ 960- 961- 962+ 963- 964+ 965- 966+ 967+ 968- 969- 970+ 971- 972+ 973- 974- 975+ 976+ 977+ 978- 979+ 980- 981- 982- 983+ 984+ 985+ 986- 987- 988+ 989- 990- 991+ 992- 993+ 994+ 995- 996- 997+ 998+ 999+ 1000+ 1001- 1002+ 1003- 1004- 1005- 1006+ 1007- 1008+ 1009+ 1010- 1011+ 1012+ 1013- 1014- 1015+ 1016- 1017- 1018+ 1019+ 1020+ 1021- 1022- 1023- 1024+ 1025- 1026- 1027+ 1028- 1029+ 1030+ 1031+ 1032- 1033+ 1034- 1035+ 1036+ 1037- 1038+ 1039- 1040- 1041- 1042+ 1043- 1044- 1045+ 1046+ 1047+ 1048+ 1049- 1050- 1051+ 1052- 1053+ 1054+ 1055- 1056- 1057+ 1058- 1059+ 1060+ 1061- 1062+ 1063- 1064- 1065+ 1066- 1067+ 1068+ 1069- 1070- 1071- 1072+ 1073- 1074- 1075+ 1076+ 1077- 1078+ 1079- 1080+ 1081+ 1082- 1083+ 1084- 1085- 1086- 1087+ 1088- 1089+ 1090+ 1091+ 1092+ 1093- 1094+ 1095- 1096- 1097- 1098- 1099+ 1100- 1101+ 1102+ 1103- 1104+ 1105+ 1106- 1107- 1108+ 1109+ 1110- 1111+ 1112+ 1113- 1114+ 1115- 1116- 1117+ 1118- 1119+ 1120+ 1121- 1122+ 1123- 1124-&lt;br /&gt;
&lt;br /&gt;
===Links to other displays and visually displayed information about the sequence===&lt;br /&gt;
&lt;br /&gt;
Here is an alternate formatting. [http://numberwarrior.wordpress.com/files/2009/12/longsequence.png Link].&lt;br /&gt;
&lt;br /&gt;
[http://spreadsheets.google.com/ccc?key=0AkbsKAn5VTtvdGpoOG9xYWlUYTNpa1I0UktEMUsxZmc&amp;amp;hl=en The sequence in groups of 24] (Google Docs format).&lt;br /&gt;
[http://go2.wordpress.com/?id=725X1342&amp;amp;site=gowers.wordpress.com&amp;amp;url=http%3A%2F%2Fspreadsheets.google.com%2Fccc%3Fkey%3D0AkbsKAn5VTtvdDdrTDd1YmM3bGZESEFwZWhnSVBZMEE%26hl%3Den Multiples of 2 only].&lt;br /&gt;
&lt;br /&gt;
[http://thomas1111.wordpress.com/2010/01/09/erdos-discrepancy-a-program-to-get-html-tables/ The sequence in groups of 24, also multiples of 8 only] (HTML format).&lt;br /&gt;
&lt;br /&gt;
Here is a Rauzy tree that conveys information about subsequences of the sequence: [http://obryant.wordpress.com/2010/01/09/a-rauzy-tree/ Link].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relavant Code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Length_1124_sequences&amp;diff=2478</id>
		<title>Length 1124 sequences</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Length_1124_sequences&amp;diff=2478"/>
		<updated>2010-01-09T18:28:30Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: New page: &amp;#039;&amp;#039;This page is about a large family of length 1124 sequences. The family does not include the first 1124-sequence, since we used another method for that one (correct me if I&amp;#039;m wrong).&amp;#039;...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;This page is about a large family of length 1124 sequences. The family does not include [[the first 1124-sequence]], since we used another method for that one (correct me if I&#039;m wrong).&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you can find better name for the pages I create, you are more than welcome.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
These sequences is among the longest know sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== The data==&lt;br /&gt;
&lt;br /&gt;
There is at least 428 995 120 sequences in this family. See [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4831 this commend].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 0 + + - - + + - + - - + - - - + + - + - - + + + - + - - + -&lt;br /&gt;
 + + - - + - + - - + + + - + - - + - + + - - + + - + - + + -&lt;br /&gt;
 - + - + + - + - - - + + - - + + + - - + - + - - + + - - + -&lt;br /&gt;
 + + - + - - - + + - + + + - - - + - + + - + - - - + + + - +&lt;br /&gt;
 + - + - - - - + + + + - - + - - - + + - + + - + + - + - + -&lt;br /&gt;
 - + - - - + + + + - - - - + + + - - + - + + - + - - + + - +&lt;br /&gt;
 - - + - + - + - - + + - - + + - - + + - + + - + + - - - - +&lt;br /&gt;
 - + + - + + - - + + - + - - + + + - + - - + - - - + + - - +&lt;br /&gt;
 + - + + - + - - + + - + - - + - - + + - + + + - - - + + - -&lt;br /&gt;
 + + + - - + - + - - - + + - + - - + + - + - - + + + + - - +&lt;br /&gt;
 - - + + - - - + + + - - + - + + - + - - + - - + + - + - - +&lt;br /&gt;
 + - + + - + - + + - - + - - + + - - + - + + - + - - + + + -&lt;br /&gt;
 - + - - - + + - + + - + - - + + - + + - + - - - + - + - - +&lt;br /&gt;
 - + + - - + + + - - - + + - + - - + - + + + - - + - + + - +&lt;br /&gt;
 + - + - - + - - + + - + - + + - + - + - + - - + - - + + - +&lt;br /&gt;
 + - + - - + + - - + - - - + + + - - - + + - - + + - + + + -&lt;br /&gt;
 - - + + - + - + + - - - + - + - - + - + + + - - + - + - - +&lt;br /&gt;
 + - + + - + - - + + - + - + - - + - + - + + - + - - + - - +&lt;br /&gt;
 + + - + - - + + + - - + - - + + - + + - + - - + + - + - - +&lt;br /&gt;
 - - + + - + - - + - - + + - + + + - - - + + - + - - + + - +&lt;br /&gt;
 + - + - - + - - + + - + + - + - - + + - + - - + - - + + - +&lt;br /&gt;
 - - + - - + + - + + - - - + + + - + + - + - - - - + + - - +&lt;br /&gt;
 - + + + - + + - + - - + + - + - - + - - + + - + - - + + - -&lt;br /&gt;
 + - + + - + - - + + - - + - + - - + + + + - - + - - + - - +&lt;br /&gt;
 + - + - - + + - + + - + - - + + - + - + + - - - + - + + - +&lt;br /&gt;
 - - + + - + - + + - - - + + + - - + - - + + - - + - + - - +&lt;br /&gt;
 + - + + - + + - + - - + - + + - - - + - + + - + - - + + - +&lt;br /&gt;
 - - + + - + + - + - - - - + + + - + + - + - - + + - + - - +&lt;br /&gt;
 - - + + - + - - + - - + + - + + - + - - + + - + + - + - - +&lt;br /&gt;
 + - - - - + - + + - - + + + + - - - + - + + - + - - + + - +&lt;br /&gt;
 - - + - - + + - + + - + - - + + + - - + + - - + + - + - - +&lt;br /&gt;
 - - - + + + + - + - - - + - + + - + - - + + - + - + + - - -&lt;br /&gt;
 + + - + + - - - + + - + - + + - - - + - + + + - - - + + - +&lt;br /&gt;
 + - + - - + + - - - - + - + + + - + - - + - - + + - + + - -&lt;br /&gt;
 - + + + - + + - + - - - + - + - - + - + + + - + + - - - - +&lt;br /&gt;
 + + + - - - + - + - - + - + + + + - - - + + - + - - + + - +&lt;br /&gt;
 - + + - - + + - + - - - - + + + + - + - + - - + - - + + - +&lt;br /&gt;
 + - - + - + + - + - - + - + +&lt;br /&gt;
&lt;br /&gt;
[http://thomas1111.wordpress.com/2010/01/09/tables-for-the-second-1124-sequence/ The sequence divided into groups of 24, and also with multiples of 8 only].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relavant Code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2477</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2477"/>
		<updated>2010-01-09T18:17:15Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: Moving examples to other pages: See discission page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
&lt;br /&gt;
[[The first 1124-sequence]] with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
== Another sequence of length 1124 ==&lt;br /&gt;
&lt;br /&gt;
Here is another sequence of length &amp;lt;math&amp;gt;1124&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 0 + + - - + + - + - - + - - - + + - + - - + + + - + - - + -&lt;br /&gt;
 + + - - + - + - - + + + - + - - + - + + - - + + - + - + + -&lt;br /&gt;
 - + - + + - + - - - + + - - + + + - - + - + - - + + - - + -&lt;br /&gt;
 + + - + - - - + + - + + + - - - + - + + - + - - - + + + - +&lt;br /&gt;
 + - + - - - - + + + + - - + - - - + + - + + - + + - + - + -&lt;br /&gt;
 - + - - - + + + + - - - - + + + - - + - + + - + - - + + - +&lt;br /&gt;
 - - + - + - + - - + + - - + + - - + + - + + - + + - - - - +&lt;br /&gt;
 - + + - + + - - + + - + - - + + + - + - - + - - - + + - - +&lt;br /&gt;
 + - + + - + - - + + - + - - + - - + + - + + + - - - + + - -&lt;br /&gt;
 + + + - - + - + - - - + + - + - - + + - + - - + + + + - - +&lt;br /&gt;
 - - + + - - - + + + - - + - + + - + - - + - - + + - + - - +&lt;br /&gt;
 + - + + - + - + + - - + - - + + - - + - + + - + - - + + + -&lt;br /&gt;
 - + - - - + + - + + - + - - + + - + + - + - - - + - + - - +&lt;br /&gt;
 - + + - - + + + - - - + + - + - - + - + + + - - + - + + - +&lt;br /&gt;
 + - + - - + - - + + - + - + + - + - + - + - - + - - + + - +&lt;br /&gt;
 + - + - - + + - - + - - - + + + - - - + + - - + + - + + + -&lt;br /&gt;
 - - + + - + - + + - - - + - + - - + - + + + - - + - + - - +&lt;br /&gt;
 + - + + - + - - + + - + - + - - + - + - + + - + - - + - - +&lt;br /&gt;
 + + - + - - + + + - - + - - + + - + + - + - - + + - + - - +&lt;br /&gt;
 - - + + - + - - + - - + + - + + + - - - + + - + - - + + - +&lt;br /&gt;
 + - + - - + - - + + - + + - + - - + + - + - - + - - + + - +&lt;br /&gt;
 - - + - - + + - + + - - - + + + - + + - + - - - - + + - - +&lt;br /&gt;
 - + + + - + + - + - - + + - + - - + - - + + - + - - + + - -&lt;br /&gt;
 + - + + - + - - + + - - + - + - - + + + + - - + - - + - - +&lt;br /&gt;
 + - + - - + + - + + - + - - + + - + - + + - - - + - + + - +&lt;br /&gt;
 - - + + - + - + + - - - + + + - - + - - + + - - + - + - - +&lt;br /&gt;
 + - + + - + + - + - - + - + + - - - + - + + - + - - + + - +&lt;br /&gt;
 - - + + - + + - + - - - - + + + - + + - + - - + + - + - - +&lt;br /&gt;
 - - + + - + - - + - - + + - + + - + - - + + - + + - + - - +&lt;br /&gt;
 + - - - - + - + + - - + + + + - - - + - + + - + - - + + - +&lt;br /&gt;
 - - + - - + + - + + - + - - + + + - - + + - - + + - + - - +&lt;br /&gt;
 - - - + + + + - + - - - + - + + - + - - + + - + - + + - - -&lt;br /&gt;
 + + - + + - - - + + - + - + + - - - + - + + + - - - + + - +&lt;br /&gt;
 + - + - - + + - - - - + - + + + - + - - + - - + + - + + - -&lt;br /&gt;
 - + + + - + + - + - - - + - + - - + - + + + - + + - - - - +&lt;br /&gt;
 + + + - - - + - + - - + - + + + + - - - + + - + - - + + - +&lt;br /&gt;
 - + + - - + + - + - - - - + + + + - + - + - - + - - + + - +&lt;br /&gt;
 + - - + - + + - + - - + - + +&lt;br /&gt;
&lt;br /&gt;
[http://thomas1111.wordpress.com/2010/01/09/tables-for-the-second-1124-sequence/ The sequence divided into groups of 24, and also with multiples of 8 only].&lt;br /&gt;
&lt;br /&gt;
== Varying the upper and lower bounds ==&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;N(a,b)&amp;lt;/math&amp;gt; is the maximum length of a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence with the partial sums along its HAPs bounded below by &amp;lt;math&amp;gt;-a&amp;lt;/math&amp;gt; and above by &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(a, b) = N(b, a)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(0, b) = b&amp;lt;/math&amp;gt; (everything must be &amp;lt;math&amp;gt;+1&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 1) = 11&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences: choose &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;, and use the constraints &amp;lt;math&amp;gt;x_n +x_{2n} = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_1 + \ldots + x_{2n} = 0&amp;lt;/math&amp;gt; to determine the entries up to &amp;lt;math&amp;gt;10&amp;lt;/math&amp;gt;; then choose &amp;lt;math&amp;gt;x_{11}&amp;lt;/math&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 2) = 41&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;4&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - + + - - +&lt;br /&gt;
 - + + - + - - - + - + + - -&lt;br /&gt;
 + + - + - + + - - - + - + +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 3) = 83&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;216&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 - + - + - + + - + + - - +&lt;br /&gt;
 - + + - - + - - + - + + - +&lt;br /&gt;
 + + - - - + + - + + - - + -&lt;br /&gt;
 + - - + + - - + - + + + - +&lt;br /&gt;
 - - - + + - + - + - - + - +&lt;br /&gt;
 + - + + - - + - + - - - + +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(1, 4) = 131&amp;lt;/math&amp;gt; (there are &amp;lt;math&amp;gt;87144&amp;lt;/math&amp;gt; such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
 0 + - - + - + + - - + -&lt;br /&gt;
 + + - + + + + - - - + -&lt;br /&gt;
 - + - + + - - + + + - -&lt;br /&gt;
 - + + - + - + - - + + -&lt;br /&gt;
 + + - - + - - + - + + +&lt;br /&gt;
 + - - + - + - - + + + -&lt;br /&gt;
 + - - - - + + - - - + +&lt;br /&gt;
 - - + + + + - - - - + +&lt;br /&gt;
 - + - + + + + - - + + -&lt;br /&gt;
 + - - - + + - - - + - -&lt;br /&gt;
 + + + - + + - - + - - +&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;N(2, 2) \geq 1124&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 13:46, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Geometric variations ==&lt;br /&gt;
&lt;br /&gt;
It has been pointed out that the problem can be generalized to higher dimensions, for example by considering sequences with &amp;lt;math&amp;gt;\Vert x_n \Vert_2 = 1&amp;lt;/math&amp;gt; having partial sums lying within a sphere. It is difficult to do much in the way of computation when the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; can vary continuously, but if they are restricted to some finite set the problem becomes purely combinatorial and one can do more.&lt;br /&gt;
&lt;br /&gt;
=== The seven-point hexagon ===&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the six points of a regular hexagon, and one requires all sums along HAPs to be zero or one of those same points, the maximum length of a sequence is &amp;lt;math&amp;gt;116&amp;lt;/math&amp;gt;. The following sequence achieves this, where the numbers index the points in order around the hexagon:&lt;br /&gt;
&lt;br /&gt;
 -, 0, 3, 3, 0, 3, 0, 2, 4, 0, 1, 4, 3,&lt;br /&gt;
 1, 5, 0, 2, 4, 3, 1, 5, 5, 1, 4, 1, 2,&lt;br /&gt;
 5, 3, 2, 5, 4, 1, 4, 1, 2, 5, 0, 2, 4,&lt;br /&gt;
 4, 1, 5, 2, 1, 4, 3, 1, 5, 5, 2, 4, 1,&lt;br /&gt;
 2, 4, 0, 1, 5, 4, 1, 4, 2, 2, 4, 0, 1,&lt;br /&gt;
 5, 4, 2, 5, 1, 2, 4, 3, 1, 5, 5, 1, 4,&lt;br /&gt;
 1, 3, 4, 2, 1, 0, 4, 1, 4, 3, 1, 5, 0,&lt;br /&gt;
 2, 4, 5, 2, 4, 1, 1, 5, 3, 2, 0, 3, 4,&lt;br /&gt;
 5, 1, 1, 3, 4, 1, 5, 0, 2, 4, 1, 3, 5&lt;br /&gt;
&lt;br /&gt;
Here are some of its HAP subseqences, which seem to show the presence of some kind of multiplicative structure, though the structure seems to degenerate as the sequences progress. &lt;br /&gt;
&lt;br /&gt;
====The 2-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 4, 1, 3, 5, 2, 3, 5, 1, 1, 5, 2, 4, 4, 2, 0, 4, 1, 2, 4, 1, 5, 4, 2, 0, 5, 1, 2, 4, 1, 4, 5, 2, 3, 5, 1, 1, 4, 1, 4, 4, 1, 0, 4, 2, 1, 5, 2, 3, 5, 1, 4, 5, 2, 1, 5&lt;br /&gt;
&lt;br /&gt;
====The 3-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 0, 0, 3, 0, 3, 5, 1, 3, 4, 1, 0, 4, 2, 3, 5, 1, 0, 4, 2, 0, 4, 1, 3, 5, 1, 2, 4, 3, 0, 5, 1, 3, 3, 1, 4, 0, 1&lt;br /&gt;
&lt;br /&gt;
====The 4-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 4, 3, 2, 5, 1, 2, 4, 0, 1, 4, 5, 2, 5, 2, 1, 5, 3, 1, 4, 4, 1, 4, 1, 2, 5, 4, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 5-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 4, 5, 1, 3, 4, 1, 2, 5, 2, 5, 4, 1, 0, 4, 2, 1, 5, 3&lt;br /&gt;
&lt;br /&gt;
====The 6-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 1, 4, 0, 2, 5, 0, 2, 4, 3, 1, 4, 0, 1, 3, 4, 1&lt;br /&gt;
&lt;br /&gt;
====The 8-sequence====&lt;br /&gt;
&lt;br /&gt;
4, 2, 1, 4, 1, 5, 5, 1, 3, 4, 1, 1, 5, 2&lt;br /&gt;
&lt;br /&gt;
====The 9-sequence====&lt;br /&gt;
&lt;br /&gt;
0, 3, 3, 0, 3, 0, 0, 3, 2, 0, 3, 4&lt;br /&gt;
&lt;br /&gt;
====The 10-sequence====&lt;br /&gt;
&lt;br /&gt;
1, 5, 4, 1, 4, 2, 2, 4, 0, 2, 5&lt;br /&gt;
&lt;br /&gt;
====The 12-sequence====&lt;br /&gt;
&lt;br /&gt;
3, 1, 0, 5, 2, 3, 4, 1, 4&lt;br /&gt;
&lt;br /&gt;
=== The nine-point square ===&lt;br /&gt;
&lt;br /&gt;
If the &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are allowed to be any of the four points &amp;lt;math&amp;gt;(\pm 1, 0)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(0, \pm 1)&amp;lt;/math&amp;gt;, and one requires all sums along HAPs to belong to one of the nine points at unit spacing centred on the origin, the maximum length of a sequence is &#039;&#039;at least&#039;&#039; &amp;lt;math&amp;gt;314&amp;lt;/math&amp;gt;. The following sequence achieves this:&lt;br /&gt;
&lt;br /&gt;
(1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (-1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (-1, 0), (0, 1), (0, -1), (0, 1), (1, 0), (0, -1), (0, 1), (0, -1), (0, -1), (0, 1), (0, 1), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (-1, 0), (1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (0, 1), (-1, 0), (1, 0), (1, 0), (0, -1), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (0, 1), (0, 1), (1, 0), (-1, 0), (0, -1), (0, 1), (-1, 0), (1, 0), (0, -1), (1, 0), (-1, 0), (-1, 0), (1, 0), (0, 1), (1, 0), (0, -1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (0, 1), (1, 0), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (0, -1), (-1, 0), (0, 1), (1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (0, -1), (0, -1), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (1, 0), (-1, 0), (0, -1), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (0, 1), (-1, 0), (1, 0), (-1, 0), (1, 0), (-1, 0), (-1, 0), (1, 0), (1, 0), (0, -1), (-1, 0), (-1, 0), (0, -1), (1, 0), (0, 1), (0, 1), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (-1, 0), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (1, 0), (-1, 0), (1, 0), (1, 0), (-1, 0), (0, -1), (0, -1), (0, 1), (0, 1), (0, -1), (1, 0), (-1, 0), (-1, 0), (0, 1), (0, -1), (1, 0), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (0, -1), (1, 0), (0, 1), (0, -1), (-1, 0), (1, 0), (1, 0), (0, 1), (-1, 0), (0, -1), (1, 0), (-1, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (0, 1), (0, 1), (0, -1), (1, 0), (0, 1), (-1, 0), (-1, 0), (1, 0), (0, -1), (0, 1), (1, 0), (-1, 0), (-1, 0), (0, -1), (1, 0), (1, 0), (0, -1), (0, 1), (0, 1)&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 14:42, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_first_1124-sequence&amp;diff=2476</id>
		<title>The first 1124-sequence</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_first_1124-sequence&amp;diff=2476"/>
		<updated>2010-01-09T18:14:33Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: New page: This is a sequence with 1124 terms and discrepancy 2. We haven&amp;#039;t found any longer sequences with discrepancy 2, but we have found more than 400 000 000 with this length.     ==Multiplicati...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a sequence with 1124 terms and discrepancy 2. We haven&#039;t found any longer sequences with discrepancy 2, but we have found more than 400 000 000 with this length.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Multiplicativity properties of the 1124 sequence==&lt;br /&gt;
&lt;br /&gt;
The 1124 sequence is not weakly multiplicative, but it does appear to be close to a weakly multiplicative sequence. That is, if you are prepared to disregard a few &amp;quot;errors&amp;quot;, then the number of distinct HAP-subsequences is 6. One can use this information to identify a quasi-multiplicative sequence that is in some sense close to the 1124 sequence. Some details can be found in the sequences of comments that begin [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4682 here] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4709 here].&lt;br /&gt;
&lt;br /&gt;
==Method==&lt;br /&gt;
&lt;br /&gt;
Here should be a short description of the way the sequence was found. (The code(s) used should be further down this page.)&lt;br /&gt;
&lt;br /&gt;
== Status ==&lt;br /&gt;
&lt;br /&gt;
Is the data still relevant (e.g. longest know)? Is the method still relevant, or have we found a better method? Is the program still running on a computer somewhere? &lt;br /&gt;
&lt;br /&gt;
The sequence is the longest know sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
===The raw sequence===&lt;br /&gt;
&lt;br /&gt;
 + - + + - - - - + + - + + + - - + - + + - - - + - + + - + -&lt;br /&gt;
 - + + - + - - + - - + + - + + - - - + + + - - + - + - - + +&lt;br /&gt;
 + + - - + - - + + - - + + + - - + + - + - - + - - + + - + -&lt;br /&gt;
 - + - + + + - - + - + - - + + - - - + + - + + + - - - + - -&lt;br /&gt;
 + - + + + + - - - - + + - + + + - - + - - + - - + - + - + +&lt;br /&gt;
 - + + + - - - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
 + - + - + - + + - - - + + - + + - - + - - + - - + + + + - +&lt;br /&gt;
 - - + - - + + - - + - + + - - - + - + + - + + + - - + + - -&lt;br /&gt;
 + - - + - + + - - + - + + - + + - - + - - + - + + - - + + -&lt;br /&gt;
 + - + - - + - + + + - - + - + + - - - - + + - - + - + + - +&lt;br /&gt;
 + - - + - + + - - + + - + - - + - + - - + + - - + - + + + -&lt;br /&gt;
 + - - + - + - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - + + - - - + + - - + - + + - +&lt;br /&gt;
 + - - + - - + + + + - - - - + + - + + - + + - - + - - + + -&lt;br /&gt;
 - - + + - + + - - + - + + - + - - - + - + + - + + - - + - -&lt;br /&gt;
 + - + + - - + + - + + + - - - + - + + - + + - - + - - - + +&lt;br /&gt;
 + - - + - + - - + + + - + - + + - + - - - + + - + - + + - -&lt;br /&gt;
 + - - + - + + - - + - + - + + - + - + - - + - + + - - + - -&lt;br /&gt;
 + - + + + - - - + + - + + + - + - - + - + + - - + - + + - +&lt;br /&gt;
 - - - + - + + - + + - - + - - - + + + - - + - + + - - + + -&lt;br /&gt;
 + - + + - + - - - + - - + - + + - - + - + + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - + - - + - + + - + - - + + - +&lt;br /&gt;
 + - - + - - + - + + - - + - + + - + + - - + - + + - - + + -&lt;br /&gt;
 + - - + - + + - - + - - + - + + - - + - + + - + + - + + - -&lt;br /&gt;
 + - + + - - + - - + - + + - - + - + - - + + + - + - - + - +&lt;br /&gt;
 + - - + - + - - + + + - - - + + - + + - - + + - + - + + - -&lt;br /&gt;
 + - - + - - + - + + - + - - + + + - + - - + - + + - - + - +&lt;br /&gt;
 - - + + - - + - + + - + + - - + + - + - - + - - + - + + - +&lt;br /&gt;
 + - - + - + + - + + - - + - - + + + - - - + - - + - + + - -&lt;br /&gt;
 + + + + - + - - + + - - + - + + - - + - - + - + + - - + - +&lt;br /&gt;
 + - + + - - + - - + - + + - - - + + - - + + - - + - + + - +&lt;br /&gt;
 + - - + - - + - + + + - + - - + - + + - - + - + + - + - + -&lt;br /&gt;
 - + - + - + + - - + - + - - + + + - + - - - + + + - - + - -&lt;br /&gt;
 + - + + - - + + + + - + - - - + - + + - + + - - + - - + + +&lt;br /&gt;
 - - - + - - + - + + + - + - + + - + - - - + - - + + + + - -&lt;br /&gt;
 + - + + - - + - + + - + - - + - + + - - - + - - + + - + - +&lt;br /&gt;
 + - + - - - + - + + + + - + - - - - + - + + - + + - - + + -&lt;br /&gt;
 + + - + - - + - + + - + - -&lt;br /&gt;
&lt;br /&gt;
===The sequence, together with the corresponding integers===&lt;br /&gt;
&lt;br /&gt;
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- 41+ 42+ 43- 44+ 45+ 46- 47- 48- 49+ 50+ 51+ 52- 53- 54+ 55- 56+ 57- 58- 59+ 60+ 61+ 62+ 63- 64- 65+ 66- 67- 68+ 69+ 70- 71- 72+ 73+ 74+ 75- 76- 77+ 78+ 79- 80+ 81- 82- 83+ 84- 85- 86+ 87+ 88- 89+ 90- 91- 92+ 93- 94+ 95+ 96+ 97- 98- 99+ 100- 101+ 102- 103- 104+ 105+ 106- 107- 108- 109+ 110+ 111- 112+ 113+ 114+ 115- 116- 117- 118+ 119- 120- 121+ 122- 123+ 124+ 125+ 126+ 127- 128- 129- 130- 131+ 132+ 133- 134+ 135+ 136+ 137- 138- 139+ 140- 141- 142+ 143- 144- 145+ 146- 147+ 148- 149+ 150+ 151- 152+ 153+ 154+ 155- 156- 157- 158- 159+ 160+ 161+ 162+ 163- 164- 165- 166+ 167+ 168- 169+ 170- 171- 172+ 173- 174+ 175+ 176- 177- 178+ 179- 180+ 181+ 182- 183+ 184- 185+ 186- 187+ 188+ 189- 190- 191- 192+ 193+ 194- 195+ 196+ 197- 198- 199+ 200- 201- 202+ 203- 204- 205+ 206+ 207+ 208+ 209- 210+ 211- 212- 213+ 214- 215- 216+ 217+ 218- 219- 220+ 221- 222+ 223+ 224- 225- 226- 227+ 228- 229+ 230+ 231- 232+ 233+ 234+ 235- 236- 237+ 238+ 239- 240- 241+ 242- 243- 244+ 245- 246+ 247+ 248- 249- 250+ 251- 252+ 253+ 254- 255+ 256+ 257- 258- 259+ 260- 261- 262+ 263- 264+ 265+ 266- 267- 268+ 269+ 270- 271+ 272- 273+ 274- 275- 276+ 277- 278+ 279+ 280+ 281- 282- 283+ 284- 285+ 286+ 287- 288- 289- 290- 291+ 292+ 293- 294- 295+ 296- 297+ 298+ 299- 300+ 301+ 302- 303- 304+ 305- 306+ 307+ 308- 309- 310+ 311+ 312- 313+ 314- 315- 316+ 317- 318+ 319- 320- 321+ 322+ 323- 324- 325+ 326- 327+ 328+ 329+ 330- 331+ 332- 333- 334+ 335- 336+ 337- 338- 339+ 340+ 341+ 342+ 343- 344- 345- 346+ 347+ 348- 349+ 350- 351- 352+ 353- 354+ 355+ 356- 357- 358+ 359- 360+ 361+ 362- 363+ 364+ 365- 366- 367+ 368- 369- 370+ 371- 372+ 373+ 374- 375- 376+ 377+ 378- 379- 380- 381+ 382+ 383- 384- 385+ 386- 387+ 388+ 389- 390+ 391+ 392- 393- 394+ 395- 396- 397+ 398+ 399+ 400+ 401- 402- 403- 404- 405+ 406+ 407- 408+ 409+ 410- 411+ 412+ 413- 414- 415+ 416- 417- 418+ 419+ 420- 421- 422- 423+ 424+ 425- 426+ 427+ 428- 429- 430+ 431- 432+ 433+ 434- 435+ 436- 437- 438- 439+ 440- 441+ 442+ 443- 444+ 445+ 446- 447- 448+ 449- 450- 451+ 452- 453+ 454+ 455- 456- 457+ 458+ 459- 460+ 461+ 462+ 463- 464- 465- 466+ 467- 468+ 469+ 470- 471+ 472+ 473- 474- 475+ 476- 477- 478- 479+ 480+ 481+ 482- 483- 484+ 485- 486+ 487- 488- 489+ 490+ 491+ 492- 493+ 494- 495+ 496+ 497- 498+ 499- 500- 501- 502+ 503+ 504- 505+ 506- 507+ 508+ 509- 510- 511+ 512- 513- 514+ 515- 516+ 517+ 518- 519- 520+ 521- 522+ 523- 524+ 525+ 526- 527+ 528- 529+ 530- 531- 532+ 533- 534+ 535+ 536- 537- 538+ 539- 540- 541+ 542- 543+ 544+ 545+ 546- 547- 548- 549+ 550+ 551- 552+ 553+ 554+ 555- 556+ 557- 558- 559+ 560- 561+ 562+ 563- 564- 565+ 566- 567+ 568+ 569- 570+ 571- 572- 573- 574+ 575- 576+ 577+ 578- 579+ 580+ 581- 582- 583+ 584- 585- 586- 587+ 588+ 589+ 590- 591- 592+ 593- 594+ 595+ 596- 597- 598+ 599+ 600- 601+ 602- 603+ 604+ 605- 606+ 607- 608- 609- 610+ 611- 612- 613+ 614- 615+ 616+ 617- 618- 619+ 620- 621+ 622+ 623- 624+ 625+ 626- 627- 628+ 629- 630+ 631+ 632- 633+ 634+ 635- 636- 637+ 638- 639- 640+ 641- 642+ 643+ 644- 645- 646+ 647- 648- 649+ 650- 651+ 652+ 653- 654+ 655- 656- 657+ 658+ 659- 660+ 661+ 662- 663- 664+ 665- 666- 667+ 668- 669+ 670+ 671- 672- 673+ 674- 675+ 676+ 677- 678+ 679+ 680- 681- 682+ 683- 684+ 685+ 686- 687- 688+ 689+ 690- 691+ 692- 693- 694+ 695- 696+ 697+ 698- 699- 700+ 701- 702- 703+ 704- 705+ 706+ 707- 708- 709+ 710- 711+ 712+ 713- 714+ 715+ 716- 717+ 718+ 719- 720- 721+ 722- 723+ 724+ 725- 726- 727+ 728- 729- 730+ 731- 732+ 733+ 734- 735- 736+ 737- 738+ 739- 740- 741+ 742+ 743+ 744- 745+ 746- 747- 748+ 749- 750+ 751+ 752- 753- 754+ 755- 756+ 757- 758- 759+ 760+ 761+ 762- 763- 764- 765+ 766+ 767- 768+ 769+ 770- 771- 772+ 773+ 774- 775+ 776- 777+ 778+ 779- 780- 781+ 782- 783- 784+ 785- 786- 787+ 788- 789+ 790+ 791- 792+ 793- 794- 795+ 796+ 797+ 798- 799+ 800- 801- 802+ 803- 804+ 805+ 806- 807- 808+ 809- 810+ 811- 812- 813+ 814+ 815- 816- 817+ 818- 819+ 820+ 821- 822+ 823+ 824- 825- 826+ 827+ 828- 829+ 830- 831- 832+ 833- 834- 835+ 836- 837+ 838+ 839- 840+ 841+ 842- 843- 844+ 845- 846+ 847+ 848- 849+ 850+ 851- 852- 853+ 854- 855- 856+ 857+ 858+ 859- 860- 861- 862+ 863- 864- 865+ 866- 867+ 868+ 869- 870- 871+ 872+ 873+ 874+ 875- 876+ 877- 878- 879+ 880+ 881- 882- 883+ 884- 885+ 886+ 887- 888- 889+ 890- 891- 892+ 893- 894+ 895+ 896- 897- 898+ 899- 900+ 901+ 902- 903+ 904+ 905- 906- 907+ 908- 909- 910+ 911- 912+ 913+ 914- 915- 916- 917+ 918+ 919- 920- 921+ 922+ 923- 924- 925+ 926- 927+ 928+ 929- 930+ 931+ 932- 933- 934+ 935- 936- 937+ 938- 939+ 940+ 941+ 942- 943+ 944- 945- 946+ 947- 948+ 949+ 950- 951- 952+ 953- 954+ 955+ 956- 957+ 958- 959+ 960- 961- 962+ 963- 964+ 965- 966+ 967+ 968- 969- 970+ 971- 972+ 973- 974- 975+ 976+ 977+ 978- 979+ 980- 981- 982- 983+ 984+ 985+ 986- 987- 988+ 989- 990- 991+ 992- 993+ 994+ 995- 996- 997+ 998+ 999+ 1000+ 1001- 1002+ 1003- 1004- 1005- 1006+ 1007- 1008+ 1009+ 1010- 1011+ 1012+ 1013- 1014- 1015+ 1016- 1017- 1018+ 1019+ 1020+ 1021- 1022- 1023- 1024+ 1025- 1026- 1027+ 1028- 1029+ 1030+ 1031+ 1032- 1033+ 1034- 1035+ 1036+ 1037- 1038+ 1039- 1040- 1041- 1042+ 1043- 1044- 1045+ 1046+ 1047+ 1048+ 1049- 1050- 1051+ 1052- 1053+ 1054+ 1055- 1056- 1057+ 1058- 1059+ 1060+ 1061- 1062+ 1063- 1064- 1065+ 1066- 1067+ 1068+ 1069- 1070- 1071- 1072+ 1073- 1074- 1075+ 1076+ 1077- 1078+ 1079- 1080+ 1081+ 1082- 1083+ 1084- 1085- 1086- 1087+ 1088- 1089+ 1090+ 1091+ 1092+ 1093- 1094+ 1095- 1096- 1097- 1098- 1099+ 1100- 1101+ 1102+ 1103- 1104+ 1105+ 1106- 1107- 1108+ 1109+ 1110- 1111+ 1112+ 1113- 1114+ 1115- 1116- 1117+ 1118- 1119+ 1120+ 1121- 1122+ 1123- 1124-&lt;br /&gt;
&lt;br /&gt;
===Links to other displays and visually displayed information about the sequence===&lt;br /&gt;
&lt;br /&gt;
Here is an alternate formatting. [http://numberwarrior.wordpress.com/files/2009/12/longsequence.png Link].&lt;br /&gt;
&lt;br /&gt;
[http://spreadsheets.google.com/ccc?key=0AkbsKAn5VTtvdGpoOG9xYWlUYTNpa1I0UktEMUsxZmc&amp;amp;hl=en The sequence in groups of 24] (Google Docs format).&lt;br /&gt;
[http://go2.wordpress.com/?id=725X1342&amp;amp;site=gowers.wordpress.com&amp;amp;url=http%3A%2F%2Fspreadsheets.google.com%2Fccc%3Fkey%3D0AkbsKAn5VTtvdDdrTDd1YmM3bGZESEFwZWhnSVBZMEE%26hl%3Den Multiples of 2 only].&lt;br /&gt;
&lt;br /&gt;
[http://thomas1111.wordpress.com/2010/01/09/erdos-discrepancy-a-program-to-get-html-tables/ The sequence in groups of 24, also multiples of 8 only] (HTML format).&lt;br /&gt;
&lt;br /&gt;
Here is a Rauzy tree that conveys information about subsequences of the sequence: [http://obryant.wordpress.com/2010/01/09/a-rauzy-tree/ Link].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Relavant Code ==&lt;br /&gt;
The code(s) (or a link to the code(s)) used to find this sequence should be posted here.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:Experimental_results&amp;diff=2467</id>
		<title>Talk:Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:Experimental_results&amp;diff=2467"/>
		<updated>2010-01-09T14:17:44Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: Moving examples to other pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Moving examples to other pages ==&lt;br /&gt;
&lt;br /&gt;
I suggest that we move the examples to other pages, and let this page contain only links and short descriptions. If nobody protest, I will do this later today. --[[User:SuneJ|SuneJ]] 14:17, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2466</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2466"/>
		<updated>2010-01-09T14:12:09Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Varying the upper and lower bounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
&lt;br /&gt;
==Different displays of a long low-discrepancy sequence==&lt;br /&gt;
&lt;br /&gt;
It would be good to have some long sequences with low discrepancy displayed nicely here (or on subsidiary pages) in tabular form, together with discussions about the structures that can be found in these sequences. For now, here is the current record not displayed in a particularly helpful way. It is a sequence of discrepancy 2 and length 1124. &lt;br /&gt;
&lt;br /&gt;
===The raw sequence===&lt;br /&gt;
&lt;br /&gt;
+ - + + - - - - + + - + + + - - + - + + - - - + - + + - + -&lt;br /&gt;
- + + - + - - + - - + + - + + - - - + + + - - + - + - - + +&lt;br /&gt;
+ + - - + - - + + - - + + + - - + + - + - - + - - + + - + -&lt;br /&gt;
- + - + + + - - + - + - - + + - - - + + - + + + - - - + - -&lt;br /&gt;
+ - + + + + - - - - + + - + + + - - + - - + - - + - + - + +&lt;br /&gt;
- + + + - - - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
+ - + - + - + + - - - + + - + + - - + - - + - - + + + + - +&lt;br /&gt;
- - + - - + + - - + - + + - - - + - + + - + + + - - + + - -&lt;br /&gt;
+ - - + - + + - - + - + + - + + - - + - - + - + + - - + + -&lt;br /&gt;
+ - + - - + - + + + - - + - + + - - - - + + - - + - + + - +&lt;br /&gt;
+ - - + - + + - - + + - + - - + - + - - + + - - + - + + + -&lt;br /&gt;
+ - - + - + - - + + + + - - - + + - + - - + - + + - - + - +&lt;br /&gt;
+ - + + - - + - - + - + + - - + + - - - + + - - + - + + - +&lt;br /&gt;
+ - - + - - + + + + - - - - + + - + + - + + - - + - - + + -&lt;br /&gt;
- - + + - + + - - + - + + - + - - - + - + + - + + - - + - -&lt;br /&gt;
+ - + + - - + + - + + + - - - + - + + - + + - - + - - - + +&lt;br /&gt;
+ - - + - + - - + + + - + - + + - + - - - + + - + - + + - -&lt;br /&gt;
+ - - + - + + - - + - + - + + - + - + - - + - + + - - + - -&lt;br /&gt;
+ - + + + - - - + + - + + + - + - - + - + + - - + - + + - +&lt;br /&gt;
- - - + - + + - + + - - + - - - + + + - - + - + + - - + + -&lt;br /&gt;
+ - + + - + - - - + - - + - + + - - + - + + - + + - - + - +&lt;br /&gt;
+ - + + - - + - - + - + + - - + - - + - + + - + - - + + - +&lt;br /&gt;
+ - - + - - + - + + - - + - + + - + + - - + - + + - - + + -&lt;br /&gt;
+ - - + - + + - - + - - + - + + - - + - + + - + + - + + - -&lt;br /&gt;
+ - + + - - + - - + - + + - - + - + - - + + + - + - - + - +&lt;br /&gt;
+ - - + - + - - + + + - - - + + - + + - - + + - + - + + - -&lt;br /&gt;
+ - - + - - + - + + - + - - + + + - + - - + - + + - - + - +&lt;br /&gt;
- - + + - - + - + + - + + - - + + - + - - + - - + - + + - +&lt;br /&gt;
+ - - + - + + - + + - - + - - + + + - - - + - - + - + + - -&lt;br /&gt;
+ + + + - + - - + + - - + - + + - - + - - + - + + - - + - +&lt;br /&gt;
+ - + + - - + - - + - + + - - - + + - - + + - - + - + + - +&lt;br /&gt;
+ - - + - - + - + + + - + - - + - + + - - + - + + - + - + -&lt;br /&gt;
- + - + - + + - - + - + - - + + + - + - - - + + + - - + - -&lt;br /&gt;
+ - + + - - + + + + - + - - - + - + + - + + - - + - - + + +&lt;br /&gt;
- - - + - - + - + + + - + - + + - + - - - + - - + + + + - -&lt;br /&gt;
+ - + + - - + - + + - + - - + - + + - - - + - - + + - + - +&lt;br /&gt;
+ - + - - - + - + + + + - + - - - - + - + + - + + - - + + -&lt;br /&gt;
+ + - + - - + - + + - + - -&lt;br /&gt;
&lt;br /&gt;
===The sequence, together with the corresponding integers===&lt;br /&gt;
&lt;br /&gt;
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- 41+ 42+ 43- 44+ 45+ 46- 47- 48- 49+ 50+ 51+ 52- 53- 54+ 55- 56+ 57- 58- 59+ 60+ 61+ 62+ 63- 64- 65+ 66- 67- 68+ 69+ 70- 71- 72+ 73+ 74+ 75- 76- 77+ 78+ 79- 80+ 81- 82- 83+ 84- 85- 86+ 87+ 88- 89+ 90- 91- 92+ 93- 94+ 95+ 96+ 97- 98- 99+ 100- 101+ 102- 103- 104+ 105+ 106- 107- 108- 109+ 110+ 111- 112+ 113+ 114+ 115- 116- 117- 118+ 119- 120- 121+ 122- 123+ 124+ 125+ 126+ 127- 128- 129- 130- 131+ 132+ 133- 134+ 135+ 136+ 137- 138- 139+ 140- 141- 142+ 143- 144- 145+ 146- 147+ 148- 149+ 150+ 151- 152+ 153+ 154+ 155- 156- 157- 158- 159+ 160+ 161+ 162+ 163- 164- 165- 166+ 167+ 168- 169+ 170- 171- 172+ 173- 174+ 175+ 176- 177- 178+ 179- 180+ 181+ 182- 183+ 184- 185+ 186- 187+ 188+ 189- 190- 191- 192+ 193+ 194- 195+ 196+ 197- 198- 199+ 200- 201- 202+ 203- 204- 205+ 206+ 207+ 208+ 209- 210+ 211- 212- 213+ 214- 215- 216+ 217+ 218- 219- 220+ 221- 222+ 223+ 224- 225- 226- 227+ 228- 229+ 230+ 231- 232+ 233+ 234+ 235- 236- 237+ 238+ 239- 240- 241+ 242- 243- 244+ 245- 246+ 247+ 248- 249- 250+ 251- 252+ 253+ 254- 255+ 256+ 257- 258- 259+ 260- 261- 262+ 263- 264+ 265+ 266- 267- 268+ 269+ 270- 271+ 272- 273+ 274- 275- 276+ 277- 278+ 279+ 280+ 281- 282- 283+ 284- 285+ 286+ 287- 288- 289- 290- 291+ 292+ 293- 294- 295+ 296- 297+ 298+ 299- 300+ 301+ 302- 303- 304+ 305- 306+ 307+ 308- 309- 310+ 311+ 312- 313+ 314- 315- 316+ 317- 318+ 319- 320- 321+ 322+ 323- 324- 325+ 326- 327+ 328+ 329+ 330- 331+ 332- 333- 334+ 335- 336+ 337- 338- 339+ 340+ 341+ 342+ 343- 344- 345- 346+ 347+ 348- 349+ 350- 351- 352+ 353- 354+ 355+ 356- 357- 358+ 359- 360+ 361+ 362- 363+ 364+ 365- 366- 367+ 368- 369- 370+ 371- 372+ 373+ 374- 375- 376+ 377+ 378- 379- 380- 381+ 382+ 383- 384- 385+ 386- 387+ 388+ 389- 390+ 391+ 392- 393- 394+ 395- 396- 397+ 398+ 399+ 400+ 401- 402- 403- 404- 405+ 406+ 407- 408+ 409+ 410- 411+ 412+ 413- 414- 415+ 416- 417- 418+ 419+ 420- 421- 422- 423+ 424+ 425- 426+ 427+ 428- 429- 430+ 431- 432+ 433+ 434- 435+ 436- 437- 438- 439+ 440- 441+ 442+ 443- 444+ 445+ 446- 447- 448+ 449- 450- 451+ 452- 453+ 454+ 455- 456- 457+ 458+ 459- 460+ 461+ 462+ 463- 464- 465- 466+ 467- 468+ 469+ 470- 471+ 472+ 473- 474- 475+ 476- 477- 478- 479+ 480+ 481+ 482- 483- 484+ 485- 486+ 487- 488- 489+ 490+ 491+ 492- 493+ 494- 495+ 496+ 497- 498+ 499- 500- 501- 502+ 503+ 504- 505+ 506- 507+ 508+ 509- 510- 511+ 512- 513- 514+ 515- 516+ 517+ 518- 519- 520+ 521- 522+ 523- 524+ 525+ 526- 527+ 528- 529+ 530- 531- 532+ 533- 534+ 535+ 536- 537- 538+ 539- 540- 541+ 542- 543+ 544+ 545+ 546- 547- 548- 549+ 550+ 551- 552+ 553+ 554+ 555- 556+ 557- 558- 559+ 560- 561+ 562+ 563- 564- 565+ 566- 567+ 568+ 569- 570+ 571- 572- 573- 574+ 575- 576+ 577+ 578- 579+ 580+ 581- 582- 583+ 584- 585- 586- 587+ 588+ 589+ 590- 591- 592+ 593- 594+ 595+ 596- 597- 598+ 599+ 600- 601+ 602- 603+ 604+ 605- 606+ 607- 608- 609- 610+ 611- 612- 613+ 614- 615+ 616+ 617- 618- 619+ 620- 621+ 622+ 623- 624+ 625+ 626- 627- 628+ 629- 630+ 631+ 632- 633+ 634+ 635- 636- 637+ 638- 639- 640+ 641- 642+ 643+ 644- 645- 646+ 647- 648- 649+ 650- 651+ 652+ 653- 654+ 655- 656- 657+ 658+ 659- 660+ 661+ 662- 663- 664+ 665- 666- 667+ 668- 669+ 670+ 671- 672- 673+ 674- 675+ 676+ 677- 678+ 679+ 680- 681- 682+ 683- 684+ 685+ 686- 687- 688+ 689+ 690- 691+ 692- 693- 694+ 695- 696+ 697+ 698- 699- 700+ 701- 702- 703+ 704- 705+ 706+ 707- 708- 709+ 710- 711+ 712+ 713- 714+ 715+ 716- 717+ 718+ 719- 720- 721+ 722- 723+ 724+ 725- 726- 727+ 728- 729- 730+ 731- 732+ 733+ 734- 735- 736+ 737- 738+ 739- 740- 741+ 742+ 743+ 744- 745+ 746- 747- 748+ 749- 750+ 751+ 752- 753- 754+ 755- 756+ 757- 758- 759+ 760+ 761+ 762- 763- 764- 765+ 766+ 767- 768+ 769+ 770- 771- 772+ 773+ 774- 775+ 776- 777+ 778+ 779- 780- 781+ 782- 783- 784+ 785- 786- 787+ 788- 789+ 790+ 791- 792+ 793- 794- 795+ 796+ 797+ 798- 799+ 800- 801- 802+ 803- 804+ 805+ 806- 807- 808+ 809- 810+ 811- 812- 813+ 814+ 815- 816- 817+ 818- 819+ 820+ 821- 822+ 823+ 824- 825- 826+ 827+ 828- 829+ 830- 831- 832+ 833- 834- 835+ 836- 837+ 838+ 839- 840+ 841+ 842- 843- 844+ 845- 846+ 847+ 848- 849+ 850+ 851- 852- 853+ 854- 855- 856+ 857+ 858+ 859- 860- 861- 862+ 863- 864- 865+ 866- 867+ 868+ 869- 870- 871+ 872+ 873+ 874+ 875- 876+ 877- 878- 879+ 880+ 881- 882- 883+ 884- 885+ 886+ 887- 888- 889+ 890- 891- 892+ 893- 894+ 895+ 896- 897- 898+ 899- 900+ 901+ 902- 903+ 904+ 905- 906- 907+ 908- 909- 910+ 911- 912+ 913+ 914- 915- 916- 917+ 918+ 919- 920- 921+ 922+ 923- 924- 925+ 926- 927+ 928+ 929- 930+ 931+ 932- 933- 934+ 935- 936- 937+ 938- 939+ 940+ 941+ 942- 943+ 944- 945- 946+ 947- 948+ 949+ 950- 951- 952+ 953- 954+ 955+ 956- 957+ 958- 959+ 960- 961- 962+ 963- 964+ 965- 966+ 967+ 968- 969- 970+ 971- 972+ 973- 974- 975+ 976+ 977+ 978- 979+ 980- 981- 982- 983+ 984+ 985+ 986- 987- 988+ 989- 990- 991+ 992- 993+ 994+ 995- 996- 997+ 998+ 999+ 1000+ 1001- 1002+ 1003- 1004- 1005- 1006+ 1007- 1008+ 1009+ 1010- 1011+ 1012+ 1013- 1014- 1015+ 1016- 1017- 1018+ 1019+ 1020+ 1021- 1022- 1023- 1024+ 1025- 1026- 1027+ 1028- 1029+ 1030+ 1031+ 1032- 1033+ 1034- 1035+ 1036+ 1037- 1038+ 1039- 1040- 1041- 1042+ 1043- 1044- 1045+ 1046+ 1047+ 1048+ 1049- 1050- 1051+ 1052- 1053+ 1054+ 1055- 1056- 1057+ 1058- 1059+ 1060+ 1061- 1062+ 1063- 1064- 1065+ 1066- 1067+ 1068+ 1069- 1070- 1071- 1072+ 1073- 1074- 1075+ 1076+ 1077- 1078+ 1079- 1080+ 1081+ 1082- 1083+ 1084- 1085- 1086- 1087+ 1088- 1089+ 1090+ 1091+ 1092+ 1093- 1094+ 1095- 1096- 1097- 1098- 1099+ 1100- 1101+ 1102+ 1103- 1104+ 1105+ 1106- 1107- 1108+ 1109+ 1110- 1111+ 1112+ 1113- 1114+ 1115- 1116- 1117+ 1118- 1119+ 1120+ 1121- 1122+ 1123- 1124-&lt;br /&gt;
&lt;br /&gt;
===Links to other displays and visually displayed information about the sequence===&lt;br /&gt;
&lt;br /&gt;
Here is an alternate formatting. [http://numberwarrior.wordpress.com/files/2009/12/longsequence.png Link].&lt;br /&gt;
&lt;br /&gt;
Here is the sequence divided into groups of 6. [http://spreadsheets.google.com/ccc?key=0AkbsKAn5VTtvdGY4VDlRU2dSUG9Lb1JtOWdROUtPMkE&amp;amp;hl=en Link].&lt;br /&gt;
&lt;br /&gt;
Here is a Rauzy tree that conveys information about subsequences of the sequence: [http://obryant.wordpress.com/2010/01/09/a-rauzy-tree/ Link].&lt;br /&gt;
&lt;br /&gt;
==Multiplicativity properties of the 1124 sequence==&lt;br /&gt;
&lt;br /&gt;
The 1124 sequence is not weakly multiplicative, but it does appear to be close to a weakly multiplicative sequence. That is, if you are prepared to disregard a few &amp;quot;errors&amp;quot;, then the number of distinct HAP-subsequences is 6. One can use this information to identify a quasi-multiplicative sequence that is in some sense close to the 1124 sequence. Some details can be found in the sequences of comments that begin [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4682 here] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4709 here].&lt;br /&gt;
&lt;br /&gt;
== Varying the upper and lower bounds ==&lt;br /&gt;
&lt;br /&gt;
If N(a,b) is the maximum length of a sequence of 1s and -1s with the partial sums on its HAPs bounded below by -a and above by b, then:&lt;br /&gt;
&lt;br /&gt;
N(a, b) = N(b, a)&lt;br /&gt;
&lt;br /&gt;
N(0, b) = b (everything must be +1)&lt;br /&gt;
&lt;br /&gt;
N(1, 1) = 11 (there are 4 such sequences: choose x(1), and use the constraints x(n)+x(2n)=0 and x(1)+...+x(2n)=0 to determine the entries up to 10; then choose x(11))&lt;br /&gt;
&lt;br /&gt;
N(1, 2) = 41 (there are 4 such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
0 + - - + - + + - + + - - +&lt;br /&gt;
&lt;br /&gt;
- + + - + - - - + - + + - -&lt;br /&gt;
&lt;br /&gt;
+ + - + - + + - - - + - + +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
N(1, 3) = 83 (there are 216 such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
0 - + - + - + + - + + - - +&lt;br /&gt;
&lt;br /&gt;
- + + - - + - - + - + + - +&lt;br /&gt;
&lt;br /&gt;
+ + - - - + + - + + - - + -&lt;br /&gt;
&lt;br /&gt;
+ - - + + - - + - + + + - +&lt;br /&gt;
&lt;br /&gt;
- - - + + - + - + - - + - +&lt;br /&gt;
&lt;br /&gt;
+ - + + - - + - + - - - + +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
N(1, 4) = 131 (there are 87144 such sequences -- example below)&lt;br /&gt;
&lt;br /&gt;
0 + - - + - + + - - + -&lt;br /&gt;
&lt;br /&gt;
+ + - + + + + - - - + -&lt;br /&gt;
&lt;br /&gt;
- + - + + - - + + + - -&lt;br /&gt;
&lt;br /&gt;
- + + - + - + - - + + -&lt;br /&gt;
&lt;br /&gt;
+ + - - + - - + - + + +&lt;br /&gt;
&lt;br /&gt;
+ - - + - + - - + + + -&lt;br /&gt;
&lt;br /&gt;
+ - - - - + + - - - + +&lt;br /&gt;
&lt;br /&gt;
- - + + + + - - - - + +&lt;br /&gt;
&lt;br /&gt;
- + - + + + + - - + + -&lt;br /&gt;
&lt;br /&gt;
+ - - - + + - - - + - -&lt;br /&gt;
&lt;br /&gt;
+ + + - + + - - + - - +&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
N(2, 2) &amp;gt;= 1124&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 13:46, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:The_Erd%C5%91s_discrepancy_problem&amp;diff=2462</id>
		<title>Talk:The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:The_Erd%C5%91s_discrepancy_problem&amp;diff=2462"/>
		<updated>2010-01-09T11:31:03Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Terminology for zero-based APs ==&lt;br /&gt;
&lt;br /&gt;
Could we abbreviate &#039;zero-based arithmetic progression&#039; to ZAP (the &#039;H&#039; for &#039;homogeneous&#039; being redundant)? We&#039;d then need a term for the discrepancy with respect to ZAPs, such as Z-discrepancy, unless it&#039;s clear from the context.&lt;br /&gt;
&lt;br /&gt;
== Repository of examples ==&lt;br /&gt;
&lt;br /&gt;
We could do with a place on this Wiki to post interesting examples of sequences, and perhaps other experimental data, since currently they&#039;re scattered around the blog and I have one or two I&#039;d like to add. In particular a page of &#039;longest sequences found so far&#039; for various constraints and dimensions would be nice.&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 09:01, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You could place it in [[Experimental results]]. It would be great if we could use the wiki to post more information than we can on the blog. E.g: Short description of the program used to find the example, the program/code itself, status of the program (are we trying to find longer sequences with this program, or why not) and author of the program. &lt;br /&gt;
Perhaps we could also create wish list: A page that only contains the short description of programs that have not been written. &lt;br /&gt;
--[[User:SuneJ|SuneJ]] 09:18, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== quasi-multiplicative sequence ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Let us also call a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence quasi-multiplicative if it is a composition of a completely multiplicative function from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to an Abelian group G with a function from G to {-1,1}.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Every &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence is on this form. E.g. take G to be the positive rationals with multiplication and let the function be the inclusion function. Do you mean &amp;quot;to a finite Abelian group G&amp;quot;? --[[User:SuneJ|SuneJ]] 11:29, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:The_Erd%C5%91s_discrepancy_problem&amp;diff=2461</id>
		<title>Talk:The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:The_Erd%C5%91s_discrepancy_problem&amp;diff=2461"/>
		<updated>2010-01-09T11:29:34Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Terminology for zero-based APs ==&lt;br /&gt;
&lt;br /&gt;
Could we abbreviate &#039;zero-based arithmetic progression&#039; to ZAP (the &#039;H&#039; for &#039;homogeneous&#039; being redundant)? We&#039;d then need a term for the discrepancy with respect to ZAPs, such as Z-discrepancy, unless it&#039;s clear from the context.&lt;br /&gt;
&lt;br /&gt;
== Repository of examples ==&lt;br /&gt;
&lt;br /&gt;
We could do with a place on this Wiki to post interesting examples of sequences, and perhaps other experimental data, since currently they&#039;re scattered around the blog and I have one or two I&#039;d like to add. In particular a page of &#039;longest sequences found so far&#039; for various constraints and dimensions would be nice.&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 09:01, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You could place it in [[Experimental results]]. It would be great if we could use the wiki to post more information than we can on the blog. E.g: Short description of the program used to find the example, the program/code itself, status of the program (are we trying to find longer sequences with this program, or why not) and author of the program. &lt;br /&gt;
Perhaps we could also create wish list: A page that only contains the short description of programs that have not been written. &lt;br /&gt;
--[[User:SuneJ|SuneJ]] 09:18, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== quasi-multiplicative sequence ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Let us also call a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence quasi-multiplicative if it is a composition of a completely multiplicative function from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to an Abelian group G with a function from G to {-1,1}.&amp;quot;&lt;br /&gt;
Every &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence is on this form. E.g. take G=Q and let the function be the inclusion function. Do you mean &amp;quot;to a finite Abelian group G&amp;quot;? --[[User:SuneJ|SuneJ]] 11:29, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:The_Erd%C5%91s_discrepancy_problem&amp;diff=2460</id>
		<title>Talk:The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:The_Erd%C5%91s_discrepancy_problem&amp;diff=2460"/>
		<updated>2010-01-09T11:29:18Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* quasi-multiplicative sequence */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Terminology for zero-based APs ==&lt;br /&gt;
&lt;br /&gt;
Could we abbreviate &#039;zero-based arithmetic progression&#039; to ZAP (the &#039;H&#039; for &#039;homogeneous&#039; being redundant)? We&#039;d then need a term for the discrepancy with respect to ZAPs, such as Z-discrepancy, unless it&#039;s clear from the context.&lt;br /&gt;
&lt;br /&gt;
== Repository of examples ==&lt;br /&gt;
&lt;br /&gt;
We could do with a place on this Wiki to post interesting examples of sequences, and perhaps other experimental data, since currently they&#039;re scattered around the blog and I have one or two I&#039;d like to add. In particular a page of &#039;longest sequences found so far&#039; for various constraints and dimensions would be nice.&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 09:01, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You could place it in [[Experimental results]]. It would be great if we could use the wiki to post more information than we can on the blog. E.g: Short description of the program used to find the example, the program/code itself, status of the program (are we trying to find longer sequences with this program, or why not) and author of the program. &lt;br /&gt;
Perhaps we could also create wish list: A page that only contains the short description of programs that have not been written. &lt;br /&gt;
--[[User:SuneJ|SuneJ]] 09:18, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== quasi-multiplicative sequence ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Let us also call a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence quasi-multiplicative if it is a composition of a completely multiplicative function from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to an Abelian group G with a function from G to {-1,1}.&amp;quot;&lt;br /&gt;
Every &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence is on this form. E.g. take G=Q and let the function be the inclusion function. Do you mean &amp;quot;to a finite Abelian group G&amp;quot;?&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:The_Erd%C5%91s_discrepancy_problem&amp;diff=2452</id>
		<title>Talk:The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:The_Erd%C5%91s_discrepancy_problem&amp;diff=2452"/>
		<updated>2010-01-09T09:18:31Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Terminology for zero-based APs ==&lt;br /&gt;
&lt;br /&gt;
Could we abbreviate &#039;zero-based arithmetic progression&#039; to ZAP (the &#039;H&#039; for &#039;homogeneous&#039; being redundant)? We&#039;d then need a term for the discrepancy with respect to ZAPs, such as Z-discrepancy, unless it&#039;s clear from the context.&lt;br /&gt;
&lt;br /&gt;
== Repository of examples ==&lt;br /&gt;
&lt;br /&gt;
We could do with a place on this Wiki to post interesting examples of sequences, and perhaps other experimental data, since currently they&#039;re scattered around the blog and I have one or two I&#039;d like to add. In particular a page of &#039;longest sequences found so far&#039; for various constraints and dimensions would be nice.&lt;br /&gt;
&lt;br /&gt;
--[[User:Alec|Alec]] 09:01, 9 January 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You could place it in [[Experimental results]]. It would be great if we could use the wiki to post more information than we can on the blog. E.g: Short description of the program used to find the example, the program/code itself, status of the program (are we trying to find longer sequences with this program, or why not) and author of the program. &lt;br /&gt;
Perhaps we could also create wish list: A page that only contains the short description of programs that have not been written. &lt;br /&gt;
--[[User:SuneJ|SuneJ]] 09:18, 9 January 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=2435</id>
		<title>The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=2435"/>
		<updated>2010-01-07T16:32:06Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Simple observations */ Corrected parenthesis mismatch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction and statement of problem==&lt;br /&gt;
&lt;br /&gt;
The Erd&amp;amp;#337;s discrepancy problem is a problem that has been around since the 1930s and has resisted attack ever since. It is extremely easy to state, and a very appealing problem, so perhaps Polymath can succeed where individual mathematicians have failed. If so, then, given the notoriety of the problem, it would be a significant coup for the multiply collaborative approach to mathematics. But even if a full solution is not reached, preliminary investigations have already thrown up some interesting ideas, which could perhaps be developed into publishable results.&lt;br /&gt;
&lt;br /&gt;
To state the problem, we first define a &amp;lt;em&amp;gt;homogeneous arithmetic progression&amp;lt;/em&amp;gt; to be a set of positive integers of the form {d,2d,3d,...,nd}. (It is also reasonable to define it to be a set of non-negative integers of the form {0,d,2d,3d,...,nd}: at the time of writing it is not clear what the &amp;quot;official&amp;quot; definition should be.) Suppose that we have a sequence &amp;lt;math&amp;gt;x_1,x_2,x_3,\dots&amp;lt;/math&amp;gt; of elements of the set &amp;lt;math&amp;gt;\{-1,1\}&amp;lt;/math&amp;gt; (henceforth to be referred to as a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence). We say that the &amp;lt;em&amp;gt;discrepancy&amp;lt;/em&amp;gt; of the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; with respect to a set A of positive integers is &amp;lt;math&amp;gt;|\sum_{n\in A}x_n|&amp;lt;/math&amp;gt;. The reason for this name is that we can think of the sequence as a red/blue-colouring of the positive integers, and the discrepancy with respect to A is then the difference between the number of red elements of A and the number of blue elements of A. The Erd&amp;amp;#337;s discrepancy problem is the following question.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Problem.&amp;lt;/strong&amp;gt; &amp;lt;em&amp;gt;Let &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; be a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence. Must it be the case that for every constant C there exists a homogeneous arithmetic progression P such that the discrepancy of the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; with respect to P is at least C?&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Some definitions and notational conventions==&lt;br /&gt;
&lt;br /&gt;
==Simple observations==&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is sufficient to find a completely multiplicative sequence (that is, a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; for every m,n) such that its partial sums &amp;lt;math&amp;gt;x_1+\dots+x_n&amp;lt;/math&amp;gt; are bounded. First mentioned in the proof of the theorem in [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/ this] post.&lt;br /&gt;
&lt;br /&gt;
*The function that takes n to 1 if the last non-zero digit of n in its ternary representation is 1 and -1 if the last non-zero digit is 2 is completely multiplicative and the partial sum up to n is easily shown to be at most &amp;lt;math&amp;gt;\log_3n +1&amp;lt;/math&amp;gt;. Therefore, the rate at which the worst discrepancy grows, as a function of the length of the homogeneous progression, can be as slow as logarithmic. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/] &amp;lt;s&amp;gt;[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4553 It turns out] that the base can be made significantly higher than 3, so this example is not best possible.&amp;lt;/s&amp;gt; [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4757 Correction]&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is also sufficient to find a completely multiplicative function f from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to a finite Abelian group G (meaning that f(mn)=f(m)+f(n) for every m,n) and a function h from G to {-1,1} such that for each g in G there exists d with f(d)=g and with the partial sums hf(d)+hf(2d)+...+hf(nd) bounded. In that case, one can set &amp;lt;math&amp;gt;x_n=hf(n)&amp;lt;/math&amp;gt;. (Though this observation is simple with the benefit of hindsight, it might not have been made had it not been for the fact that this sort of structure was identified in a long sequence that had been produced experimentally). First mentioned [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4696 here]. Se also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/ this post] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4717 this comment].&lt;br /&gt;
&lt;br /&gt;
*[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4705 It can be shown] that if a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; starts with 1 and has only finitely many distinct subsequences of the form &amp;lt;math&amp;gt;(x_d,x_{2d},x_{3d},\dots)&amp;lt;/math&amp;gt;, then it must arise in the above way.&lt;br /&gt;
&lt;br /&gt;
*The problem for the positive integers is equivalent to the problem for the positive rationals. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4676](Sketch proof: if you have a function f from the positive integers to {-1,1} that works, then define &amp;lt;math&amp;gt;f_q(x)&amp;lt;/math&amp;gt; to be f(q!x) whenever q!x is an integer. Then take a pointwise limit of a subsequence of the functions &amp;lt;math&amp;gt;f_q&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
==Experimental evidence== &lt;br /&gt;
&lt;br /&gt;
A nice feature of the problem is that it lends itself well to investigation on a computer. Although the number of &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequences grows exponentially, the constraints on these sequences are such that depth-first searches can lead quite quickly to interesting examples. For instance, at the time of writing they have yielded a sequence of length 1124 with discrepancy 2. See [[Experimental results|this page]] for more details about this and for further links.&lt;br /&gt;
&lt;br /&gt;
==Annoted Bibliography==&lt;br /&gt;
&lt;br /&gt;
Mathias, A. R. D. [http://www.dpmms.cam.ac.uk/~ardm/erdoschu.pdf On a conjecture of Erdős and Čudakov]. Combinatorics, geometry and probability (Cambridge, 1993).&lt;br /&gt;
&lt;br /&gt;
This is a short paper establishing the maximal length of sequence for the case where C=1 is 11, and is the starting point for our experimental studies.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=2434</id>
		<title>The Erdős discrepancy problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_Erd%C5%91s_discrepancy_problem&amp;diff=2434"/>
		<updated>2010-01-07T15:49:51Z</updated>

		<summary type="html">&lt;p&gt;SuneJ: /* Simple observations */ Links have been added (unless you meant link to other wikipages?)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction and statement of problem==&lt;br /&gt;
&lt;br /&gt;
The Erd&amp;amp;#337;s discrepancy problem is a problem that has been around since the 1930s and has resisted attack ever since. It is extremely easy to state, and a very appealing problem, so perhaps Polymath can succeed where individual mathematicians have failed. If so, then, given the notoriety of the problem, it would be a significant coup for the multiply collaborative approach to mathematics. But even if a full solution is not reached, preliminary investigations have already thrown up some interesting ideas, which could perhaps be developed into publishable results.&lt;br /&gt;
&lt;br /&gt;
To state the problem, we first define a &amp;lt;em&amp;gt;homogeneous arithmetic progression&amp;lt;/em&amp;gt; to be a set of positive integers of the form {d,2d,3d,...,nd}. (It is also reasonable to define it to be a set of non-negative integers of the form {0,d,2d,3d,...,nd}: at the time of writing it is not clear what the &amp;quot;official&amp;quot; definition should be.) Suppose that we have a sequence &amp;lt;math&amp;gt;x_1,x_2,x_3,\dots&amp;lt;/math&amp;gt; of elements of the set &amp;lt;math&amp;gt;\{-1,1\}&amp;lt;/math&amp;gt; (henceforth to be referred to as a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence). We say that the &amp;lt;em&amp;gt;discrepancy&amp;lt;/em&amp;gt; of the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; with respect to a set A of positive integers is &amp;lt;math&amp;gt;|\sum_{n\in A}x_n|&amp;lt;/math&amp;gt;. The reason for this name is that we can think of the sequence as a red/blue-colouring of the positive integers, and the discrepancy with respect to A is then the difference between the number of red elements of A and the number of blue elements of A. The Erd&amp;amp;#337;s discrepancy problem is the following question.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Problem.&amp;lt;/strong&amp;gt; &amp;lt;em&amp;gt;Let &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; be a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence. Must it be the case that for every constant C there exists a homogeneous arithmetic progression P such that the discrepancy of the sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; with respect to P is at least C?&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Some definitions and notational conventions==&lt;br /&gt;
&lt;br /&gt;
==Simple observations==&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is sufficient to find a completely multiplicative sequence (that is, a sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;x_{mn}=x_mx_n&amp;lt;/math&amp;gt; for every m,n) such that its partial sums &amp;lt;math&amp;gt;x_1+\dots+x_n&amp;lt;/math&amp;gt; are bounded. First mentioned in the proof of the theorem in [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/ this] post.&lt;br /&gt;
&lt;br /&gt;
*The function that takes n to 1 if the last non-zero digit of n in its ternary representation is 1 and -1 if the last non-zero digit is 2 is completely multiplicative and the partial sum up to n is easily shown to be at most &amp;lt;math&amp;gt;\log_3n +1&amp;lt;/math&amp;gt;. Therefore, the rate at which the worst discrepancy grows, as a function of the length of the homogeneous progression, can be as slow as logarithmic. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/] &amp;lt;s&amp;gt;[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4553 It turns out] that the base can be made significantly higher than 3, so this example is not best possible.&amp;lt;/s&amp;gt; [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4757 Correction]&lt;br /&gt;
&lt;br /&gt;
*To answer the problem negatively, it is also sufficient to find a completely multiplicative function f from &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; to a finite Abelian group G (meaning that f(mn)=f(m)+f(n) for every m,n) and a function h from G to {-1,1} such that for each g in G there exists d with f(d)=g and with the partial sums hf(d)+hf(2d)+...+hf(nd) bounded. In that case, one can set &amp;lt;math&amp;gt;x_n=hf(n)&amp;lt;/math&amp;gt;. (Though this observation is simple with the benefit of hindsight, it might not have been made had it not been for the fact that this sort of structure was identified in a long sequence that had been produced experimentally. First mentioned [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4696 here]. Se also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/ this post] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4717 this comment].&lt;br /&gt;
&lt;br /&gt;
*[http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4705 It can be shown] that if a &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequence &amp;lt;math&amp;gt;(x_n)&amp;lt;/math&amp;gt; starts with 1 and has only finitely many distinct subsequences of the form &amp;lt;math&amp;gt;(x_d,x_{2d},x_{3d},\dots)&amp;lt;/math&amp;gt;, then it must arise in the above way.&lt;br /&gt;
&lt;br /&gt;
*The problem for the positive integers is equivalent to the problem for the positive rationals. [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4676](Sketch proof: if you have a function f from the positive integers to {-1,1} that works, then define &amp;lt;math&amp;gt;f_q(x)&amp;lt;/math&amp;gt; to be f(q!x) whenever q!x is an integer. Then take a pointwise limit of a subsequence of the functions &amp;lt;math&amp;gt;f_q&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
==Experimental evidence== &lt;br /&gt;
&lt;br /&gt;
A nice feature of the problem is that it lends itself well to investigation on a computer. Although the number of &amp;lt;math&amp;gt;\pm 1&amp;lt;/math&amp;gt; sequences grows exponentially, the constraints on these sequences are such that depth-first searches can lead quite quickly to interesting examples. For instance, at the time of writing they have yielded a sequence of length 1124 with discrepancy 2. See [[Experimental results|this page]] for more details about this and for further links.&lt;br /&gt;
&lt;br /&gt;
==Annoted Bibliography==&lt;br /&gt;
&lt;br /&gt;
Mathias, A. R. D. [http://www.dpmms.cam.ac.uk/~ardm/erdoschu.pdf On a conjecture of Erdős and Čudakov]. Combinatorics, geometry and probability (Cambridge, 1993).&lt;br /&gt;
&lt;br /&gt;
This is a short paper establishing the maximal length of sequence for the case where C=1 is 11, and is the starting point for our experimental studies.&lt;/div&gt;</summary>
		<author><name>SuneJ</name></author>
	</entry>
</feed>