Dual View Random Solved Random Open
OPEN This is open, and cannot be resolved with a finite computation.
Let $a_1<a_2<\cdots$ be an infinite sequence of integers such that $a_1=n$ and $a_{i+1}$ is the least integer which is not a sum of consecutive earlier $a_j$s. What can be said about the density of this sequence?

In particular, in the case $n=1$, can one prove that $a_k/k\to \infty$ and $a_k/k^{1+c}\to 0$ for any $c>0$?
Disclaimer: The open status of this problem reflects the current belief of the owner of this website. There may be literature on this problem that I am unaware of, which may partially or completely solve the stated problem. Please do your own literature search before expending significant effort on solving this problem. If you find any relevant literature not mentioned here, please add this in a comment.
A problem of MacMahon, studied by Andrews [An75]. When $n=1$ this sequence begins\[1,2,4,5,8,10,14,15,\ldots.\]This sequence is A002048 in the OEIS. Andrews conjectures\[a_k\sim \frac{k\log k}{\log\log k}.\]Porubsky [Po77] proved that, for any $\epsilon>0$, there are infinitely many $k$ such that\[a_k < (\log k)^\epsilon \frac{k\log k}{\log\log k},\]and also that if $A(x)$ counts the number of $a_i\leq x$ then\[\limsup \frac{A(x)}{\pi(x)}\geq \frac{1}{\log 2}\]where $\pi(x)$ counts the number of primes $\leq x$.

See also [839].

View the LaTeX source

This page was last edited 28 December 2025.

External data from the database - you can help update this
Formalised statement? Yes
Related OEIS sequences: A002048
Likes this problem None
Interested in collaborating None
Currently working on this problem None
This problem looks difficult Vjeko_Kovac
This problem looks tractable None

Additional thanks to: Wouter van Doorn and Desmond Weisenberg

When referring to this problem, please use the original sources of Erdős. If you wish to acknowledge this website, the recommended citation format is:

T. F. Bloom, Erdős Problem #359, https://www.erdosproblems.com/359, accessed 2026-01-16