Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Claim. For the of Problem 866, with the distinct integers of which one may be non-positive (the paper's reading of the erdosproblems.com definition, Section 3, p. 2), W. van Doorn, The cardinality of a set containing the pairwise sums of a fixed number of integers, arXiv:2605.00040v1 (28 April 2026), proves Theorem 1, for all (with , and Theorem 2: integers suffice); Theorem 3, for all , the lower bound from the odd integers together with and ; Theorem 5, for , from the odd integers together with , and ; and Theorem 8,
(the constant , from the 1975 argument with explicit constants and a Sidon-set bound of O'Bryant), so that is bounded where the 1975 paper's lower bound holds only for the positive-integer variant (Theorem 4). The paper also states, with a proof sketch, Theorem 9, for and large , a slight sharpening of the 1975 exponent, and for the positive variant. Its Section 2 declares that ChatGPT (model GPT-5.3 Instant) was used for brainstorming and produced the proof of Theorem 3 on its own, and that the automated theorem prover Aristotle, from Harmonic, produced Lean formalizations of every statement marked with a checkmark, improving the bound on the way. The paper is compiled at its source card; nothing is independently reviewed.
Submission note. Posted to the erdosproblems.com forum by Wouter van Doorn (account Woett) on 4 May 2026:
I have just uploaded my paper on . In it, the following bounds are proven: \begin{align*} g_3(N) &= 1 \text{ for all } N \ge 3, \ g_4(N) &= 3 \text{ for all } N \ge 2, \ g_5(N) &< 1.2 \cdot 10^8 \text{ for all } N \ge 1, \ g_k(N) &< 4N^{1 - 2^{2-k}} \text{ for all } k \ge 3 \text{ and all large enough } N. \end{align*}Furthermore, these results are all verified in Lean.
The paper is my own work (mostly relying on the ideas by Choi-Erdős-Szemerédi), but specifically the result was obtained with the help of ChatGPT. Further noteworthy is that the bounds on and seemingly contradict the earlier claims of and $g_5(N) \asymp \log N$. To reconcile this apparent contradiction, let us (as in my previous comment) define as the smallest integer such that for all subsets $A \subseteq {1, 2, \ldots, 2N}$ with there exist distinct positive integers such that all pairwise sums are in .
As it turns out, and are not the same (in fact, they seem to differ quite often), although we do in general have
for all and . And even though the stated Choi-Erdős-Szemerédi results do not necessarily all hold for , they are all recovered for .
Furthermore, with the help of Aristotle I managed to make their result explicit, while the above general bound for also holds for . For completeness' sake, these are the best known bounds for currently: \begin{align*} h_3(N) &= 2 \text{ for all } N \ge 4, \ h_4(N) &\le 2270 \text{ for all } N \ge 1, \ h_5(N) &\asymp \log N, \ h_6(N) &\asymp \sqrt{N} (\text{which is also the correct order of growth for } g_6(N)), \ h_k(N) &< 4N^{1 - 2^{2-k}} \text{ for all } k \ge 3 \text{ and all large enough } N. \end{align*}Finally, this problem is also mentioned in [Er72, p. 83], which can be added as a reference.
Posted to the erdosproblems.com forum by Wouter van Doorn (account Woett) on 26 February 2026:
It is clear that the need to be distinct, and maybe one can add this requirement to the problem statement for completeness' sake. What is less clear however, is whether the need to be positive.
In all theorem statements in [CES75], they refer to the elements in $A \subseteq {1, 2, \ldots, 2N}$ as positive integers, while the are just referred to as integers. This terminology is also used in [Er92c, p.41], suggesting that the are not required to be positive (although one can note that at most one can be non-positive, otherwise we have a negative sum).
With this in mind, define as the smallest integer such that for all subsets with there exist distinct positive integers such that all pairwise sums are in . With defined as in the problem statement (i.e. without the positivity requirement), in general we then have .
Annoyingly, and are not the same function, and the lower bounds that Choi, Erdős and Szemerédi claim for and do not actually work for . In particular, the example (mentioned at the end of the remarks) of taking to be the union
for a set for which supposedly no exist is incorrect as stated; with , , , , , one can check that all pairwise sums do belong to whenever . The example does work to show the lower bound , but at the moment I have no non-trivial lower bound for . As far as I know, it could be the case that we actually have (Edit 06-04-2026: which I might be able to show now!).
Turning to , the truth is that is equal to for all $N \ge 3$. Which is in contrast to the equality that Choi, Erdős and Szemerédi actually (unwittingly?) prove for all .
To see why (and therefore ) holds for all $N \ge 3$, let be any set with , and assume . Then contains for some odd $m \in {1, 3, \ldots, 2N-1}$ by the pigeonhole principle. If only contains even integers, then ${2, 4, 6} \subseteq {2, 4, \ldots, 2N} \subset A$ and we can choose , , . On the other hand, if contains an odd integer , then we can choose $b_1 = j$, , , which are quickly checked to be distinct by the assumption and the fact that is odd. By the way, for one can note that the example shows .
I'll hopefully have more to say in the not too distant future, but I first wanted to clear up the above subtlety.
Covers. The exact values () and (), and the order of : bounded, with for ; a later release claims the smaller constant on its own page. Not covered: the value of (the paper's Section 7 reports no counterexample to up to and does not exclude for large ); the constants for , whose order is Choi, Erdős and Szemerédi's; the order of for ; and the exponent for large , which Theorem 9 sharpens without closing.
Depends on. Nothing in this wiki. Theorem 8 follows the 1975 argument with explicit constants, but rests on the paper's own proof, not on the 1975 results recorded on their claim page.
Standing. Claimed. The paper is an arXiv preprint, on 2026-09-18 the only version, with no journal reference and no Crossref record, no citing paper and no independent review found. The erdosproblems.com curator thanks Wouter van Doorn on the problem page and credits van Doorn, in commentary last edited 1 December 2025 on a problem labeled OPEN, with , an earlier bound this paper supersedes; the commentary predates the paper and is not acceptance. Earlier postings of the same work by the author (the account Woett), both disclosed here and subsumed by the preprint: a note on the author's GitHub page, first posted on 30 August 2025 with the constant and revised to on 3 September 2025 (last revised 9 September 2025, the version linked above), linked from the erdosproblems.com thread, whose figure the erdosproblems.com commentary adopted; and a thread comment of 26 February 2026 that made the two conventions explicit, showed that the 1975 example for fails for erdosproblems.com's with when , and proved for in the comment itself. The thread comment of 4 May 2026 announced the preprint and linked the Lean file below. The page is named by the arXiv posting, the dated manuscript.
Formalization. Not counted as evidence. The paper's reference [5] is
the author's own Lean file, ErdosProblem866.lean in the repository
Woett/Lean-files, pinned above at its last change of 30 April 2026; its
header names ChatGPT and Aristotle from Harmonic, and it states and proves
for (with ), for ,
for and for all ,
for , , and the
general bound of Theorem 9, together with explicit Sidon-set and weak
Sidon-set bounds, with no sorry. The file carries six #print axioms
commands but records no output. The corpus holds no build of it, so it
gives no formalized evidence; no formal-conjectures statement file for the
problem existed on 2026-09-18.