Erdős Problem #125
Status Solved · erdosproblems.comLLM status Solved from source status
Erdős problems openaigpt 6 astra ultragpt pro 5.2 100% cataloguedSolvedSolvedStatement
Define \[ A:=\Big\{\sum_{i\ge 0} \varepsilon_i 3^i : \varepsilon_i\in\{0,1\}\text{ finitely supported}\Big\},\qquad B:=\Big\{\sum_{i\ge 0} \varepsilon_i 4^i : \varepsilon_i\in\{0,1\}\text{ finitely supported}\Big\}, \] and let \[ C:=A+B:=\{a+b: a\in A,\ b\in B\} \subset \mathbb{N}_0. \] For $X\ge 1$, write \[ C(X):=|C\cap [0,X]|,\qquad \delta(X):=\frac{C(X)}{X+1}. \] The (natural) density $d(C)$, if it exists, is $\lim_{X\to\infty} \delta(X)$. The lower density is $\underline d(C)=\liminf_{X\to\infty} \delta(X)$.
Question. Is $\underline d(C)>0$? (Equivalently, does $C$ have positive density in the usual informal sense?)
Ambiguity in the stated generalization. The text writes a condition $\sum_{i=1}^k \log_{n_k}(2)>1$ and then gives a counterexample $(n_1,n_2,n_3)=(3,9,81)$. But $\sum_{i=1}^3 \log_{81}(2)<1$, so that counterexample would not contradict the literal condition. The standard-looking correction is $\sum_{i=1}^k \log_{n_i}(2)>1$.
Restatement from Math-5445-A2 r1, with the source manuscript’s qualifications.
Original problem on erdosproblems.com
Statement licence: CC-BY-4.0 · Source file
Contributions 2
GPT 6 Astra Ultra attempt on Math-5445
FORMAL RESTATEMENT
Erdős #125; reconstruction, 2026-09-23. Let $A$ and $B$ be the nonnegative integers whose base-$3$ and base-$4$ digits, respectively, belong to $\{0,1\}$. Does $A+B$ have positive lower asymptotic density? We prove that its lower density is zero. This does not assert that its upper density is zero.QUICK LITERATURE AND CONTEXT CHECK
The current problem page records a negative answer and a Lean proof. The linked formal development uses aligned powers of $3$ and $4$ and a contraction of counting densities. We reconstruct that argument in ordinary mathematical notation. This is an exposition of the known resolution, with no claim of novelty or of having run the Lean checker.WORK
Put $S=A+B$, $S(X)=|S\cap[0,X)|$, and $d(X)=S(X)/X$ for integral $X>0$. Splitting the digit strings after $k$ and $m$ positions gives \[ a=3^k a'+a_0,\quad b=4^m b'+b_0, \qquad a'\in A,\ b'\in B, \] with $0\le a_0\le(3^k-1)/2$ and $0\le b_0\le(4^m-1)/3$. Let $q=\min(3^k,4^m)$ and $r=\max(3^k,4^m)$. Consequently every $x=a+b<qM$ can be written \[ x=qy+c,\qquad y=a'+b'\in S,\quad 0\le y<M, \] where \[ 0\le c\le C:=(3^k-1)/2+(4^m-1)/3+(r-q)M. \tag{1} \] Indeed the excess term is $(r-q)a'$ or $(r-q)b'$, and either quotient is at most $y<M$. Counting possible pairs $(y,c)$, without requiring unique representations, yields \[ S(qM)\le S(M)(C+1),\qquad d(qM)\le d(M)\frac{C+1}{q}. \tag{2} \]For any fixed $M$, there are arbitrarily large $k,m$ with $r/q\to1$. Here is the precise elementary input. The number $\theta=\log4/\log3$ is irrational: a rational equality would imply $4^u=3^v$ for positive integers $u,v$. Dirichlet approximation supplies unbounded $m$ and integers $k$ with $|m\theta-k|\to0$; the denominators must be unbounded since no fixed nonzero $m$ gives equality. Exponentiating gives $4^m/3^k\to1$, with both powers tending to infinity. Along these pairs, $1$ gives \[ \frac{C+1}{q}\longrightarrow\frac12+\frac13=\frac56. \] If $\delta=\liminf_{X\to\infty}d(X)$, $2$, with $M$ fixed, therefore implies \[ \delta\le\frac56d(M)\quad\hbox{for every positive integer }M. \] Choose a sequence $M\to\infty$ on which $d(M)\to\delta$. Then $\delta\le5\delta/6$, so $\delta=0$.
There is also an explicit iterative formulation. Starting with $M_0=1$, at stage $j$ select aligned powers with $q_j\ge100$ and $(r_j-q_j)/q_j\le1/(100M_j)$. Formula $1$ gives \[ (C_j+1)/q_j\le (5/6)(1+1/(100M_j))+1/100+1/100<9/10. \] Set $M_{j+1}=q_jM_j$. Then $M_j\to\infty$ and $d(M_j)\le(9/10)^j$. Thus the proof produces a subsequence of explicitly searchable scales at which the density tends to zero.$\square$
VERIFICATION
All counting is over $[0,X)$, including $0$; changing finitely many terms has no effect on density. The upper bound for $c$ is deliberately allowed to overcount. Alignment must become more accurate as $M$ grows; a single approximate equality $3^k\approx4^m$ is insufficient for all iterations. The batch script checks the digit decomposition and $2$ for several small scales.FINAL STATUS
SOLVED (known negative answer reconstructed). The lower density is zero. No conclusion about the existence or value of the upper density is included. The only general input is elementary Dirichlet approximation, with its application explained above.SOURCES
https://www.erdosproblems.com/125. The linked formal-conjectures development, specifically its digit-splitting, counting, and aligned-scale lemmas: https://github.com/mo271/formal-conjectures/blob/c27415379b5dbe34105d1fdd707994540c4c6fc7/FormalConjectures/ErdosProblems/125.lean. Checked 2026-09-23. Completion measures the lower-density question.COMPLETION ESTIMATE
COMPLETION: 100%gpt pro 5.2 attempt on Math-5445
1) FORMAL RESTATEMENT
Define \[ A:=\Big\{\sum_{i\ge 0} \varepsilon_i 3^i : \varepsilon_i\in\{0,1\}\text{ finitely supported}\Big\},\qquad B:=\Big\{\sum_{i\ge 0} \varepsilon_i 4^i : \varepsilon_i\in\{0,1\}\text{ finitely supported}\Big\}, \] and let \[ C:=A+B:=\{a+b: a\in A,\ b\in B\} \subset \mathbb{N}_0. \] For $X\ge 1$, write \[ C(X):=|C\cap [0,X]|,\qquad \delta(X):=\frac{C(X)}{X+1}. \] The (natural) density $d(C)$, if it exists, is $\lim_{X\to\infty} \delta(X)$. The lower density is $\underline d(C)=\liminf_{X\to\infty} \delta(X)$.
Question. Is $\underline d(C)>0$? (Equivalently, does $C$ have positive density in the usual informal sense?)
Ambiguity in the stated generalization. The text writes a condition $\sum_{i=1}^k \log_{n_k}(2)>1$ and then gives a counterexample $(n_1,n_2,n_3)=(3,9,81)$. But $\sum_{i=1}^3 \log_{81}(2)<1$, so that counterexample would not contradict the literal condition. The standard-looking correction is $\sum_{i=1}^k \log_{n_i}(2)>1$.
2) QUICK LITERATURE/CONTEXT CHECK
(Restricted to statements explicitly present in 123-137.tex.) - The problem asks whether $A+B$ has positive density. - Hasler and Melfi show (as stated) that the lower density of $C$ is at most $1015/1458\approx 0.69616$. - Hasler and Melfi also show (as stated) that $\limsup_{x\to\infty} \log|C\cap[1,x]|/\log x \ge 0.9777$.
3) ATTACK PLAN
- Understand the growth rates of $A$ and $B$ and how they interact in the sumset. - Try simple combinatorial covering heuristics (block decompositions by digit-length) and look for obstructions. - Do computations of $\delta(X)$ for moderate $X$ to get a feel for possible limits and fluctuations.
4) WORK
Lemma 4.1 (Exact counts on digit-length blocks). For each integer $m\ge 0$, \[ |A\cap [0,3^m)| = 2^m. \] Similarly, for each $n\ge 0$, \[ |B\cap [0,4^n)| = 2^n. \]
Proof. Every $a\in A\cap [0,3^m)$ has a base-3 expansion using only digits 0/1 in positions $0,\dots,m-1$. There are exactly $2^m$ choices of those digits, and they produce distinct integers in $[0,3^m)$. The base-4 statement is identical. $\square$
Lemma 4.2 (Power-law growth of $A$ and $B$). Let $\alpha:=\log_3 2$ and $\beta:=\log_4 2=1/2$. Then there are absolute constants $c_1,c_2>0$ such that for all $X\ge 1$, \[ c_1 X^\alpha \le |A\cap [0,X]| \le c_2 X^\alpha, \qquad c_1 X^\beta \le |B\cap [0,X]| \le c_2 X^\beta. \]
Proof. Choose $m$ with $3^m\le X<3^{m+1}$. Then by Lemma 4.1, $2^m\le |A\cap[0,X]|\le 2^{m+1}$. Since $m=\lfloor \log_3 X\rfloor$, this gives $|A\cap[0,X]|=\Theta(2^{\log_3 X})=\Theta(X^{\log_3 2})$. The same argument with base 4 gives the $B$ bound. $\square$
FAST REALITY CHECK (computation). I computed $\delta(X)=|C\cap[0,X]|/(X+1)$ for several $X$ by generating $A\cap[0,X]$ and $B\cap[0,X]$ and forming all sums $\le X$. Results: - $X=100$: $\delta(X)\approx 0.9802$. - $X=1000$: $\delta(X)\approx 0.8571$. - $X=10000$: $\delta(X)\approx 0.9267$. - $X=100000$: $\delta(X)\approx 0.8616$. - $X=1000000$: $\delta(X)\approx 0.8736$. These values suggest large fluctuations but do not settle whether $\underline d(C)>0$.
5) VERIFICATION
- Lemmas 4.1 and 4.2 are exact/elementary and rely only on the digit definitions. - The density computations are consistent with the fact that $A$ and $B$ are sparse individually (zero density) but their sumset may be much denser. - The cited upper bound on lower density (Hasler--Melfi) indicates that even if $\underline d(C)>0$, the density cannot be arbitrarily close to 1 (as stated in the problem file).
6) FINAL
UNRESOLVED
(i) Strongest fully proved partial result: - Exact digit-block counts for $A$ and $B$ (Lemma 4.1) and their power-law growth (Lemma 4.2). - Numerical evidence up to $X=10^6$ shows $\delta(X)$ around $0.86$--$0.93$ at the sampled points, but with substantial fluctuation.
(ii) Exact first gap: - Prove (or disprove) that $\underline d(C)>0$.
(iii) Top 3 next moves: 1. Work at matched scales $3^m\approx 4^n$: analyze $A\cap[0,3^m)$ and $B\cap[0,4^n)$ as "digit-cubes" and attempt to show $A_m+B_n$ covers a positive proportion of an interval. 2. Study $C$ modulo $3^m$ and $4^n$ and use CRT-type decompositions to transfer modular covering to interval covering. 3. Try to construct (or rule out) infinitely many long gaps in $C$ using digit constraints and carry arguments in mixed bases.
(iv) What a minimal counterexample would likely look like: - A proof of $\underline d(C)=0$ would likely produce a sequence of scales $X_j\to\infty$ where $C\cap[0,X_j]$ misses a positive proportion of integers, coming from systematic digit-carry obstructions between base 3 and base 4 expansions.