Bounding the discrepancy in terms of the common difference
Many approaches to EDP proceed by considering [math]\displaystyle{ \mathcal{A}_n }[/math], the set of HAPs contained in [math]\displaystyle{ \{1, 2, \ldots, n\} }[/math], and trying to proving a lower bound [math]\displaystyle{ \omega_n }[/math] for the [math]\displaystyle{ \mathcal{A}_n }[/math]-discrepancy problem, where [math]\displaystyle{ \omega_n \to \infty }[/math].
This page is about an alternative approach: instead of building up the set of HAPs by restricting the maximum and letting it tend to infinity, we build it up by restricting the difference and letting that tend to infinity.
That is, we consider [math]\displaystyle{ \mathcal{D}_n }[/math], the set of HAPs with common difference in some set [math]\displaystyle{ D_n \subseteq \mathbb{N}^+ }[/math], where [math]\displaystyle{ D_1 \subseteq D_2 \subseteq \ldots }[/math] and [math]\displaystyle{ \bigcup_n D_n = \mathbb{N}^+ }[/math], and try to prove a lower bound [math]\displaystyle{ \omega_n }[/math] for the [math]\displaystyle{ \mathcal{D}_n }[/math]-discrepancy problem, where [math]\displaystyle{ \omega_n \to \infty }[/math].
The hope is that some of the calculations will be easier in this perspective because we don't have so many 'cut-offs' to worry about. Furthermore, we are forced to work in a more infinitary way from the start. This may be a help or a hindrance.
Many of the natural examples turn out to be a bit nicer if our sequences (and our HAPs) start at zero. So we'll consider infinite sequences [math]\displaystyle{ x : \mathbb{N} \to \{\pm 1\} }[/math].
Let [math]\displaystyle{ \sigma (x) = \sup_n | \sum_{r\lt n} x_r | }[/math] (which may be finite or infinite), and [math]\displaystyle{ \sigma_d (x) = \sigma (T_d(x)) }[/math] (where [math]\displaystyle{ T_d(x) }[/math] is the sequence defined by [math]\displaystyle{ T_d(x)_n = x_{dn} }[/math]). Let's also write [math]\displaystyle{ \sigma_D (x) = \sup_{d \in D} \sigma_d(x) }[/math], for [math]\displaystyle{ D \subseteq \mathbb{N}^+ }[/math]. Finally, let [math]\displaystyle{ \sigma_D = \inf_x \sigma_D(x) }[/math]. Ultimately we want to prove that [math]\displaystyle{ \sigma_{\mathbb{N}^+} = \infty }[/math].
An obvious question is whether there is a sequence [math]\displaystyle{ x }[/math] such that [math]\displaystyle{ \sigma_d(x) }[/math] is finite for all [math]\displaystyle{ d }[/math]. There is: we can take [math]\displaystyle{ x_n = (-1)^{\nu(n)} }[/math] where [math]\displaystyle{ \nu(n) = \sum_{k=0}^\infty \lfloor \frac{n}{2^k k!} \rfloor }[/math]. It is easy to check by induction that [math]\displaystyle{ \sigma_d(x) \lt \infty }[/math]: [math]\displaystyle{ x }[/math] is the pointwise limit of periodic sequences [math]\displaystyle{ x_k = \xi_k \xi_k \ldots }[/math] (concatenation of finite blocks) where the length of [math]\displaystyle{ \xi_k }[/math] is [math]\displaystyle{ 2^k k! }[/math] and [math]\displaystyle{ \sum_{\{n : d \mid n\}} (\xi_k)_n = 0 }[/math] for all [math]\displaystyle{ d \leq k }[/math]. The block [math]\displaystyle{ \xi_k }[/math] is formed by concatenating [math]\displaystyle{ 2k }[/math] copies of [math]\displaystyle{ \xi_{k-1} }[/math] with alternating signs. The sequence starts:
n 0 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 x_n + - - + + - - + - + + - - + + - + - - + + - - + - +
For this sequence we have [math]\displaystyle{ \sigma_d \leq 2^d d! }[/math]. In fact, [math]\displaystyle{ \sigma_1 = 1 }[/math], [math]\displaystyle{ \sigma_2 = 1 }[/math], [math]\displaystyle{ \sigma_3 = 4 }[/math], [math]\displaystyle{ \sigma_4 = 2 }[/math], [math]\displaystyle{ \sigma_5 = 22 }[/math], [math]\displaystyle{ \sigma_6 = 3 }[/math], [math]\displaystyle{ \sigma_7 = 251 }[/math], [math]\displaystyle{ \sigma_8 = 1 }[/math], [math]\displaystyle{ \sigma_9 = 28 }[/math], [math]\displaystyle{ \sigma_{10} = 20 }[/math].
The construction of the above sequence is similar in spirit to that of the Thue-Morse sequence, which is given by the similar-looking formula [math]\displaystyle{ x_n = (-1)^{\nu(n)} }[/math] where [math]\displaystyle{ \nu(n) = \sum_{k=0}^\infty \lfloor \frac{n}{2^k} \rfloor }[/math], and which satisfies [math]\displaystyle{ \sigma_{2^k} = 1 }[/math] for all [math]\displaystyle{ k }[/math], but [math]\displaystyle{ \sigma_3 = \infty }[/math].
Sune asked here whether [math]\displaystyle{ \sigma_{D} \lt \infty }[/math] for [math]\displaystyle{ D = \{ 2^k : k \in \mathbb{N}\} \cup \{3\} }[/math]. He and Tim then both gave examples showing this, based on the Thue-Morse sequence, which look as if they should generalize to [math]\displaystyle{ D = \{ 2^k : k \in \mathbb{N}\} \cup D_1 }[/math] for any finite set [math]\displaystyle{ D_1 }[/math].
That question was asked in the context of a harder question: whether [math]\displaystyle{ \sigma_d }[/math] could be uniformly bounded for [math]\displaystyle{ d }[/math] a power of 2 or a prime. This remains unanswered.
It seems quite easy to show that [math]\displaystyle{ \sigma_D \lt \infty }[/math] where [math]\displaystyle{ D }[/math] is the set of [math]\displaystyle{ M }[/math]-smooth numbers (for example, [math]\displaystyle{ \{2^a 3^b 5^c : a, b, c \in \mathbb{N}\} }[/math]). This has been briefly discussed on the EDP blog [link?].
Can we find a good lower bound for [math]\displaystyle{ \sigma_{\{1, 2, \ldots, n\}} }[/math]? We can probably do much better than [math]\displaystyle{ 2^n n! }[/math]. Can we achieve sub-exponential growth? It certainly looks that way from the numerical evidence: at any rate, one can (with a simple computer program) find a sequence [math]\displaystyle{ x }[/math] such that [math]\displaystyle{ \sigma_{\{1,2, \ldots, 16\}}(x) = 2 }[/math]. (The sequence found has period 720720, though there are almost certainly examples with smaller periods.) The gap between this and [math]\displaystyle{ 2^{16} 16! }[/math] is so huge that it must surely be possible to prove something here.
It is interesting to look for sequences with small periods and small [math]\displaystyle{ \sigma_D }[/math]. The period-8 sequence
++---++-
repeated indefinitely, has [math]\displaystyle{ \sigma_{\{1,2,3,4,5,6,7\}}(x) = 2 }[/math]. What is the sequence of shortest period with [math]\displaystyle{ \sigma_{\{1,2,3,4,5,6,7,8\}} = 2 }[/math]? Number-crunching shows that the minimal period must be at least 160, and at most 1680.
Define the function [math]\displaystyle{ f : \mathbb{N} \to \{\pm 1\} }[/math] by:
- [math]\displaystyle{ f(0) = 1 }[/math]
- [math]\displaystyle{ f(4n) = f(n) }[/math]
- [math]\displaystyle{ f(4n+1) = 1 }[/math]
- [math]\displaystyle{ f(4n-1) = -1 }[/math]
- [math]\displaystyle{ f(4n-2) = (-1)^n }[/math]
This is somewhat similar to the definition of the Walters sequence. To find [math]\displaystyle{ f(n) }[/math], we write [math]\displaystyle{ n }[/math] in base 4 and look at its last nonzero digit. If it is a 1 then [math]\displaystyle{ f(n) = 1 }[/math]; if it is a 3 then [math]\displaystyle{ f(n) = -1 }[/math]. If it is a 2, look at the preceding digit. If that digit is even then [math]\displaystyle{ f(n) = -1 }[/math]; if it is odd then [math]\displaystyle{ f(n) = 1 }[/math].
The sequence [math]\displaystyle{ f(n) }[/math] has slow-growing discrepancy (around [math]\displaystyle{ \log_4 n }[/math]). More interestingly, it seems to allow us to generate sequences with small [math]\displaystyle{ \sigma_D }[/math]. Let [math]\displaystyle{ f_k }[/math] be the sequence defined by repeating the first [math]\displaystyle{ 4^k }[/math] terms of [math]\displaystyle{ f }[/math] indefinitely: that is, [math]\displaystyle{ f_k(n) = f(n \mod 4^k) }[/math]. Then it seems to be the case that [math]\displaystyle{ \sigma_{\{1, 2, \ldots, 4^k-1\}}(f_k) = k+1 }[/math]. To be precise, it seems that for all [math]\displaystyle{ k \geq 0, 1 \leq d \lt 4^k }[/math]:
- [math]\displaystyle{ (\forall N \geq 0) | \sum_{0 \leq r \lt N} f(dr \mod 4^k) | \leq k+1 }[/math]
- [math]\displaystyle{ \sum_{0 \leq r \lt 4^k} f(dr \mod 4^k) = 0 }[/math]
Why is this?