gpt pro 5.4 attempt on Math-644, version 4
mathematicsErdős problemscontributionManuscript
Contents
- Problem 15: Erdős' alternating prime series $\sum_{n\ge 1} (-1)^n\,\frac{n}{p_n}$ (Round 5)
- 1) ROUND-5 OBJECTIVE
- 2) Round-4 FOUNDATION USED
- 3) NEW INSIGHT / TOOL (ROUND 5)
- 4) ATTACK PLAN (ROUND 5)
- 5) WORK (ROUND 5)
- 5.1 Definitions
- 5.2 Blockwise estimate
- Lemma 5.1 (dyadic block bound).
- 5.3 Local dyadic sufficiency
- Theorem 5.2 (local dyadic criterion for convergence).
- 5.4 Sharpness: blockwise counterexamples
- Theorem 5.3 (sharp local counterexample).
- 5.5 Exact local-threshold theorem
- Corollary 5.4 (exact threshold for local dyadic criteria).
- 5.6 Relation to Round 4
- 5.7 Consequence for Erdős problem 15
- Corollary 5.5 (local dyadic sufficient condition for the Erdős series).
- 6) ADVERSARIAL VERIFICATION
- 7) FINAL (EXACTLY ONE)
- 8) COMPLETION ESTIMATE (MANDATORY)
- 9) REFERENCES
- References
- 10) OUTPUT FORMAT
Problem 15: Erdős' alternating prime series $\sum_{n\ge 1} (-1)^n\,\frac{n}{p_n}$ (Round 5)
1) ROUND-5 OBJECTIVE
Path (C): obstruction/correction, sharpened from global discrepancy to local dyadic discrepancy.
Round 4 gave an exact threshold theorem for global discrepancy bounds of the form \[ A_\varepsilon(x):=\sum_{3\le m\le x}\varepsilon(m)=O(F(x)), \qquad \varepsilon(m)\in\{\pm 1\}. \] However, that still measures cancellation only from the origin. The prime-parity sequence $ (-1)^{\pi(m)} $ could in principle have large global drift that cancels across scales, so the next genuine gap is to identify the right local scale on which the weight $1/(m\log m)$ sees oscillation.
In this round I prove an exact sharp theorem at the dyadic-block scale. For a sign sequence $\varepsilon$, define the local dyadic discrepancy \[ D_k(\varepsilon):=\max_{2^k\le t<2^{k+1}}\left|\sum_{2^k\le n\le t}\varepsilon(n)\right|. \] I will show:
- if $\sum_k D_k(\varepsilon)/(2^k k)<\infty$, then $\sum \varepsilon(n)/(n\log n)$ converges;
- conversely, this threshold is sharp: for any dyadic gauge $(b_k)$ with $b_k=o(2^k)$ and $\sum b_k/(2^k k)=\infty$, there exists an equidistributed sign sequence with $D_k\le b_k+1$ for all large $k$, yet $\sum \varepsilon(n)/(n\log n)$ diverges (indeed to $+\infty$).
This is strictly stronger than Round 4, because local dyadic control is weaker than any global-from-the-origin discrepancy bound.
2) Round-4 FOUNDATION USED
I rely on the following vetted Round 4 results without re-proving them.
- Round 4 / Round 2 Said--Tao equivalence: \[ \sum_{n\ge 1}(-1)^n\frac{n}{p_n}\text{ converges} \iff \sum_{m\ge 2}\frac{(-1)^{\pi(m)}}{m\log m}\text{ converges}. \]
- Round 4 exact global-threshold theorem: for an eventually nondecreasing $F=o(x)$, the implication \[ A_\varepsilon(x)=O(F(x)) \Longrightarrow \sum_{n\ge 3}\frac{\varepsilon(n)}{n\log n}\text{ converges} \] holds for all sign sequences if and only if \[ \sum_{n\ge 3}\frac{F(n)}{n^2\log n}<\infty. \]
The present round strengthens this by replacing global discrepancy with local dyadic discrepancy.
3) NEW INSIGHT / TOOL (ROUND 5)
New tool: blockwise Abel summation at the natural scale of the weight $1/(n\log n)$.
On a dyadic block $[2^k,2^{k+1})$, the weight $1/(n\log n)$ changes by only a constant factor, so the contribution of that block is controlled by the local partial sums on that same block. This yields a sharp sufficient condition in terms of $D_k$, and an explicit blockwise construction shows the condition is also sharp.
This is a genuine advance beyond Round 4 because:
- the new sufficient condition requires no monotonicity hypothesis and no cumulative control from the origin;
- the new counterexample shows that even strong local bounds of size $b_k$ cannot force convergence when $\sum b_k/(2^k k)$ diverges.
4) ATTACK PLAN (ROUND 5)
The exact gap left after Round 4 is that its criterion still used the cumulative discrepancy $A(x)$, whereas the weighted series is naturally sensitive to cancellations on the scale $n\asymp 2^k$.
I will prove three claims.
- A block lemma: the contribution of the dyadic block $[2^k,2^{k+1})$ is bounded by $D_k/(2^k k)$.
- A sharp local sufficiency theorem: $\sum_k D_k/(2^k k)<\infty$ implies convergence of $\sum \varepsilon(n)/(n\log n)$.
- A sharp local counterexample theorem: if $(b_k)$ is any positive sequence with $b_k=o(2^k)$ and $\sum b_k/(2^k k)=\infty$, then there exists an equidistributed sign sequence with $D_k\le b_k+1$ for all large $k$ and divergent weighted series.
This overcomes the previous obstacle by isolating the real obstruction at the correct dyadic scale.
5) WORK (ROUND 5)
5.1 Definitions
Throughout this round let $\varepsilon(n)\in\{\pm 1\}$ for $n\ge 3$, and write \[ w_n:=\frac{1}{n\log n} \qquad (n\ge 3). \] For each integer $k\ge 2$, define the dyadic block \[ I_k := \{2^k,2^k+1,\dots,2^{k+1}-1\}, \] and the local block partial sums \[ B_k(t):=\sum_{2^k\le n\le t}\varepsilon(n) \qquad (2^k\le t<2^{k+1}). \] Define the local dyadic discrepancy \[ D_k:=D_k(\varepsilon):=\max_{2^k\le t<2^{k+1}} |B_k(t)|. \]
5.2 Blockwise estimate
Lemma 5.1 (dyadic block bound).
For every sign sequence $\varepsilon$ and every $k\ge 2$, \[ \left|\sum_{n\in I_k}\frac{\varepsilon(n)}{n\log n}\right| \le \frac{D_k}{2^k k\log 2}. \] In particular, \[ \left|\sum_{n\in I_k}\frac{\varepsilon(n)}{n\log n}\right| \ll \frac{D_k}{2^k k}. \]Proof. Let $a=2^k$ and $b=2^{k+1}-1$. Abel summation on the block gives \[ \sum_{n=a}^{b}\varepsilon(n)w_n = B_k(b)w_b + \sum_{n=a}^{b-1} B_k(n)(w_n-w_{n+1}). \] Since $w_n$ is decreasing and $|B_k(n)|\le D_k$, we obtain \[ \left|\sum_{n=a}^{b}\varepsilon(n)w_n\right| \le D_k\left(w_b+\sum_{n=a}^{b-1}(w_n-w_{n+1})\right) = D_k w_a. \] But $w_a=1/(2^k\log 2^k)=1/(2^k k\log 2)$. This proves the claim. $\square$
5.3 Local dyadic sufficiency
Theorem 5.2 (local dyadic criterion for convergence).
If a sign sequence $\varepsilon$ satisfies \[ \sum_{k=2}^{\infty}\frac{D_k(\varepsilon)}{2^k k}<\infty, \] then the weighted series \[ \sum_{n=3}^{\infty}\frac{\varepsilon(n)}{n\log n} \] converges.Proof. Decompose the series into dyadic blocks: \[ \sum_{n=3}^{\infty}\frac{\varepsilon(n)}{n\log n} = \sum_{k=2}^{\infty}\sum_{n\in I_k}\frac{\varepsilon(n)}{n\log n}. \] By Lemma 5.1, \[ \sum_{k=2}^{\infty}\left|\sum_{n\in I_k}\frac{\varepsilon(n)}{n\log n}\right| \le \frac{1}{\log 2}\sum_{k=2}^{\infty}\frac{D_k}{2^k k}<\infty. \] Hence the block series converges absolutely, and therefore the original series converges. $\square$
5.4 Sharpness: blockwise counterexamples
The previous theorem is sharp in a very strong sense.
Theorem 5.3 (sharp local counterexample).
Let $(b_k)_{k\ge 2}$ be a sequence of positive real numbers such that \[ b_k=o(2^k) \qquad\text{and}\qquad \sum_{k=2}^{\infty}\frac{b_k}{2^k k}=\infty. \] Then there exists an equidistributed sign sequence $\varepsilon(n)\in\{\pm 1\}$ such that, for all sufficiently large $k$, \[ D_k(\varepsilon)\le b_k+1, \] and yet \[ \sum_{n=3}^{\infty}\frac{\varepsilon(n)}{n\log n} \] diverges. In fact the partial sums tend to $+\infty$.Proof. Start from the alternating baseline sequence \[ \eta(n):=(-1)^n. \] The series \[ \sum_{n=3}^{\infty}\frac{\eta(n)}{n\log n} =\sum_{n=3}^{\infty}\frac{(-1)^n}{n\log n} \] converges by the alternating series test, since $1/(n\log n)$ decreases to $0$.
For each $k\ge 2$, set \[ m_k:=\left\lfloor \frac{b_k}{4}\right\rfloor. \] Because $b_k=o(2^k)$, we have $m_k=o(2^k)$; in particular, for all sufficiently large $k$, \[ m_k\le 2^{k-2}. \tag{5.1} \] Thus for large $k$, there are enough odd numbers in the block $I_k$ to choose the first $m_k$ odd integers: \[ Y_k:=\{2^k+1,2^k+3,\dots,2^k+2m_k-1\}\subset I_k. \] Let \[ Y:=\bigcup_{k\ge k_0} Y_k \] for some large fixed $k_0$ so that $5.1$ holds for every $k\ge k_0$. Now define \[ \varepsilon(n):= \begin{cases} +1, & n\in Y,\\ (-1)^n, & n\notin Y. \end{cases} \] Thus we have flipped the sign from $-1$ to $+1$ at selected odd positions and changed nothing else.
Step 1: control of the local dyadic discrepancy. Fix $k\ge k_0$. Inside the block $I_k$, the first $2m_k$ terms are all $+1$: the even terms were already $+1$, and the first $m_k$ odd terms have been flipped to $+1$. Therefore the block partial sum increases as \[ 1,2,3,\dots,2m_k \] during those first $2m_k$ positions. After that, the remaining terms are the unmodified alternating pattern $+1,-1,+1,-1,\dots$, so the block partial sums thereafter oscillate between $2m_k$ and $2m_k+1$. Hence \[ D_k(\varepsilon)=2m_k+1. \] Since $m_k=\lfloor b_k/4\rfloor$, \[ D_k(\varepsilon)=2\left\lfloor \frac{b_k}{4}\right\rfloor+1 \le \frac{b_k}{2}+1 \le b_k+1. \tag{5.2} \] This proves the local discrepancy bound.
Step 2: divergence of the weighted series. Write \[ \sum_{n=3}^{\infty}\frac{\varepsilon(n)}{n\log n} = \sum_{n=3}^{\infty}\frac{(-1)^n}{n\log n} + \sum_{n\in Y}\frac{\varepsilon(n)-(-1)^n}{n\log n}. \tag{5.3} \] The first series converges. For every $n\in Y$, the index $n$ is odd, so $(-1)^n=-1$ while $\varepsilon(n)=+1$; hence \[ \varepsilon(n)-(-1)^n = 2. \] Therefore the second term in $5.3$ equals \[ 2\sum_{n\in Y}\frac{1}{n\log n} =2\sum_{k\ge k_0}\sum_{n\in Y_k}\frac{1}{n\log n}. \tag{5.4} \] For each $n\in Y_k\subset I_k$, one has $n<2^{k+1}$ and $\log n\le (k+1)\log 2$, hence \[ \frac{1}{n\log n} \ge \frac{1}{2^{k+1}(k+1)\log 2}. \] Since $Y_k$ has cardinality $m_k$, \[ \sum_{n\in Y_k}\frac{1}{n\log n} \ge \frac{m_k}{2^{k+1}(k+1)\log 2}. \] Thus \[ \sum_{n\in Y}\frac{1}{n\log n} \ge c\sum_{k\ge k_0}\frac{m_k}{2^k k} \tag{5.5} \] for some absolute constant $c>0$. Also, \[ m_k=\left\lfloor \frac{b_k}{4}\right\rfloor \ge \frac{b_k}{4}-1. \] Since $\sum 1/(2^k k)<\infty$, the hypothesis $\sum b_k/(2^k k)=\infty$ implies \[ \sum_{k\ge 2}\frac{m_k}{2^k k}=\infty. \tag{5.6} \] Combining $5.4$, $5.5$, and $5.6$, we obtain \[ \sum_{n\in Y}\frac{1}{n\log n}=\infty. \] Hence the second term in $5.3$ diverges to $+\infty$. Since the baseline series in $5.3$ converges, the whole series \[ \sum_{n=3}^{\infty}\frac{\varepsilon(n)}{n\log n} \] diverges to $+\infty$.
Step 3: equidistribution. The sequence $\varepsilon$ differs from the alternating baseline only on the set $Y$. Up to the end of block $I_K$, the number of modified positions is \[ \sum_{k=k_0}^{K} m_k. \] Because $m_k=o(2^k)$, this total is $o(2^K)$: indeed, for any $\delta>0$, for all large $k$ one has $m_k\le \delta 2^k$, so \[ \sum_{k=k_1}^{K} m_k \le \delta\sum_{k=k_1}^{K}2^k < 2\delta\,2^K. \] Thus $Y$ has asymptotic density $0$. To verify equidistribution explicitly, let \[ M(N):=\#(Y\cap[1,N]). \] Then $M(N)=o(N)$. The number of indices $n\le N$ for which $\varepsilon(n)=+1$ differs from the corresponding count for the baseline sequence $\eta(n)=(-1)^n$ by at most $M(N)$, and likewise for the count of $-1$'s. Since the baseline alternating sequence has \[ \#\{n\le N:\eta(n)=+1\}=\frac{N}{2}+O(1), \qquad \#\{n\le N:\eta(n)=-1\}=\frac{N}{2}+O(1), \] it follows that \[ \#\{n\le N:\varepsilon(n)=\pm 1\}=\frac{N}{2}+o(N). \] Hence $+1$ and $-1$ each occur with asymptotic density $1/2$ in $\varepsilon$.
This completes the proof. $\square$
5.5 Exact local-threshold theorem
Corollary 5.4 (exact threshold for local dyadic criteria).
Let $(b_k)_{k\ge 2}$ be a sequence of positive reals with $b_k=o(2^k)$.- If a sign sequence $\varepsilon$ satisfies $D_k(\varepsilon)\le b_k$ for all sufficiently large $k$, and \[ \sum_{k=2}^{\infty}\frac{b_k}{2^k k}<\infty, \] then \[ \sum_{n=3}^{\infty}\frac{\varepsilon(n)}{n\log n} \] converges.
- If \[ \sum_{k=2}^{\infty}\frac{b_k}{2^k k}=\infty, \] then there exists an equidistributed sign sequence $\varepsilon$ such that $D_k(\varepsilon)\le b_k+1$ for all sufficiently large $k$, but \[ \sum_{n=3}^{\infty}\frac{\varepsilon(n)}{n\log n} \] diverges to $+\infty$.
Proof. Part $1$ is immediate from Theorem 5.2. Part $2$ is exactly Theorem 5.3. $\square$
5.6 Relation to Round 4
The new theorem is strictly stronger than the Round 4 global-threshold theorem. Indeed, if \[ A_\varepsilon(x):=\sum_{3\le n\le x}\varepsilon(n) \] satisfies $|A_\varepsilon(x)|\le C F(x)$ for an eventually nondecreasing $F$, then for any $2^k\le t<2^{k+1}$, \[ |B_k(t)| =\left|A_\varepsilon(t)-A_\varepsilon(2^k-1)\right| \le |A_\varepsilon(t)|+|A_\varepsilon(2^k-1)| \ll F(2^{k+1}), \] so \[ D_k(\varepsilon)\ll F(2^{k+1}). \] Therefore Theorem 5.2 implies convergence whenever \[ \sum_{k=2}^{\infty}\frac{F(2^k)}{2^k k}<\infty, \] which is exactly the dyadic form of Round 4's threshold $\sum F(n)/(n^2\log n)<\infty$.
So Round 5 properly refines Round 4: it replaces a cumulative-from-the-origin bound by a purely local dyadic one.
5.7 Consequence for Erdős problem 15
Now return to the fixed prime-parity sequence \[ \varepsilon_\pi(m):=(-1)^{\pi(m)}. \] Define its local dyadic discrepancy by \[ D_k^{\pi}:=\max_{2^k\le t<2^{k+1}}\left|\sum_{2^k\le m\le t}(-1)^{\pi(m)}\right|. \] By Theorem 5.2, \[ \sum_{k=2}^{\infty}\frac{D_k^{\pi}}{2^k k}<\infty \quad\Longrightarrow\quad \sum_{m=3}^{\infty}\frac{(-1)^{\pi(m)}}{m\log m}\text{ converges}. \] Using the Round 4 Said--Tao equivalence, we obtain the sharpened corrected statement:
Corollary 5.5 (local dyadic sufficient condition for the Erdős series).
If \[ \sum_{k=2}^{\infty}\frac{D_k^{\pi}}{2^k k}<\infty, \] then the Erdős series \[ \sum_{n=1}^{\infty}(-1)^n\frac{n}{p_n} \] converges.Moreover, Corollary 5.4 shows that this threshold is sharp for general equidistributed sign sequences: any prospective proof strategy based only on a dyadic bound \[ D_k^{\pi}\le b_k \] with $\sum b_k/(2^k k)=\infty$ cannot be valid in general.
6) ADVERSARIAL VERIFICATION
- Boundary of dyadic blocks. The blocks begin at $2^k$, which is even for every $k\ge 1$. This matters in Theorem 5.3 because the unmodified baseline on each block begins with $+1$, and after flipping the first $m_k$ odd terms, the first $2m_k$ terms are indeed all $+1$. The resulting exact value $D_k=2m_k+1$ is correct.
- Enough odd numbers. The block $I_k$ contains exactly $2^{k-1}$ odd integers. Since $m_k=o(2^k)$, eventually $m_k\le 2^{k-2}$, so the construction of $Y_k$ is always feasible after discarding finitely many initial $k$.
- Equidistribution check. The modified set has size $\sum_{k\le K}m_k=o(2^K)$, hence zero density. A zero-density perturbation of the alternating sequence preserves the limiting densities of $+1$ and $-1$; no hidden assumption is used.
- Sharpness really improves Round 4. Round 4 required a monotone global gauge $F$. Round 5 allows an arbitrary local dyadic gauge $(b_k)$ with no monotonicity at all. This is strictly stronger.
- Interaction with the prime problem. Corollary 5.5 is only a sufficient condition for the actual prime-parity sequence. The counterexample in Theorem 5.3 concerns abstract equidistributed sign sequences and is used only to rule out entire classes of proof strategies, not to make a claim about $(-1)^{\pi(m)}$ itself.
7) FINAL (EXACTLY ONE)
UNRESOLVED (BUT STRICTLY ADVANCED).
Round 5 strictly strengthens Round 4 by identifying the correct local dyadic obstruction for weighted sums of the form $\sum \varepsilon(n)/(n\log n)$:
- the series converges whenever the dyadic local discrepancies satisfy \[ \sum_k \frac{D_k}{2^k k}<\infty; \]
- this threshold is sharp, even among equidistributed sign sequences.
8) COMPLETION ESTIMATE (MANDATORY)
COMPLETION: 86%
9) REFERENCES
References
- [EP15] Erdős Problems website, Problem 15: Is it true that $\sum_{n=1}^{\infty} (-1)^n n/p_n$ converges?
https://www.erdosproblems.com/latex/15. - [Tao2024] T. Tao, The convergence of an alternating series of Erdős, assuming the Hardy--Littlewood prime tuples conjecture, Communications of the American Mathematical Society 4 $2024$, 80--96.
- [TaoArxiv] T. Tao, The convergence of an alternating series of Erdős, assuming the Hardy--Littlewood prime tuples conjecture, arXiv:2308.07205.
10) OUTPUT FORMAT
The Erdős problem number is 15. This file is exported as 15_solutions.tex, beginning directly with \section and containing no preamble.