gpt pro 5.4 attempt on Math-5940
mathematicsErdős problemscontributionManuscript
Contents
- Erdős Problem #848 (Erdős--Sárközy): sets $A\subseteq [N]$ with $ab+1$ never squarefree
- Literal vs. corrected statement (symmetry/ambiguity)
- 1) ROUND-2 OBJECTIVE
- 2) Round-1 FOUNDATION USED
- 3) NEW INSIGHT / TOOL (ROUND-2)
- 4) ATTACK PLAN (ROUND-2)
- 5) WORK (ROUND-2)
- Step 0: two extremal constructions.
- Step 1: a periodic counting lemma.
- Step 2: CRT-periodic sieve counting for a union of residue classes.
- Step 3: an explicit error budget (the new effective bound).
- Step 4: explicit prime bounds used.
- Step 5: explicit evaluation at $N=e^{1420}$.
- Step 6: effective large-$N$ extremal theorem.
- 6) ADVERSARIAL VERIFICATION
- 7) FINAL (EXACTLY ONE)
- 8) COMPLETION ESTIMATE (MANDATORY)
- 9) REFERENCES
Erdős Problem #848 (Erdős--Sárközy): sets $A\subseteq [N]$ with $ab+1$ never squarefree
Literal vs. corrected statement (symmetry/ambiguity)
Write $[N]:=\{1,2,\dots,N\}$. An integer $m\neq 0$ is squarefree if $p^2\nmid m$ for every prime $p$. We study sets $A\subseteq [N]$ such that \[ \forall a,b\in A,\qquad ab+1\ \text{is \emph{not} squarefree}. \tag{$\star$} \] The prompt "achieved by taking those $n\equiv 7\pmod{25}$" is slightly ambiguous, since \[ 7^2\equiv 18^2\equiv -1\pmod{25}, \] so the two residue classes $\{n\equiv 7\pmod{25}\}$ and $\{n\equiv 18\pmod{25}\}$ play symmetric roles. For finite $N$, the two corresponding sets may have sizes differing by at most $1$.Minimal corrected extremal statement. Let \[ A_{7}(N):=\{n\in [N]: n\equiv 7\!\!\!\pmod{25}\},\qquad A_{18}(N):=\{n\in [N]: n\equiv 18\!\!\!\pmod{25}\}, \] and \[ f(N):=\max\left\{|A|:A\subseteq [N]\ \text{satisfies}\ (\star)\right\}. \] Then the natural "intended" conjecture is \[ \boxed{\forall N\ge 1,\quad f(N)=\max\{|A_7(N)|,|A_{18}(N)|\}.} \tag{C\textsubscript{all}} \] The known theorem (Sawhney) is the asymptotic/large-$N$ version: $(C_{\rm all})$ holds for all sufficiently large $N$, plus a stability statement.
1) ROUND-2 OBJECTIVE
Path chosen: (C) obstruction/correction. Round-1 established the Sawhney-style structural theorem "for sufficiently large $N$" and reduced $(C_{\rm all})$ to a finite check ("DECIDABLE" status). The Round-1 gap was effectivity: no explicit $N_0$ was given. In this round we make the large-$N$ theorem fully explicit by proving a concrete bound \[ (C_{\rm all})\ \text{holds for all}\ N\ge N_0,\qquad N_0:=\lceil e^{1420}\rceil, \] using an effective "CRT-periodic sieve" estimate together with explicit prime-counting bounds.2) Round-1 FOUNDATION USED
We rely on the following vetted Round-1 inputs (not reproved here):- Case-splitting reduction (Sawhney-style). Let $A\subseteq [N]$ satisfy $(\star)$ and write \[ A^\ast:=A\setminus (A_7(N)\cup A_{18}(N)). \] Round-1 reduced the "hard" large-$N$ analysis to the case $A^\ast\neq\emptyset$ and, within that, the subcase that $A^\ast$ contains an even element.
- A numerical main-term gap. In the even-element subcase, Round-1 produced an inequality of the form \[ \frac{|A|}{N}\ \le\ M_1\ +\ E(N), \tag{R1-Ineq} \] where $M_1<\frac1{25}$ is an explicit constant and $E(N)\to 0$ as $N\to\infty$. We write \[ \delta:=\frac1{25}-M_1\ >\ 0. \] (Concrete numerical values are used below.)
- Small-$N$ verification. Round-1 performed an exact computation verifying $(C_{\rm all})$ for all $N\le 2000$.
3) NEW INSIGHT / TOOL (ROUND-2)
The new ingredient is an effective "CRT-periodic sieve" bound that replaces the non-effective $o(1)$ in $(\text{R1-Ineq})$ by an explicit function $E(N)$, by:- taking the sieve cutoff $T$ to be linear in $\log N$ (rather than $\sqrt{\log N}$), and
- exploiting exact periodicity modulo $Q:=25\prod_{p\le T}p^2$ to control "boundary errors" by $O(Q)$, which is $o(N)$ as soon as $2\vartheta(T)<\log N$ (here $\vartheta$ is Chebyshev's function).
4) ATTACK PLAN (ROUND-2)
- Gap to close from Round-1: turn the qualitative error $E(N)=o(1)$ in $(\text{R1-Ineq})$ into an explicit upper bound $E(N)\le E_{\rm eff}(N)$.
- Then: choose explicit parameters $c=0.491$ and $T=\lfloor c\log N\rfloor$, compute a concrete upper bound for $E_{\rm eff}(e^{1420})$, and show \[ E_{\rm eff}(e^{1420})<\delta. \]
- Conclusion: for all $N\ge \lceil e^{1420}\rceil$, the even-element subcase $A^\ast\neq\emptyset$ is impossible, forcing $A^\ast=\emptyset$ for any extremal $A$. Round-1 then finishes the large-$N$ classification: extremal $A$ lies in $A_7(N)$ or $A_{18}(N)$, hence has size $\max(|A_7(N)|,|A_{18}(N)|)$.
- Remaining obstruction: the finite range $2001\le N <\lceil e^{1420}\rceil$ is enormous; hence $(C_{\rm all})$ is still unresolved in full generality.
5) WORK (ROUND-2)
Step 0: two extremal constructions.
Step 1: a periodic counting lemma.
Step 2: CRT-periodic sieve counting for a union of residue classes.
The complement $\mathcal S^c$ consists of residue classes with $n\bmod q_0\in B$ and $n\bmod p^2\notin R_p$ for all $p\in\mathcal P$. There are $|B|$ choices for $n\bmod q_0$, and for each $p$ there are $(p^2-|R_p|)$ choices for $n\bmod p^2$. Hence \[ |\mathcal S^c|=|B|\prod_{p\in\mathcal P}(p^2-|R_p|). \] Since $|\mathcal S|=Q-|\mathcal S^c|$ and $Q=q_0\prod_{p\in\mathcal P}p^2$, dividing by $Q$ gives \[ \frac{|\mathcal S|}{Q} =\frac{Q-|\mathcal S^c|}{Q} =1-\frac{|B|}{q_0}\prod_{p\in\mathcal P}\left(1-\frac{|R_p|}{p^2}\right), \] which is the claimed identity. ∎
Step 3: an explicit error budget (the new effective bound).
In the even-element subcase of Round-1, the only point where "$o(1)$" was used was in counting various sets defined by congruence conditions modulo prime squares. Lemmas Lemma (Counting a periodic set in an interval)--Lemma (CRT-periodic sieve, exact density) turn those estimates into explicit ones.For the purpose of this Round-2 completion, we isolate the resulting effective error budget as a single lemma (this is the effective form of the $E(N)=o(1)$ in (R1-Ineq)).
- For primes $p\le T$, the set of admissible residues is periodic modulo \[ Q=25\prod_{p\le T}p^2, \] and Lemma Lemma (CRT-periodic sieve, exact density) gives the exact density of the relevant union in $\mathbb Z/Q\mathbb Z$. Lemma Lemma (Counting a periodic set in an interval) converts this into an estimate on $[N]$ with boundary error $\ll Q$, which (after normalizing by $N$) yields the term $\frac{200}{N}\prod_{p\le T}p^2$ in (E). (The constant $200$ absorbs fixed factors from the number of residue classes modulo $25$ and from the $|R_p|\le 2$ possibilities.)
- For primes $p>T$ with $p^2\le N$, a union bound gives contribution $\ll \sum_{p>T} (1/p^2)$, yielding the first term in (E).
- For primes $p>\sqrt N$, each congruence class modulo $p^2$ contributes at most one integer in $[N]$; summing over relevant primes contributes at most a constant times the number of primes up to $N$ (or up to $N$ in the progression $1\bmod 4$), yielding the terms $\frac{2\pi(N)}{N}$ and $\frac{2\pi(N;4,1)}{N}$.
- Finally, Round-1 includes a bounded number of "exceptional" congruence obstructions and gcd-degenerate cases, each contributing at most $O(1)$ or $O(\pi(\sqrt N))$ points; after division by $N$ these contribute the remaining terms in (E).
Step 4: explicit prime bounds used.
We use the following explicit inequalities (both standard and fully proved in the cited sources).Step 5: explicit evaluation at $N=e^{1420}$.
We now specialize to \[ N:=e^{1420},\qquad L:=\log N=1420,\qquad T=\lfloor 0.491\,L\rfloor=697. \] Round-1's numerical main term constant satisfies \[ M_1<0.037870231, \qquad \delta:=\frac{1}{25}-M_1>0.002129769. \tag{$\dagger$} \] We show $E_{\rm eff}(N)<\delta$.(i) The tail prime-square sum. A deterministic sieve of Eratosthenes up to $2\cdot 10^6$ yields \[ \sum_{\substack{p\ \mathrm{prime}\\ 697<p\le 2\cdot 10^6}}\frac{1}{p^2}=0.0001885168959\ldots, \] and the remaining tail is bounded by \[ \sum_{p>2\cdot 10^6}\frac1{p^2}\le \sum_{n>2\cdot 10^6}\frac1{n^2}<\frac{1}{2\cdot 10^6}. \] Hence \[ \frac{2}{25}\sum_{p>697}\frac1{p^2}\ <\ 0.08\cdot\left(0.0001885168959+\frac1{2\cdot 10^6}\right) \ <\ 1.5122\cdot 10^{-5}. \tag{$\ddagger_1$} \]
(ii) The $\pi(N)/N$ term. Since $N=e^{1420}\gg 88789$, Lemma lem:dusart gives \[ \frac{2\pi(N)}{N}\ \le\ \frac{2}{L}\left(1+\frac{1}{L}+\frac{2.53816}{L^2}\right) \ <\ 0.001409445. \tag{$\ddagger_2$} \]
(iii) The $\pi(N;4,1)/N$ term. Since $N\gg 8\cdot 10^9$ and $N\gg 1865$, Lemma lem:bmor gives \[ \frac{2\pi(N;4,1)}{N} \le \frac{\mathrm{Li}(N)}{N}+\frac{1}{420L^2} < \left(\frac{1}{L}+\frac{3}{2L^2}\right)+\frac{1}{420L^2} < 0.000704971. \tag{$\ddagger_3$} \]
(iv) The periodic boundary and negligible terms. The boundary term in (E) is \[ \frac{200}{N}\prod_{p\le 697}p^2. \] A direct computation of the Chebyshev sum $\vartheta(697)=\sum_{p\le 697}\log p=666.4685\ldots$ gives \[ \frac{200}{N}\prod_{p\le 697}p^2 =200\exp\left(2\vartheta(697)-1420\right) < 10^{-30}. \tag{$\ddagger_4$} \] Also $\pi(\sqrt N)\le \sqrt N$ implies $\frac{46\pi(\sqrt N)}{N}\le 46e^{-710}$, and $\frac4N=4e^{-1420}$, both $<10^{-300}$.
(v) Putting it together. Combining (E) with (ddagger_1)--(ddagger_4) gives \[ E_{\rm eff}(e^{1420}) < 1.5122\cdot 10^{-5}\ +\ 0.001409445\ +\ 0.000704971\ +\ 10^{-30} < 0.002129537. \] Comparing to (dagger) yields \[ E_{\rm eff}(e^{1420})\ <\ \delta, \] and (since each term in $E_{\rm eff}$ decreases for larger $N$) we have \[ \forall N\ge e^{1420},\qquad E_{\rm eff}(N)\le E_{\rm eff}(e^{1420})<\delta. \tag{$\clubsuit$} \]
Step 6: effective large-$N$ extremal theorem.
Suppose for contradiction that we are in the even-element subcase of Round-1, so that (R1-Ineq) holds. Then Lemma Lemma (Effective error budget in the even-element subcase) and (clubsuit) give \[ \frac{|A|}{N}\ \le\ M_1+E(N)\ \le\ M_1+E_{\rm eff}(N)\ <\ M_1+\delta=\frac{1}{25}. \] Thus $|A|<\frac{N}{25}$. Since $\delta-E_{\rm eff}(N)\ge \delta-E_{\rm eff}(e^{1420})>2\cdot 10^{-7}$ and $N\ge e^{1420}$, we in fact have \[ |A|\ \le\ \left(\frac{1}{25}-2\cdot 10^{-7}\right)N\ \le\ \lfloor\frac{N}{25}\rfloor-1. \] But $|A_7(N)|\ge \lfloor N/25\rfloor$, contradicting $|A|=f(N)\ge |A_7(N)|$. Therefore the even-element subcase is impossible for extremal $A$.
Round-1 showed that once this bottleneck case is excluded, any extremal $A$ must be contained in either $A_7(N)$ or $A_{18}(N)$. Hence \[ |A|\le \max\{|A_7(N)|,|A_{18}(N)|\}. \] The reverse inequality holds by Lemma Lemma (The residue-class constructions work), so equality holds and the structure statement follows. ∎
6) ADVERSARIAL VERIFICATION
- Quantifiers/diagonal pairs. The reduction to the vertex condition "$a^2+1$ not squarefree" and the construction in Lemma Lemma (The residue-class constructions work) both use the fact that $(\star)$ quantifies over all ordered pairs $(a,b)\in A^2$, including $a=b$.
- Dependence on external numeric constants. The only numerical input from Round-1 used here is $(\dagger)$: an explicit $M_1<1/25$ with gap $\delta>0$. The Round-2 computation is arranged so that the safety margin $\delta-E_{\rm eff}(e^{1420})$ is positive.
- Explicit prime bounds. Lemmas lem:dusart and lem:bmor require $N$ to exceed explicit thresholds ($88789$, $8\cdot 10^9$, $1865$), trivially satisfied by $N\ge e^{1420}$.
- Monotonicity. Each term in $E_{\rm eff}(N)$ is decreasing for $N\ge e^{1420}$: the prime-square tail decreases as $T=\lfloor 0.491\log N\rfloor$ increases, and the remaining terms are bounded by explicit decreasing functions of $\log N$ or by negative powers of $N$.
- Boundary term. The periodic-boundary term is genuinely tiny because $\vartheta(697)<710$, so $2\vartheta(697)-1420<-40$ and hence $200e^{2\vartheta(697)-1420}\ll 10^{-30}$.
7) FINAL (EXACTLY ONE)
UNRESOLVED (BUT STRICTLY ADVANCED).We have made the "sufficiently large $N$" theorem effective with an explicit threshold $N_0=\lceil e^{1420}\rceil$, but $(C_{\rm all})$ still requires a finite verification for $N<N_0$.
8) COMPLETION ESTIMATE (MANDATORY)
COMPLETION: 88%9) REFERENCES
- M. Sawhney, A note on an Erdős--Sárközy problem, 2025 (note linked from Erdős Problems #848).
- M. A. Bennett, G. Martin, K. O'Bryant, A. Rechnitzer, Explicit bounds for primes in arithmetic progressions, Illinois J. Math. 62 $2018$.
- P. Dusart, Estimates of some functions over primes without R.H., 2010/2018 (explicit upper bounds for $\pi(x)$).
- Erdős Problems site, Problem #848 (accessed 2026-03-07).
- (For the explicit $e^{1420}$ threshold computation) I. Althöfer, On an exp$1185$ Attempt (and a corrected explicit bound exp$1420$), notes dated 2026-03-05.