Erdős Problem #987
Status Solved · erdosproblems.comLLM status Solved from source status
Erdős problems openaigpt 6 astra ultragpt pro 5.2 100% cataloguedSolvedSolvedStatement
Let x_1,x_2,... be an infinite sequence of real numbers in $0,1$. Define e(t):=exp(2*pi*i*t). For each integer k>=1, define
S_n(k):=$\sum_{j=1}^n$ e$k x_j$, A_k := $\limsup_{n\to\infty}$ |S_n(k)| $\in$ [0,$\infty$].
Questions: $Q1$ Is it always true that $\limsup_{k\to\infty}$ A_k = $\infty$ ? $Q2$ Is it possible to have A_k = o(k) as k$\to\infty$ ?
Restatement from Math-6041-A2 r1, with the source manuscript’s qualifications.
Original problem on erdosproblems.com
Statement licence: CC-BY-4.0 · Source file
Contributions 2
GPT 6 Astra Ultra attempt on Math-6041
Erdős Problem 987: Fourier sums of an infinite sequence
Statement and scope
Write $e(t)=\exp(2\pi it)$ and \[ A_k=\limsup_{N\to\infty}\left|\sum_{j=0}^{N-1}e(kx_j)\right|. \] Must $\limsup_{k\to\infty}A_k=\infty$, and can nevertheless $A_k=o(k)$? Both answers are yes. This is a reconstruction of known arguments: the first part is Tao's finite-square argument in the problem discussion; the second is the binary scrambling construction of Alexeev, Putterman, Sawhney, Sellke and Valiant, Section 3 of Short proofs in combinatorics, probability and number theory II, arXiv:2604.06609. That paper credits an internal OpenAI model for the construction. No novelty is claimed. The concentration estimate below uses the standard Hoeffding inequality for independent bounded real random variables.Unboundedness: keeping the order of quantifiers
Suppose instead that $A_k\le C$ for every $k\ge k_0$. For each finite $K$ choose $L=L(K)$ so large that all partial sums at frequencies $k_0\le k<K$ have modulus at most $C+1$ after time $L$. For any positive integer $m$, put $y_j=x_{L+j}$, $1\le j\le m$. The corresponding block sums have modulus at most $2(C+1)$ at those frequencies, while the trivial bound at every frequency is $m$. Expanding both sides gives the exact identity \[ \sum_{a,b=1}^{K}\left|\sum_{j=1}^{m}e((a-b)y_j)\right|^2 = \sum_{i,j=1}^{m}\left|\sum_{a=1}^{K}e(a(y_i-y_j))\right|^2. \] The diagonal $i=j$ makes the right side at least $mK^2$. There are at most $(2k_0-1)K$ pairs on the left with $|a-b|<k_0$, and all other pairs contribute at most $4(C+1)^2$. Consequently \[ mK^2\le (2k_0-1)Km^2+4(C+1)^2K^2. \] First fix $m>4(C+1)^2$, then let $K\to\infty$. This is impossible. In particular, the argument concerns the required limsup in the number of terms, not merely one large finite sum.A random binary tree
Independently assign a fair bit $\eta_u$ to every finite binary word $u$, including the empty word. If $n=\sum_{i\ge0}d_i2^i$, define \[ x_n=\sum_{i\ge0}\frac{d_i\mathbin{\oplus}\eta_{d_0\cdots d_{i-1}}}{2^{i+1}}. \] For each fixed $n$ its scrambled digits are independent fair bits. Thus, almost surely, every $x_n$ belongs to $(0,1)$; the countable union of the endpoint exceptions has probability zero.For a word $w$ of length $r$, let $j_r(w)$ be the integer encoded by its first $r$ scrambled digits. The map $w\mapsto j_r(w)$ is a permutation of $\{0,\ldots,2^r-1\}$: the original digits can be recovered successively from the output. If $P$ supplies the remaining binary digits, write their scrambled fraction as $T_{w,P}$. The exponential sum over the aligned block $[P2^r,(P+1)2^r)$ is \[ B_{P,r}(k)=\sum_{|w|=r}e\left(\frac{k}{2^r}(j_r(w)+T_{w,P})\right). \] Conditional on all bits at depths below $r$, the variables $T_{w,P}$ for fixed $P$ are independent uniform random variables on $[0,1)$: their descendant trees are disjoint.
A bound uniform over every block location
Put $b=\lceil\log_2(2k)\rceil$ and \[ \sigma_{r,b}=\min(2^{r/2},2^{b-r/2}),\qquad t_{r,b}=A\sqrt{r+b}\,\sigma_{r,b}. \] We show that some choice of the bits satisfies $|B_{P,r}(k)|\le t_{r,b}$ simultaneously for all $P,r,k$.First fix $r,b$ and choose \[ h=\max\left(0,\left\lceil\log_2\frac{8\pi\,2^b}{t_{r,b}}\right\rceil\right). \] If $Q=P\bmod 2^h$, then $|T_{w,P}-T_{w,Q}|\le2^{-h}$. The Lipschitz bound for $e(t)$ therefore gives \[ |B_{P,r}(k)-B_{Q,r}(k)|\le2\pi k\,2^{-h}\le t_{r,b}/2. \] It suffices to control $2^h\le1+16\pi2^b/t_{r,b}$ locations, rather than infinitely many.
For one such $Q$, set $R=2^r$, $\theta=2\pi k/R$, and $a=\mathbb E e^{i\theta U}$ for uniform $U$. Conditional on the short-prefix bits, \[ B_{Q,r}(k)=\sum_{|w|=r} Z_w,\qquad Z_w=e(kj_r(w)/R)(e^{i\theta T_{w,Q}}-a). \] Indeed the subtracted means add to zero: the geometric sum over $j_r(w)$ vanishes unless $R\mid k$, and in that remaining case $a=0$. The variables $Z_w$ are centered and independent, with \[ |Z_w|\le C\min(1,2^{b-r}),\qquad \sum_{|w|=r}|Z_w|_{\mathrm{bound}}^2\le C\sigma_{r,b}^2. \] Applying Hoeffding separately to real and imaginary parts and then removing the conditioning yields \[ \mathbb P\{|B_{Q,r}(k)|>t_{r,b}/2\} \le4\exp(-cA^2(r+b)). \] There are at most $2^b$ frequencies on this scale. For $A\ge1$, the logarithm of $2^b(1+16\pi2^b/t_{r,b})$ is at most $C'(r+b)$: use $\log_2(1/\sigma_{r,b})\le r/2$. Hence the probability that any location or frequency fails on this scale is at most $C''\exp(-(cA^2-C')(r+b))$. Summing over $r\ge0,b\ge1$ gives less than one when $A$ is sufficiently large. A realization satisfying every bound, and the endpoint condition above, therefore exists.
All partial sums
The interval $[0,N)$ is a disjoint union of aligned dyadic blocks, with at most one block of each length. Thus for our fixed realization \[ \left|\sum_{n<N}e(kx_n)\right| \le A\sum_{r\ge0}\sqrt{r+b}\min(2^{r/2},2^{b-r/2}) \ll\sqrt b\,2^{b/2}\ll\sqrt{k\log(2k)}. \] To check the middle estimate, split at $r=b$: on either side the powers decay geometrically away from $b$, and $\sqrt{2b+j}\le\sqrt{2b}\sqrt{1+j}$ controls the upper tail. The bound is independent of $N$. Therefore $A_k\ll\sqrt{k\log(2k)}=o(k)$.Conclusion and verification scope
Both questions are proved, using only elementary identities and the stated concentration inequality. This does not claim the best universal lower-growth exponent. Sources: https://www.erdosproblems.com/987, https://www.erdosproblems.com/forum/discuss/987, and https://arxiv.org/abs/2604.06609. No local Lean verification is claimed.COMPLETION ESTIMATE
COMPLETION: 100%gpt pro 5.2 attempt on Math-6041
1) FORMAL RESTATEMENT
Let x_1,x_2,... be an infinite sequence of real numbers in $0,1$. Define e(t):=exp(2*pi*i*t). For each integer k>=1, define
S_n(k):=$\sum_{j=1}^n$ e$k x_j$, A_k := $\limsup_{n\to\infty}$ |S_n(k)| $\in$ [0,$\infty$].
Questions: $Q1$ Is it always true that $\limsup_{k\to\infty}$ A_k = $\infty$ ? $Q2$ Is it possible to have A_k = o(k) as k$\to\infty$ ?
2) QUICK LITERATURE/CONTEXT CHECK
The problem file itself notes two pieces of context: - For any sequence $x_j$, it is "easy" that $\limsup_{k->\infty}$ $\sup_n$ |S_n(k)| = $\infty$ (this allows n to depend on k, but does NOT directly control A_k). - There exist constructions with A_k <= k for all k, and there are general lower bounds A_k $\gg$ k^{1/2} infinitely often (attributed in the file to Clunie and also to Tao). No complete answer to $Q1$ or $Q2$ is stated in the problem file.
3) ATTACK PLAN
Two obvious extremes illustrate the difficulty: - If x_j is very structured (e.g. takes finitely many values), then for suitable k the phases e$k x_j$ lie in a small arc and the partial sums can grow linearly, forcing A_k=$\infty$. - If x_j is "Kronecker" (e.g. x_j = {j alpha}), then each S_n(k) is a geometric series and A_k is finite for each fixed k, but still typically large for infinitely many k.
To resolve $Q1$ one must show that for every sequence there exist arbitrarily large k for which S_n(k) is large for infinitely many n (not just for a single n). To resolve $Q2$ one would need an explicit construction with strong cancellation simultaneously for all k.
4) WORK
FAST REALITY CHECK (examples and computations)
Example A (finite-value sequence): x_j $\equiv$ 1/2. Then e$k x_j$ = e$k/2$ = $-1$^k. Hence S_n(k) = n for even k and S_n(k)=$-1$^k * n for odd k; in either case |S_n(k)|=n. Thus A_k=$\infty$ for every k (so $\limsup_k$ A_k=$\infty$ trivially).
Example B (Kronecker sequence): x_j = {j alpha} with alpha=$\sqrt{2}$-1. For this sequence (proved below) A_k = 1/|sin(pi k alpha)|. Numerically $k<=500$ this produces large A_k of size comparable to k:
top 10 A_k for k<=500: k=408 A_k=367.329787 A_k/k=0.900318 k=169 A_k=152.153887 A_k/k=0.900319 k=239 A_k=107.589820 A_k/k=0.450167 k=338 A_k= 76.078587 A_k/k=0.225085 k= 70 A_k= 63.026394 A_k/k=0.900377 k=478 A_k= 53.797234 A_k/k=0.112547 k= 99 A_k= 44.568261 A_k/k=0.450184 k=309 A_k= 39.747093 A_k/k=0.128631 k=268 A_k= 34.473669 A_k/k=0.128633 k=140 A_k= 31.517165 A_k/k=0.225123
These are sanity checks only; they do not address the general $Q1$/$Q2$.
Lemma 987.1 (finite value set forces some A_k=$\infty$). Assume the set {x_j : j>=1} is finite, say {x_j} $\subset$ {r_1,...,r_m} with m<$\infty$. Then there exists an integer k>=1 such that A_k=$\infty$.
Proof. Fix m distinct reals r_1,...,r_m in $0,1$. By Dirichlet's simultaneous approximation theorem: for any integer Q>=1 there exists an integer k with 1<=k<=Q^m such that for each i=1,...,m,
||k r_i|| := dist$k r_i, Z$ <= 1/Q.
Choose Q so large that cos(2*pi/Q) >= 1/2 $e.g. Q>=6$. Then for each i, the complex number e$k r_i$ lies within angle 2*pi/Q of 1, so Re$e(k r_i)$ >= cos(2*pi/Q) >= 1/2.
Now for this k, every term e$k x_j$ has real part >= 1/2 (because x_j is one of the r_i). Therefore for every n,
Re$S_n(k)$ = $\sum_{j=1}^n$ Re$e(k x_j)$ >= n/2.
Hence |S_n(k)| >= Re$S_n(k)$ >= n/2 for all n, so $\limsup_{n->\infty}$|S_n(k)|=$\infty$. That is, A_k=$\infty$. $\square$
Lemma 987.2 (explicit A_k for a Kronecker sequence). Fix a real alpha and define x_j := {j alpha} (fractional part). Then for each integer k>=1,
S_n(k) = $\sum_{j=1}^n$ e(k j alpha) = e(k alpha) * (1 - e(k n alpha)) / (1 - e(k alpha))
whenever e(k alpha)$\ne$ 1. Moreover, if k alpha $\notin$ Z then
A_k = $\limsup_{n->\infty}$ |S_n(k)| = $\frac{2}{|1 - e(k alpha)|}$ = $\frac{1}{|sin(pi k alpha)|}$. If k alpha $\in$ Z then e(k alpha)=1 and S_n(k)=n so A_k=$\infty$.
Proof. Because e(t) is 1-periodic, e$k x_j$=e(k j alpha). When e(k alpha)$\ne$ 1, S_n(k) is a finite geometric series with ratio e(k alpha), so
S_n(k) = e(k alpha) + e(2k alpha)+...+e(n k alpha) = e(k alpha) * (1 - e(n k alpha)) / (1 - e(k alpha)).
For the limsup: as n varies, the points e(n k alpha) run through a subgroup of the unit circle. - If k alpha $\in$ Z then e(k alpha)=1, and the formula degenerates to S_n(k)=n. - If k alpha $\notin$ Z, then e(k alpha) is a unit complex number not equal to 1. The factor (1 - e(n k alpha)) has modulus in [0,2]. If alpha is irrational then nk alpha mod 1 is dense, so |1 - e(n k alpha)| gets arbitrarily close to 2, giving limsup equal to 2. If alpha is rational, then nk alpha mod 1 is periodic, so the limsup is still the maximum over that finite orbit; in any case it is <=2 and equals 2 unless e(k alpha) is a root of unity of odd order that avoids -1. In all cases we have
A_k = ($\limsup_{n->\infty}$ |1 - e(n k alpha)|) / |1 - e(k alpha)|,
and when k alpha $\notin$ Z and the orbit hits values arbitrarily close to -1, this limsup equals 2/|1-e(k alpha)|. Finally, the identity |1-e(t)| = 2|sin(pi t)| gives A_k = 1/|sin(pi k alpha)|. $\square$
Corollary 987.3 (for x_j={j alpha}, A_k is unbounded and not o(k)). Assume alpha is irrational and x_j={j alpha}. Then: (a) $\limsup_{k->\infty}$ A_k = $\infty$. (b) A_k is not o(k); in fact there exist infinitely many k with A_k >= k/pi.
Proof. (a) Density of {k alpha} in [0,1] implies sin(pi k alpha) gets arbitrarily close to 0, so A_k = 1/|sin(pi k alpha)| is unbounded. (b) By the one-dimensional Dirichlet approximation theorem, for infinitely many k there exists an integer m with |k alpha - m| <= 1/k. For such k, |sin(pi k alpha)| <= pi |k alpha - m| <= pi/k, so A_k >= k/pi. Thus A_k/k does not tend to 0. $\square$
Remark (badly approximable alpha gives A_k=O(k) in the Kronecker example). If alpha is badly approximable, i.e. there exists c>0 such that ||k alpha||>=c/k for all k, then A_k = 1/|sin(pi k alpha)| $\ll$ k. This shows that the growth A_k $\le$ k for all k is plausible in some structured examples, but still does not achieve A_k=o(k).
5) VERIFICATION
- Lemma 987.1: the proof uses only Dirichlet simultaneous approximation and the inequality Re$e^{i\theta}$>=cos$|\theta|$. - Lemma 987.2: checked by geometric-series summation. - The Dirichlet estimate used in Corollary 987.3 is elementary and shows A_k grows at least linearly along infinitely many k for the Kronecker example.
6) FINAL
UNRESOLVED
(i) Strongest proved partial result here: - If the sequence {x_j} takes only finitely many values, then A_k=$\infty$ for some k. - For the explicit family x_j={j alpha}, one has A_k = 1/|sin(pi k alpha)|, so $\limsup_k$ A_k=$\infty$ and A_k is not o(k). - Computations for alpha=$\sqrt{2}$-1 show A_k can be comparable to k already for k<=500.
(ii) First gap (crisp statement): Prove or disprove that for every infinite sequence x_j$\in$$0,1$ there exist arbitrarily large k such that |$\sum_{j\le n}$ e$k x_j$| is unbounded in n (equivalently A_k=$\infty$) or at least that A_k becomes arbitrarily large.
(iii) Top 3 next moves (concrete): 1. Try to prove a universal lower bound A_k $\gg$ (log k) or $\gg$ k^c for infinitely many k by combining discrepancy estimates for $x_j$ with exponential-sum lower bounds. 2. Attempt an explicit construction aimed at $Q2$: build x_j in blocks so that for each k up to a growing cutoff, the block has near-zero Fourier coefficient at frequency k. 3. Search computationally for block constructions (finite sequences) minimizing max_{1<=k<=K} max_{n<=N} |$\sum_{j\le n}$ e$k x_j$| and look for a scalable pattern.
(iv) Minimal counterexample structure: - To disprove $Q1$ one would need a sequence with A_k bounded uniformly in k, or at least with $\limsup_k$ A_k < $\infty$. - To answer $Q2$ positively one would need a sequence with A_k finite for all k and with A_k/k -> 0, i.e. cancellation simultaneously across all frequencies.