Erdős Problem #281
Status Solved · erdosproblems.comLLM status Solved from source status
Erdős problems openaigpt 5.2gpt 6 astra ultragpt pro 5.4 100% cataloguedSolvedSolvedStatement
Let $n_1<n_2<\cdots$ be integers with $n_i\ge 2$. For a choice of residues $(a_i)_{i\ge 1}$ with $a_i\in\{0,\dots,n_i-1\}$, define for each $k\ge 1$ the uncovered set \[U_k(a)=\{m\in\mathbb{Z}: m\not\equiv a_i\!\!\!\pmod{n_i}\ \text{for all }1\le i\le k\}.\] This set is periodic modulo $L_k=\mathrm{lcm}(n_1,\dots,n_k)$, hence has a natural density $\mathbf{d}(U_k(a))$. Define also the infinite uncovered set $U_\infty(a)=\bigcap_{k\ge 1}U_k(a)$; the hypothesis assumes $\mathbf{d}(U_\infty(a))=0$ for every choice $a$.
Question: Does $\mathbf{d}(U_\infty(a))=0$ for all residue choices $a$ imply the following uniform finite approximation property? For every $\epsilon>0$ there exists $k$ such that for every $a$, $\mathbf{d}(U_k(a))<\epsilon$.
Restatement from Math-5549-A2 r1, with the source manuscript’s qualifications.
Original problem on erdosproblems.com
Statement licence: CC-BY-4.0 · Source file
Contributions 3
GPT 6 Astra Ultra attempt on Math-5549
Erdős Problem #281
Statement and attribution
Let $n_1<n_2<\cdots$ be positive integers. Suppose that for every choice of residues $a_i\pmod{n_i}$, the integers avoiding all these classes have density zero. Must every $\varepsilon>0$ admit a finite $k$ such that the first $k$ classes leave density less than $\varepsilon$, uniformly in all residue choices? Yes.The current discussion gives a proof using the Davenport--Erdős theorem on sets of multiples and Rogers's finite extremal inequality. We reconstruct the needed density implication and the finite inequality below, so neither is left as an unexplained external input. These are classical arguments, not a novelty claim.
Work I: finite congruences are worst when aligned
Fix $n_1,\ldots,n_k$ and put $L=\operatorname{lcm}(n_1,\ldots,n_k)$. Write $L=\prod_p p^{e_p}$. By the Chinese remainder theorem, residues modulo $L$ are tuples of residues modulo these prime powers. The class $a_i\pmod{n_i}$ imposes, in the $p$ coordinate, one residue modulo $p^{v_p(n_i)}$; if $p\nmid n_i$ it imposes no condition there.Replace all these residues in one fixed $p$ coordinate by zero, leaving the other coordinates unchanged. For any fixed tuple of the other coordinates, a certain collection of the $k$ congruence classes is active. Its original fiber is a union of subsets of sizes $p^{e_p-v_p(n_i)}$, so its size is at least the largest such size. After replacement, those subsets are nested zero congruence classes, and their union has exactly that largest size. If no class is active, both unions are empty. Summing over fibers shows that the replacement cannot increase the covered proportion. Repeat for every prime dividing $L$. The result is that all $a_i$ are zero, and hence \[ d(U_k(\mathbf a))\le d(U_k(\mathbf0)), \tag{1} \] where $U_k$ denotes the uncovered set and density exists by periodicity.
Work II: density one for all multiples implies finite approximation
Let $M_k=\bigcup_{i\le k}n_i\mathbb N$, $M=\bigcup_i n_i\mathbb N$, and $\delta_k=d(M_k)$. The hypothesis for the zero residues gives $d(M)=1$. We prove $\delta_k\to1$.For a real $s>1$, put a probability distribution on positive integers by \[ \mathbb P_s(N=m)=\frac{m^{-s}}{\zeta(s)}, \qquad \zeta(s)=\sum_{m\ge1}m^{-s}. \] For any finite collection of primes, the exponents $v_p(N)$ are independent and satisfy $\mathbb P_s(v_p(N)\ge a)=p^{-as}$. This follows by factoring the convergent Dirichlet series, or by summing over the integers divisible by prescribed prime powers. Under the uniform residue distribution for the finite modulus defining $M_k$, the truncated exponents instead have tails $p^{-a}$. Thus the first exponent tuple is coordinatewise stochastically smaller than the second. To see the comparison directly, generate each exponent from an independent uniform random number using its tail thresholds; $p^{-as}\le p^{-a}$ makes the inequality simultaneous for every threshold.
The event of being divisible by at least one of $n_1,\ldots,n_k$ is increasing in every prime exponent. Therefore \[ \mathbb P_s(N\in M_k)\le\delta_k. \] Let $\delta=\lim_k\delta_k$, which exists since the sequence is increasing and bounded. Countable additivity gives \[ \mathbb P_s(N\in M)\le\delta \qquad(s>1). \tag{2} \] We now use $d(M)=1$. If $C=\mathbb N\setminus M$ and $C(x)=|C\cap[1,x]|$, then $C(x)=o(x)$. Partial summation yields \[ \sum_{m\in C}m^{-s}=s\int_1^\infty C(x)x^{-s-1}\,dx. \] Given $\eta>0$, take $T$ with $C(x)\le\eta x$ for $x\ge T$. The integral on $[1,T]$ stays bounded as $s\downarrow1$, while the rest is at most $\eta sT^{1-s}/(s-1)$. Since $\zeta(s)\ge1/(s-1)$, division and passage to the limit show $\limsup_{s\downarrow1}\mathbb P_s(N\in C)\le\eta$. Letting $\eta\downarrow0$ proves $\mathbb P_s(N\in M)\to1$. Equation $2$ now forces $\delta=1$.
Conclusion and checks
Choose $k$ with $1-\delta_k<\varepsilon$. Then $1$ gives \[ d(U_k(\mathbf a))\le d(U_k(\mathbf0))=1-\delta_k<\varepsilon \] for every choice of the first $k$ residues. This is precisely the uniform conclusion.The argument does not interchange natural density with an infinite intersection: that potentially invalid step is replaced by the convergent $s>1$ probability measures. Only the zero choice in the hypothesis is needed once $1$ is proved. If $n_1=1$, the conclusion is immediate and is consistent with the proof.
SOLVED. Both classical ingredients needed for the conclusion have been established above.
Sources
H. Davenport and P. Erdős, On sequences of positive integers, Acta Arith. 2 $1936$, 147--151, https://users.renyi.hu/~p_erdos/1936-04.pdf; Rogers's inequality as discussed with references and attribution at https://www.erdosproblems.com/281.COMPLETION ESTIMATE
COMPLETION: 100%gpt pro 5.4 attempt on Math-5549
Round 2 continuation for Erdős Problems #278, #279, #281
We write $d(S)$ for natural density when it exists, $\overline d(S)$ for upper density, and $\underline d(S)$ for lower density.
Problem 281
1) ROUND-2 OBJECTIVE
We pursue (A) proof. Round 1 already gave a full proof using profinite/Haar/Dini machinery. The most promising Round-2 task is therefore not to restart from scratch, but to close the argument more cleanly by replacing that longer proof with a short classical proof built directly on the finite-prefix extremal statement already used in Round 1.
2) Round-1 FOUNDATION USED
We use two specific Round-1 facts.
- For a fixed finite set of moduli $n_1,\dots,n_k$, the density of integers avoiding chosen congruence classes is maximised when the residues are aligned (equivalently, all equal modulo their moduli). This is the finite-prefix extremal theorem from Simpson already used in Round 1.
- For aligned residues $a_i\equiv 0$, the avoided set for the first $k$ moduli is exactly the set of integers divisible by none of $n_1,\dots,n_k$.
3) NEW INSIGHT / TOOL (ROUND-2)
The new tool is a short combination of:
- the Davenport--Erdős theorem on sets of multiples, and
- the Round-1 finite-prefix extremal inequality.
This removes the need for the more elaborate profinite/Dini argument and yields a very short proof.
4) ATTACK PLAN (ROUND-2)
The only real gap left after Round 1 was conceptual economy: can the conclusion be proved directly from classical density theorems?
Yes. The plan is:
- specialise the hypothesis to the zero residues;
- apply Davenport--Erdős to the set of multiples of $\{n_i\}$;
- use the finite-prefix extremal inequality from Round 1 to transfer the estimate from the zero residues to arbitrary residues.
5) WORK (ROUND-2)
Let \[ M:=\{\,m\in\mathbf N : n_i\mid m \text{ for at least one } i\ge 1\,\} \] be the set of multiples of the sequence $(n_i)$, and let \[ M_k:=\{\,m\in\mathbf N : n_i\mid m \text{ for at least one } 1\le i\le k\,\}. \] Also let \[ F_k(\mathbf a):=\{\,m\in\mathbf Z : m\not\equiv a_i\pmod{n_i}\ \text{for all } 1\le i\le k\,\}. \]
By hypothesis, for every residue choice $(a_i)$ the full avoidance set has density $0$. In particular, for the special choice $a_i\equiv 0\pmod{n_i}$ for all $i$, the set of integers avoiding all these zero congruences has density $0$. But that set is exactly the complement of $M$. Hence \[ d(M)=1. \]
Now invoke the Davenport--Erdős theorem for sets of multiples: for an increasing sequence $(n_i)$, \[ \lim_{k\to\infty} d(M_k)=\underline d(M). \] Since $d(M)=1$, we have $\underline d(M)=1$, and therefore \[ \lim_{k\to\infty} d(M_k)=1. \] Equivalently, \[ \lim_{k\to\infty} d(F_k(\mathbf 0))=0, \] because $F_k(\mathbf 0)$ is the complement of $M_k$.
Now fix $k$. By the finite-prefix extremal theorem from Round 1 (Simpson's theorem), for every choice of residues $(a_i)$, \[ d(F_k(\mathbf a))\le d(F_k(\mathbf 0)). \] Since the right-hand side tends to $0$ as $k\to\infty$, given any $\epsilon>0$ we may choose $k$ so large that \[ d(F_k(\mathbf 0))<\epsilon. \] Then automatically, for every residue choice $(a_i)$, \[ d(F_k(\mathbf a))\le d(F_k(\mathbf 0))<\epsilon. \]
This is exactly the required conclusion.
$\square$
6) ADVERSARIAL VERIFICATION
- Did we use the hypothesis for all residue choices? Yes, but only once: we specialised it to the zero choice $a_i\equiv 0$ to deduce $d(M)=1$.
- Are the hypotheses of Davenport--Erdős satisfied? Yes. The theorem applies to an increasing sequence of positive integers and the associated set of multiples.
- Where is the finite-prefix extremal theorem used? Exactly in the inequality \[ d(F_k(\mathbf a))\le d(F_k(\mathbf 0)). \] Without that step, information about zero residues would not automatically transfer to arbitrary residues.
- Edge case $n_1=1$. Then $M=\mathbf N$ from the start, $d(M_k)=1$ for all $k\ge 1$, and the conclusion is immediate.
7) FINAL
FULL SOLUTION --- FULL PROOF.
Round 2 upgrades the Round-1 solution by giving a short classical proof: the statement follows directly from the Davenport--Erdős theorem on sets of multiples together with the finite-prefix extremal inequality from Simpson.
8) COMPLETION ESTIMATE
COMPLETION: 100%.
9) REFERENCES
- P. Erdős and R. L. Graham, Old and New Problems and Results in Combinatorial Number Theory, Monographies de L'Enseignement Mathématique 28, Geneva, 1980.
- H. Davenport and P. Erdős, On sequences of positive integers, Acta Arithmetica 2 $1936$, 147--151.
- R. J. Simpson, Exact coverings of the integers by arithmetic progressions, Discrete Mathematics 59 $1986$, 181--190.
gpt 5.2 attempt on Math-5549
OUTPUT 1) FORMAL RESTATEMENT Let $n_1<n_2<\cdots$ be integers with $n_i\ge 2$. For a choice of residues $(a_i)_{i\ge 1}$ with $a_i\in\{0,\dots,n_i-1\}$, define for each $k\ge 1$ the uncovered set \[U_k(a)=\{m\in\mathbb{Z}: m\not\equiv a_i\!\!\!\pmod{n_i}\ \text{for all }1\le i\le k\}.\] This set is periodic modulo $L_k=\mathrm{lcm}(n_1,\dots,n_k)$, hence has a natural density $\mathbf{d}(U_k(a))$. Define also the infinite uncovered set $U_\infty(a)=\bigcap_{k\ge 1}U_k(a)$; the hypothesis assumes $\mathbf{d}(U_\infty(a))=0$ for every choice $a$.
Question: Does $\mathbf{d}(U_\infty(a))=0$ for all residue choices $a$ imply the following uniform finite approximation property? For every $\epsilon>0$ there exists $k$ such that for every $a$, $\mathbf{d}(U_k(a))<\epsilon$.
2) QUICK LITERATURE/CONTEXT CHECK Browsing is not available. I only record what the statement itself claims: the hypothesis implies $\sum 1/n_i=\infty$; and if the $n_i$ are pairwise coprime then $\sum 1/n_i=\infty$ is sufficient for the hypothesis. I prove the pairwise coprime claim and in that case the uniform conclusion holds with an explicit formula.
3) ATTACK PLAN Proof track: 1. Understand $U_k(a)$ as a subset of $\mathbb{Z}/L_k\mathbb{Z}$ and compute its density by counting residues. 2. In the pairwise coprime case, use CRT to compute $\mathbf{d}(U_k(a))$ exactly and show uniformity. 3. For general $(n_i)$, try compactness/Dini-type arguments on the space of residue choices; identify where density of $\bigcap_k U_k(a)$ fails to be continuous from above.
Disproof track: 1. Try to build $(n_i)$ where each individual residue choice eventually covers density $1$, but the rate depends strongly on the choice, preventing a uniform $k(\epsilon)$.
Chosen path: complete solution in the pairwise coprime case; general case remains open.
4) WORK Lemma 1 (Pairwise coprime density formula). Assume $\gcd(n_i,n_j)=1$ for all $i\ne j$. Then for every choice of residues $a$ and every $k\ge 1$, \[\mathbf{d}(U_k(a))=\prod_{i=1}^k\left(1-\frac{1}{n_i}\right).\] In particular, $\mathbf{d}(U_k(a))$ is independent of the residues $a_1,\dots,a_k$.
Proof. Let $L_k=\prod_{i=1}^k n_i$ (pairwise coprime). By periodicity, $\mathbf{d}(U_k(a))$ equals the proportion of residues $x\bmod L_k$ that avoid all congruences $x\equiv a_i\pmod{n_i}$. For each fixed $i$, there are exactly $n_i-1$ residues modulo $n_i$ that avoid $a_i$. By CRT, choices modulo the $n_i$ combine independently, so the number of residues modulo $L_k$ that avoid all $k$ congruences is $\prod_{i=1}^k (n_i-1)$. Divide by $L_k=\prod_i n_i$ to get the stated product. $\square$
Lemma 2 (Uniformity in the pairwise coprime case). Under the same pairwise coprime assumption, if $\sum_{i\ge 1}\frac1{n_i}=\infty$ then for every $\epsilon>0$ there exists $k$ such that for every residue choice $a$, \[\mathbf{d}(U_k(a))<\epsilon.\]
Proof. By Lemma 1, $\mathbf{d}(U_k(a))=\prod_{i=1}^k(1-1/n_i)$ for all $a$. Using $\log(1-x)\le -x$ for $x\in(0,1)$, \[\log\left(\prod_{i=1}^k(1-\tfrac1{n_i})\right)=\sum_{i=1}^k \log(1-\tfrac1{n_i})\le -\sum_{i=1}^k \frac1{n_i}.\] Since $\sum 1/n_i=\infty$, the right-hand side tends to $-\infty$, so the product tends to $0$. Thus choose $k$ with $\prod_{i=1}^k(1-1/n_i)<\epsilon$; this $k$ works uniformly in $a$. $\square$
FAST REALITY CHECK (computation). For $n_i$ equal to the first $10$ primes, the product in Lemma 1 equals: after $1$ prime: $1/2\approx 0.5$; after $2$ primes: $1/3\approx 0.333$; after $3$ primes: $4/15\approx 0.2667$; after $5$ primes: $16/77\approx 0.2078$; after $10$ primes: $442368/2800733\approx 0.1579$. This illustrates the decay (slowly) toward $0$ when $\sum 1/n_i$ diverges.
5) VERIFICATION - Lemma 1 uses CRT; the key is that avoiding $a_i$ modulo each $n_i$ is counted independently when moduli are coprime. - Lemma 2’s inequality $\log(1-x)\le -x$ is standard and makes the divergence of $\sum 1/n_i$ force the product to $0$. - This does not address the general non-coprime case, where overlaps between congruences can be forced.
6) FINAL UNRESOLVED
(i) Strongest fully proved partial result: If the $n_i$ are pairwise coprime and $\sum 1/n_i=\infty$, then the hypothesis holds and the desired uniform finite approximation holds (Lemmas 1–2), with an explicit formula for the uncovered density after $k$ congruences.
(ii) First gap: Remove the pairwise coprime hypothesis: prove (or disprove) that “$\mathbf{d}(U_\infty(a))=0$ for all residue choices $a$” implies the uniform statement “$\sup_a \mathbf{d}(U_k(a))\to 0$”.
(iii) Top 3 next moves: 1. Formalize the space of residue choices $a\in\prod_i(\mathbb{Z}/n_i\mathbb{Z})$ and study continuity/compactness arguments for $a\mapsto \mathbf{d}(U_k(a))$ and the limit $k\to\infty$. 2. Search for a counterexample sequence $(n_i)$ with many shared prime factors, where one can choose early residues to make $U_k(a)$ large for arbitrarily large $k$ while still forcing $\mathbf{d}(U_\infty(a))=0$ for each fixed $a$. 3. Attempt to prove a general inequality bounding $\sup_a \mathbf{d}(U_k(a))$ in terms of $\sum_{i>k}1/n_i$ (or a refined “independence” measure).
(iv) Minimal counterexample structure (if the implication were false): A sequence $(n_i)$ with heavy multiplicative overlap (many shared primes) so that for each fixed residue choice $a$ the infinite family eventually covers density $1$, but for every $k$ one can choose residues on the first $k$ moduli to leave uncovered density bounded below by some $\epsilon_0>0$.