Erdős problem #635 — wave w003
Access date: 2026-07-28 (UTC). This report does not claim to solve the remaining extremal problem.
Claim labels
- [a] elementary-rigorous: proved here from elementary facts.
- [b] rigorous-modulo-named-theorem: rigorous after invoking the named
theorem or published result.
- [c] plausible/structural-unverified: a conjecture, proposed reduction,
or literature-search miss; not a theorem.
- [d] computational-only: established only in the stated finite range by
the supplied exact computation.
Step 0: authoritative live-page check
I fetched the live page, its LaTeX view, and the discussion thread through the Bright Data browser path. Direct datacenter curl was not used for this check.
Verbatim current statement (copied from the live LaTeX view):
Let $t\geq 1$ and $A\subseteq \{1,\ldots,N\}$ be such that whenever $a,b\in A$ with $b-a\geq t$ we have $b-a\nmid b$. How large can $\lvert A\rvert$ be? Is it true that\[\lvert A\rvert \leq \left(\frac{1}{2}+o_t(1)\right)N?\]
Live eligibility/status markers:
- overall status:
OPEN; 0 claimed proofs for this problem;Interested in collaborating:None;Currently working on this problem:None;- the page was last edited 01 February 2026;
- there are six comments.
Thus the mandatory stop condition did not trigger. The page does say that the second, asymptotic yes/no question has been resolved affirmatively. However, its overall status is still OPEN, its claimed-proof count is zero, and Tao's fifth comment explicitly says that only the second part should be marked solved; the sharper “How large?” question remains.
Known-results text on the live page:
- Erdős asked the problem in a letter to Ruzsa around 1980.
- For \(t=1\), the exact maximum is
\[ \left\lfloor\frac{N+1}{2}\right\rfloor, \] attained by the odd numbers.
- For \(t=2\), the odd numbers together with \(2^k\) for odd \(k\) give
\[ |A|\ge \frac N2+c\log N. \]
- The second question was resolved affirmatively by GPT-5.2 Pro prompted by
Liam Price; Tao observed that it also follows quickly from an inequality of Elliott.
The six comments, in oldest-first order, say:
- Liam Price links a human-readable proof and a Lean formalization of the
asymptotic statement.
- Stijn Cambie notes two simplifications to the lower construction and
proof, including that the \(t=2\) construction automatically works for every \(t\ge2\).
- Nat Sothanaphan says that he and ChatGPT judged the Lean file correct,
while expressly noting that the informal/Lean correspondence was not thoroughly checked.
- Terence Tao identifies Elliott's inequality, and points to modern work on
connectivity/expansion in related divisibility graphs; he also cautions that an older literature solution may exist.
- Tao then says only the second part is solved. He estimates that the
Elliott-type method gives a slowly decaying density error (he writes “something like \(O(1/\log\log N)\)”), whereas Erdős probably sought accuracy around \(O(\log N)\).
- Tao records placing the result in Section 1(b) and stresses that the
AI-generated proof should have identified its likely literature source.
The site itself warns that comments are not verified. I therefore use them as status/context, not as proof.
Literature audit
[b] The three bibliography entries exist with the advertised metadata.
- R. K. Guy, A Miscellany of Erdős Problems, American Mathematical
Monthly 90 (1983), 118–120, DOI 10.1080/00029890.1983.11971168.
- I. Z. Ruzsa, Erdős and the Integers, Journal of Number Theory 79(1)
(1999), 115–163, DOI 10.1006/jnth.1999.2395.
- P. D. T. A. Elliott, *Probabilistic Number Theory I: Mean-Value
Theorems*, Grundlehren 239, Springer, 1979, DOI 10.1007/978-1-4612-9989-9.
The Guy and Ruzsa full texts were not openly accessible in this run, so I do not attribute any finer statement or result to a particular page of either paper. The live problem page is the source for saying that they contain or record this problem.
[b] Elliott's relevant inequality is independently identifiable. Exercise 8 of Terence Tao's primary 2019 lecture notes states the sampling inequality
Tao's notes explicitly call this Elliott's inequality and derive it from a Bessel-type second-moment inequality. The live thread points more specifically to Lemma 4.7 in Elliott's book.
[b] The linked human proof really proves the advertised asymptotic. The public Overleaf source contains a complete elementary second-moment proof of
Its key argument is audited below. This verifies the mathematical content without relying on the model attribution.
[b] The related arXiv identifiers in Tao's comment are real. In particular:
- Matomäki–Radziwiłł–Tao,
arXiv:1509.01545, uses connectivity of a random graph in a sign-pattern problem;
- Helfgott–Radziwiłł,
arXiv:2103.06853, proves local expansion for a prime-divisibility graph;
- Pilatte,
arXiv:2310.19357, improves the two-point logarithmic Chowla bound.
These primary abstracts confirm the connectivity/expansion and multiplicative-correlation context described in the comment. They do not state an extremal independent-set result answering the remaining part here.
[c] Search miss, not a novelty claim. Exact-statement searches, searches using the equivalent phrases “consecutive multiples” and \(\gcd(a,b)=|a-b|\), and searches around the Guy/Ruzsa citations found no later primary source determining \(M_t(N)\) to additive \(O_t(\log N)\), or determining \(M_2(N)\) exactly. This is not proof that no such source exists.
Graph reformulation
Write \(M_t(N)\) for the maximum in the problem and define \(G_t(N)\) on \([N]\) by joining \(a<b\) when the pair is forbidden.
[a] Three exactly equivalent edge descriptions are
For the second equivalence, put \(d=b-a\). Since \(b=a+d\), \(d\mid b\) if and only if \(d\mid a\), which gives consecutive multiples. Also
so this gcd is \(d\) exactly when \(d\mid a\).
Thus \(M_t(N)=\alpha(G_t(N))\). The verifier independently constructs the edge set from consecutive multiples and compares it pair-by-pair with both other predicates through \(N=256\).
A new exact elementary regime
[a] Theorem. If \(3t>N\), then
Proof. Every edge has the form \(\{kd,(k+1)d\}\) with \(d\ge t\). If \(k\ge2\), then \((k+1)d\ge3d\ge3t>N\), impossible. Consequently the only edges are
They are pairwise disjoint: equality between a left endpoint \(d_1\) and a right endpoint \(2d_2\) would force
contradicting \(d_1\le N/2\). Hence the graph is a matching with
edges and isolated vertices. An independent set takes one endpoint of every matching edge and every isolated vertex, proving the formula. \(\square\)
This moving-threshold regime is not the fixed-\(t\), \(N\to\infty\) heart of the open question, but it is a uniform exact answer for a concrete two-parameter region. The checker reconstructs the claimed matching for every \(N\le128\) and every integer \(t\) in this regime.
Exact \(t=2\) computation
Let
and
Uniform lower bound
[a] For every \(N\),
Take
- Two odds have even difference, which cannot divide the larger odd number.
- An odd and a power of two have gcd \(1\), so the equivalent gcd edge
condition cannot hold with difference at least \(2\).
- Among the even powers \(2,4,8,\ldots\), an edge occurs exactly between
consecutive powers. Indeed, for \(i<j\), \[ 2^j-2^i=2^i(2^{j-i}-1) \] divides \(2^j\) only when \(j-i=1\). Choosing the odd exponents is a maximum independent set in this path.
This proves admissibility and \(|A_N|=F(N)\) without computation.
Certified finite upper bound
[d] Exact finite theorem. For every \(1\le N\le256\),
Selected entries of the fully verified table are:
| \(N\) | 1 | 2 | 3 | 4 | 7 | 8 | 16 | 31 | 32 | |---:|---:|---:|---:|---:|---:|---:|---:|---:|---:| | \(M_2(N)\) | 1 | 2 | 3 | 3 | 5 | 6 | 10 | 18 | 19 |
| \(N\) | 64 | 100 | 127 | 128 | 192 | 200 | 255 | 256 | |---:|---:|---:|---:|---:|---:|---:|---:|---:| | \(M_2(N)\) | 35 | 53 | 67 | 68 | 100 | 104 | 132 | 132 |
Why the computation is exact
The standalone checker does not trust an optimizer:
- It builds \(G_2(N)\) arithmetically.
- It complements the graph. An independent set of \(G_2(N)\) is exactly a
clique of the complement.
- It exhaustively branches on including or excluding a candidate vertex.
- At every node it greedily properly colors the remaining complement
graph. A clique uses at most one vertex of each color, so the number of colors is a rigorous upper bound. Branches unable to reach \(F(N)+1\) are safely pruned.
- It directly checks the \(F(N)\)-element construction, then proves that no
\((F(N)+1)\)-clique exists.
- A separate all-subsets brute force checks every value through \(N=18\)
and checks the clique decision routine at every possible target size.
Normally \(F(2m-1)=F(2m)\), so an upper certificate at \(2m\), together with monotonicity, proves both values. The only exception is when \(2m=2^k\) for odd \(k\); the preceding odd endpoint is then searched separately. This leaves 132 upper-bound endpoints through 256. The completed run visited 148,535 search nodes in 9.7 seconds.
[c] Conjecture suggested by the data, not claimed: the boxed formula may hold for every \(N\). The finite theorem does not supply the uniform argument needed to assert that.
A sharp reduction for the conjectured \(t=2\) formula
Partition \([N]\) into:
- \(O_N\): the odd numbers;
- \(P_N=\{2,4,8,\ldots\}\cap[N]\): the positive even powers of two;
- \(E_N\): the remaining even numbers.
Let \(H_N\) be the bipartite subgraph of \(G_2(N)\) between \(E_N\) and \(O_N\).
Consider the following finite expansion statement.
Hall-expansion lemma \(\mathcal H_N\). Every set \(S\subseteq E_N\) that is independent in \(G_2(N)[E_N]\) satisfies \[ > |N_{H_N}(S)|\ge |S|. > \]
[b, conditional on \(\mathcal H_N\)] If \(\mathcal H_N\) holds, then
Indeed, let \(A\) be independent and put \(S=A\cap E_N\). Every subset of \(S\) is also independent, so \(\mathcal H_N\) gives Hall's condition for the family of odd neighborhoods. By Hall's marriage theorem there is a matching from \(S\) to distinct odd neighbors. None of those matched odds can be in \(A\); hence
The graph induced by \(P_N\) is the path on the consecutive powers of two, so
Adding the two inequalities gives \(|A|\le F(N)\), matching the elementary construction.
[a] The expansion lemma is easy within any one 2-adic layer. Fix \(j\) and write every \(e\in E_N\) with \(v_2(e)=j\) as
Then
is an injective map to odd neighbors: the difference \(m\ge3\) divides both endpoints. Therefore every subset of one layer has at least its own size in odd neighbors.
[c] The exact remaining obstruction in this route is simultaneous expansion across 2-adic layers. The natural injections above can collide across layers even on independent vertices:
while \(24\) and \(42\) are nonadjacent because \(\gcd(24,42)=6\ne18\). Alternative odd neighbors exist, but a uniform system-of-distinct-representatives argument is missing.
[d] Computational evidence only. The optional CP-SAT model minimizes
over nonempty independent \(S\subseteq E_N\). It found no negative value for every \(N\le512\), and also at
The model status was exact OPTIMAL, and every returned feasible set and its neighborhood were recomputed using the direct arithmetic predicate. This is evidence, not a proof for arbitrary \(N\).
Why the known asymptotic machinery stops far short
For completeness, here is the core of the linked asymptotic proof. Fix \(t\), let
and let
[a; known proof audited] For every \(p\in\mathcal P\), the selected multiples of \(p\) have no consecutive indices, so
Consequently
Direct first- and second-moment expansion gives
Chebyshev therefore shows that all but \(O(N/\mu^{1/3})\) integers satisfy \(\omega(n)\ge\mu-\mu^{2/3}\). Applying this lower bound to the left-hand side yields
The elementary divergence of \(\sum_p1/p\) makes \(\mu\to\infty\), proving the live page's second question.
With Mertens' theorem, this particular calculation has additive error about
still astronomically larger than the construction's \(\Theta(\log N)\) excess. Elliott's inequality packages the same prime-sampling phenomenon more efficiently, but it also controls a global density error rather than the sparse exceptional structure.
[a] Precise wall. Prime averaging sees that a typical integer has many small prime divisors. It does not classify the atypical integers—most notably powers of two—that support the logarithmic excess. To reach an additive \(O(\log N)\), one needs a uniform structural charging/matching lemma for those exceptional vertices. The Hall-expansion lemma above is one concrete sufficient lemma. Current computation supports it, and the single-layer case is elementary, but the cross-layer expansion step is not proved.
The pure search also exhibits the expected finite-computation wall: \(N=300\) took about 13.6 seconds for one endpoint, while an \(N=400\) attempt did not finish within 60 seconds. Extending a from-scratch table much farther would require a more certifying algorithm (for example, solver-generated clique-cover or proof certificates), not just more blind branching. No such larger computation is needed for the claims above.
Reproduction
Run:
python runs/erdos635_wavew003_reverify.py
This is the standard-library exact check. The completed output was:
checkpoint table (N, M_2(N)):
[(1, 1), (2, 2), (3, 3), (4, 3), (7, 5), (8, 6), (16, 10), (31, 18), (32, 19), (64, 35), (100, 53), (127, 67), (128, 68), (192, 100), (200, 104), (255, 132), (256, 132)]
CERTIFIED: exact formula for every 1 <= N <= 256; 132 upper-bound endpoints, 148535 search nodes, 9.701s
CERTIFIED: for 3t>N, M_t(N) = N-max(0,floor(N/2)-t+1); edge decomposition checked through N=128
The optional exploratory audit is:
python runs/erdos635_wavew003_reverify.py --extended-hall
It additionally reproduced:
CP-SAT Hall experiment: objective >= 0 for every N <= 512 and N in (1024, 2048, 4096, 8192, 10000) (25.485s)
PARTIAL: exact M_2(N)=ceil(N/2)+ceil(floor(log_2 N)/2) is certified for every N<=256, M_t(N) is proved exactly when 3t>N, and a precise Hall-expansion lemma isolates the unproved uniform t=2 step.