Erdős Problem #347
1.) What was the problem?
So the legendary Paul Erdős and Ronald Graham conjectured in their 1979 paper "Old and new problems and results in combinatorial number theory" whether there exists an growing sequence of integers \(a_1\leq a_2\leq a_3\leq \cdots\) whose terms roughly double:
Now let's remove any finite collection of the sequence's terms, then take any finite number of the surviving terms (a single one suffices as well) and then add them up using each term at most once. Let \(S\) contain every positive integer we can make this way.
We now want \(S\) to cover almost all the positive integers (keep in mind "almost all integers"). To see what that means, count how many of the numbers \(1,\ldots,N\) belong to \(S\), then divide by \(N\). As we count further, that fraction should approach 1:
The set \(S\) of sums may skip over infinitely many integers. That is allowed, as long as the missing numbers make up a fraction that tends to zero.
The difficulty is that the higher in the sequence you go, the sparser it gets. Every positive integer can be represented as a sum of distinct powers of two, which gives us the familiar binary representation. But remove even one of those powers, and we can no longer reach certain numbers with a sum of distinct terms.
2.) the lore
So by the time I got around to the discussion on the forum, there was an approach that I could build on. Now Graham had already constructed a sequence based on Fibonacci numbers with a stronger property, that you removed any finite number of terms and the sums of distinct remaining terms would still include every sufficiently large integer. The ratios of adjacent terms converge to the golden ratio, which is roughly \(1.618\), kids stuff.
However later on, Stefan Burr and Erdős showed in their paper two years later that this stronger property was impossible for a limiting ratio higher than the golden ratio. To reach \(2\), we would have to allow infinitely many missing integers and then prove that their proportion tends to zero.
43 years later, a now-collaborator of mine, Wouter van Doorn proposed approaching \(2\) extremely slowly, this garnered the attention of one of the most famous mathematicians of our time, Terence Tao, who further developed the idea by grouping the terms into blocks, so within each block, two different choices of terms could give sums exactly 1 apart and that switching between the two would allow us to correct small errors in an approximate representation.
Now his sketch only explained how the proof would work if the block sizes were fixed. The open question here was to rigorously prove, whether it was possible to let the blocks grow longer, but slow enough that the argument still worked, while ensuring the successive ratios converge to \(2\).
3.) how did we get here?
So when I got around to the problem, started by first trying to wrap my head around the problem, reading the comments, paper(s) and looking for other relevant literature. I then began by making a list of all the various prerequisites that the desired sequence needed to fulfill.
Now, a few days before that, Sebastien Bubeck from OpenAI (from whom I later received a commendation) had posted about how they had greatly improved GPT-5.1 and 5.2 (SOTA models back then, believe it or not) at mathematical work. So I tried one-shotting the problem for the fun of it, which, of course, led to the model spewing out some nonsense. But by cleverly decomposing the problem into various smaller subproblems, I could have the clankers help me chew on various ideas of mine. Most of the AI used here was using ChatGPT Codex to help me write all the code. Trying to pry out novel ideas from the model back then usually led to just some weird and useless reformulation of the problem or just complete nonsensical hallucinations. Occasionally it had one or two somewhat clever and nontrivial ideas, but generally, they were mostly just okay at best.
Over time, I exchanged my findings with other mathematicians on and off the forum, like Bartosz Naskrecki, whom I had met during my research on discrete logarithms, Boris Alexeev and Wouter van Doorn. I kept experimenting computationally using NumPy and SageMath. I was very surprised how good the models were at implementing my ideas in code, so while their mathematical output seemed terrible at the time, their capability in implementing my ideas was almost spot on. Anyways, one evening I finally managed to construct the desired sequence. I reran checks to make sure that what I found was actually correct. I then took all the data and research and used Aristotle, a formalization agent by Harmonic, to formally prove the result in Lean. I immediately contacted the others to inform them about my breakthrough. After a short discussion and some further checks, I released the proof to the forum.
Surprisingly, Tao himself personally proof-checked the result and gave it the green light just an hour later.
4.) some assembly required
Now for the nitty-gritty part. So we know that longer blocks bring the consecutive ratios closer to \(2\), however longer blocks have more possible subset sums. So the choice that allows a one-unit correction becomes a smaller fraction of them. Let's take for example \(10, 20, 40, 71.\) Now the first three numbers sum to \(70\), now alternatively we may also choose \(71\). Switching from the former to the latter raises the total by one, without using any number twice and if our approximate sum uses the lower choice in several disjoint blocks, we can make these corrections independently. Now fix a tail of complete blocks. For a given target, start with a sufficiently large block and work downwards. At each step take the largest allowed contribution that fits within the current remainder. This leaves a remainder bounded by a fixed integer \(D\). So \(D\) depends on the starting point of the tail, not on the target. If the representation has at least \(D\) correction opportunities, we can fix the error by adjusting blocks one step at a time.
Other representations may have too few of these opportunities to do the job. Letting the blocks grow too quickly would undermine the counting argument. The construction in my paper used block lengths of \(k_n=4+\left\lceil\log_2\log_2(n+16)\right\rceil\). The double logarithm keeps the growth slow, though the blocks still become arbitrarily long. The consecutive ratios tend to \(2\), but the correction opportunities are frequent enough for estimates to hold.
We count all descriptions with fewer than \(D\) correction opportunities, including every possible remainder. This gives an upper bound on the number of integers that cannot be represented. After dividing by the cutoff, we get exponential decay multiplied by a polynomial of fixed degree, in the same growing parameter. The exponential decay dominates the polynomial growth. Passing from the block endpoints to immediate cutoffs introduces a factor that grows logarithmically in the block index. The existing decay estimate then outweighs this growth in the factor. So the proportion of unrepresentable integers tends to zero as the cutoff grows, including between block scales.
Removing finitely many terms damages a finite number of blocks. Beyond the last damaged block, the same argument applies. The new remainder bound \(D\) may be much larger, but it stays fixed while the number of blocks is growing.
5.) End of the line
In the end the conjecture was proven in the affirmative with a construction whose ratio between successive terms approaches \(2\). Remove any finite number of terms, and the finite sums of distinct terms that remain will still cover almost all the positive integers and hence have density \(1\).
My Paper "A sequence with doubling ratio and full density subset sums"