Representation functions growing exactly like log n
Is there a set A of naturals whose number of representations n = a + b is asymptotic to c·log n for some c > 0?
| 1 | # Representation functions growing exactly like log n |
| 2 | |
| 3 | How regularly can the number of ways to write $n$ as a sum of two elements of a set behave? Suitable random sets give about $c\log n$ representations for almost all $n$, but not for every $n$. Erdős asked whether some set achieves $1_A\ast1_A(n)\sim c\log n$ for every large $n$, believed the answer is no, and offered \$500 for a solution. |
| 4 | |
| 5 | ## Problem |
| 6 | |
| 7 | For $A\subseteq\mathbb{N}$ let $1_A\ast1_A(n)=\#\{(a,b)\in A\times A : a+b=n\}$ be the number of ordered representations of $n$ as a sum of two elements of $A$. Is there a set $A$ such that the limit |
| 8 | |
| 9 | $$ |
| 10 | \lim_{n\to\infty}\frac{1_A\ast1_A(n)}{\log n} |
| 11 | $$ |
| 12 | |
| 13 | exists and is non-zero? |
| 14 | |
| 15 | ## Background |
| 16 | |
| 17 | Erdős proved in 1956 that there are sets whose representation function stays between two constant multiples of $\log n$. A suitably constructed random set even satisfies $1_A\ast1_A(n)\sim c\log n$ outside an exceptional set of $n$ of density zero; the difficulty is to remove all exceptions. Erdős believed that no such set exists and suggested that the $\liminf$ and $\limsup$ of $1_A\ast1_A(n)/\log n$ might always differ by an absolute constant. The problem is closely related to the Erdős–Turán conjecture on additive bases. |
| 18 | |
| 19 | ## What is known |
| 20 | |
| 21 | - **No square-root precision.** Erdős and Sárközy (1985) proved that for any increasing $F$ with $F(n)\to\infty$ and $F(n)=o(n/(\log n)^2)$, one cannot have $\lvert 1_A\ast1_A(n)-F(n)\rvert=o(F(n)^{1/2})$; in particular $\lvert1_A\ast1_A(n)-\log n\rvert=o(\sqrt{\log n})$ is impossible. |
| 22 | - **Sharper version.** Horváth (2007) showed that even $\lvert1_A\ast1_A(n)-\log n\rvert\le(1-\varepsilon)\sqrt{\log n}$ cannot hold for all large $n$. |
| 23 | - **Faster growth is possible.** Táfula (2026) proved that if $F$ is regularly varying and $F(n)/\log n\to\infty$, then some set has $1_A\ast1_A(n)\sim F(n)$; so the logarithm is exactly the boundary where the question becomes hard. He also gave a probabilistic heuristic that $\limsup 1_A\ast1_A(n)/\log n<1$ forces $1_A\ast1_A(n)=0$ infinitely often. |
| 24 | |
| 25 | ## What would count as progress |
| 26 | |
| 27 | - A proof that no set has $1_A\ast1_A(n)/\log n\to c\neq0$, or a construction of one. |
| 28 | - A proof that $\liminf$ and $\limsup$ of $1_A\ast1_A(n)/\log n$ must differ, perhaps by an absolute constant, for every set $A$ that represents all large integers. |
| 29 | - Progress on the heuristic of Táfula, which would settle the case $c<1$. |
| 30 | - A formal proof against the Lean statement in [formal-conjectures](https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/ErdosProblems/66.lean). |
| 31 | |
| 32 | ## References |
| 33 | |
| 34 | 1. P. Erdős and A. Sárközy, Problems and results on additive properties of general sequences. I, *Pacific J. Math.* 118 (1985), 347–357. [doi:10.2140/pjm.1985.118.347](https://doi.org/10.2140/pjm.1985.118.347) |
| 35 | 2. G. Horváth, An improvement of a theorem of Erdős and Sárközy, *Pollack Periodica* 2 (2007), 155–161. [doi:10.1556/Pollack.2.2007.S.14](https://doi.org/10.1556/Pollack.2.2007.S.14) |
| 36 | 3. P. Erdős and P. Tetali, Representations of integers as the sum of $k$ terms, *Random Structures Algorithms* 1 (1990), 245–261. [doi:10.1002/rsa.3240010302](https://doi.org/10.1002/rsa.3240010302) |
| 37 | 4. C. Táfula, Representation functions with prescribed rates of growth, *Random Structures Algorithms* 69 (2026), e70088. [arXiv:2405.01530](https://arxiv.org/abs/2405.01530) |
| 38 | |
| 39 | ## Source |
| 40 | |
| 41 | Imported from [Erdős Problems 66](https://www.erdosproblems.com/66), curated by Thomas Bloom. Open according to the source as of 2026-10-20. The statement above is written in our own words; see the source for the original wording, history and discussion. |