betaFeedback

WorksMathematics

Local Capacity and Thresholds for Simultaneous Egyptian Fraction Packings

Abstract

We study pairwise disjoint sets of denominators in a common interval whose reciprocal sums are prescribed rational numbers. Put L=log⁡NL=\log N and U=log⁡LU=\log L. For targets in a fixed compact subinterval of (1/d,∞)(1/d,\infty) satisfying a common denominator condition, our sufficient and necessary bounds give the same first two terms in the loss from the harmonic mass of [d,N][d,N], namely U2/(2L)+Ulog⁡U/LU^2/(2L)+U\log U/L. The construction also bounds the number of terms in each group. For unit targets, let CN\mathfrak C_N be the maximum reciprocal mass compatible with the zero-residue conditions at the primes above N\sqrt N. For all but O(X11/12)O(X^{11/12}) integers N≤XN\le X, both the maximum number of disjoint unit sums and the largest integer representable by a single subset are equal to ⌊CN⌋\lfloor\mathfrak C_N\rfloor. If XjX_j denotes either the least height permitting jj disjoint unit sums or the least height permitting one representation of jj, then log⁡Xj=j−γ+(log⁡j)22j+log⁡j log⁡log⁡jj+O ⁣(log⁡j log⁡log⁡log⁡jj). \log X_j=j-\gamma+\frac{(\log j)^2}{2j} +\frac{\log j\,\log\log j}{j} +O\!\left(\frac{\log j\,\log\log\log j}{j}\right).

The packing problem and a uniform construction

Write [d,N]={d,d+1,…,N}[d, N] = \{d, d + 1, \ldots, N\}, H(S)=∑n∈S1/n\mathcal{H}(S) = \sum_{n \in S} 1/n, and HN=H([1,N])H_N = \mathcal{H}([1, N]), with H0=0H_0 = 0. All logarithms are natural. For large NN put

L=log⁡N,U=log⁡L,E(N)=U2L,y=N1/20,L = \log N,\qquad U = \log L,\qquad E(N) = \frac{U^2}{L},\qquad y = N^{1/20},

and define the common denominator

DN=lcm⁡(1,…,⌊y⌋)∏y<p≤Np primep.(1)D_N = \operatorname{lcm}(1,\ldots,\lfloor y\rfloor)\prod_{\substack{y < p \le\sqrt{N}\\ p\ \mathrm{prime}}}p. \tag*{(1)}

For a rational ss, let den⁡(s)\operatorname{den}(s) denote its positive reduced denominator. An integer is yy-powersmooth if all its prime-power divisors are at most yy. Thus a divisor of DND_N may also contain primes in (y,N](y, \sqrt{N}], each to exponent at most one.

Erdős and Graham [5] asked how many disjoint subsets of [1,N][1, N] can each have reciprocal sum 1. As recorded in Problem 296 of Bloom’s database [2], Hunter and Sawhney observed that a greedy application of Bloom’s density theorem [1] gives k(N)=(1−o(1))log⁡Nk(N) = (1 - o(1))\log N. For the related problem of representing a single integer, Croot [3] proved capacity bounds with coefficients 9/29/2 and 1/21/2 on the scale E(N)E(N), and proposed sharpness of the latter (see the discussion after his main theorem). In the inverse-height formulation, Yokota [8, Theorem 1 and Corollary 1] obtained log⁡Tj≤j−γ+(π2/3+o(1))(log⁡j)2/j\log T_j \le j - \gamma+ (\pi^2/3 + o(1))(\log j)^2/j, where TjT_j is the least height permitting a representation of the integer jj. This records the improvement without suppressing the integer rounding in the counting formulation. The distinction between representing an integer and partitioning a representation into prescribed sums is important. A union of disjoint unit-sum sets has integer reciprocal sum, but we do not assume any converse.

Here we establish a more general packing theorem, for a list of rational targets which may depend on NN. It simultaneously controls total reciprocal mass and individual cardinalities.

Theorem 1 (Simultaneous rational packing). Fix constants 0<a≤A<∞0<a\le A<\infty and a positive integer dd with 1/d<a1/d<a. There are constants C>0C>0 and N0N_0 depending only on a,A,da,A,d with the following property. For N≥N0N\ge N_0, let r1,…,rm∈[a,A]∩Qr_1,\ldots,r_m\in[a,A]\cap\mathbb{Q} be a finite nonempty list with den⁡(ri)∣DN\operatorname{den}(r_i)\mid D_N. Set R=∑iriR=\sum_i r_i and W=HN−Hd−1W=H_N-H_{d-1}.

(i) If

R≤W−U22L−CUlog⁡UL,(2)R\le W-\frac{U^2}{2L}-C\frac{U\log U}{L}, \tag*{(2)}

then there exist pairwise disjoint S1,…,Sm⊆[d,N]S_1,\ldots,S_m\subseteq[d,N] with H(Si)=ri\mathcal{H}(S_i)=r_i and

∣Si∣≤Nrimax⁡{R,L/2}+CNL2(1≤i≤m).(3)|S_i|\le\frac{Nr_i}{\max\{R,L/2\}}+C\frac{N}{L^2}\qquad(1\le i\le m). \tag*{(3)}

(ii) Conversely, if pairwise disjoint sets with these reciprocal sums exist (without any cardinality restriction), then

R≤W−U22L+CUL.(4)R\le W-\frac{U^2}{2L}+C\frac{U}{L}. \tag*{(4)}

All constants are uniform over the list of targets, including their numerators and denominators.

In particular, for each fixed ϵ>0\epsilon>0, mass at most W−(1/2+ϵ)E(N)W-(1/2+\epsilon)E(N) suffices, while mass greater than W−(1/2−ϵ)E(N)W-(1/2-\epsilon)E(N) is impossible once NN is sufficiently large. The coefficient 1/21/2 is sharp in this threshold sense; integer rounding must be retained in specializations to equal targets.

Proof strategy. For the initial uniform bound, the height bound of Yokota [7], refined by Liu and Sawhney [6], supplies short modular covers. We use one cover for each prime above N\sqrt{N}, cancelling that prime from the sum of its entire available block of multiples. This is related to the deletion strategy of Croot [3]; the additional packing step is to retain these corrected blocks as indivisible objects. The blocks are then ordered by cardinality divided by reciprocal mass and allocated by minimum normalized load. This controls the cardinality of every group via a tail-mass estimate. Disjoint medium-prime repair pools and prime-marked smooth closures handle the individual residuals. We give all these steps explicitly below.

Further results. Section 8 applies the construction to fixed rational targets, unit sums, integer sums and packings with a prescribed bound on the number of terms. Theorem 12 determines the next term in the capacity loss. Its proof combines short modular covers for almost all primes with an upper bound on the number of distinct rational reciprocal sums. For unit targets, Theorem 16 uses the actual minimum deletion in each large-prime block and retains individual length bounds. Corollary 17 then locates the heights at which integer rounding can affect the answer.

Arithmetic preliminaries

The denominator of a sum or difference of rationals divides the least common multiple of their denominators. We use this both for powersmoothness and for the stronger condition of dividing DND_N. Congruences of rationals modulo a prime pp are taken in Z(p)={a/b∈Q:p∤b}\mathbb{Z}_{(p)}=\{a/b\in\mathbb{Q}:p\nmid b\}, with reduction into Fp\mathbb{F}_p.

Lemma 2 (Modular coverage). For every sufficiently large prime pp and every a∈Fpa\in\mathbb{F}_p, some subset J⊆[1,q(p)]J\subseteq[1,q(p)] satisfies ∑b∈Jb−1=a\sum_{b\in J}b^{-1}=a in Fp\mathbb{F}_p, where

q(p)=⌊log⁡p(log⁡log⁡p)4⌋.q(p)=\left\lfloor\log p(\log\log p)^4\right\rfloor.

Proof. The case a=0a=0 is immediate. For the representative 1≤a<p1\leq a<p, Theorem 1.5 of Liu and Sawhney [6] gives a distinct unit-fraction representation of a/pa/p with largest denominator at most plog⁡p(log⁡log⁡p)3(log⁡log⁡log⁡p)O(1)≤pq(p)p\log p(\log\log p)^3(\log\log\log p)^{O(1)}\leq pq(p) for all sufficiently large pp, uniformly in aa. Since q(p)<pq(p)<p, no denominator is divisible by p2p^2. Multiply by pp and reduce modulo pp: denominators coprime to pp contribute zero, and denominators of the form pbpb contribute b−1b^{-1}. The corresponding distinct cofactors b≤q(p)b\leq q(p) give the assertion. Alternatively, the bound of Yokota [7], as also recorded in [6 Section 1], gives a distinct unit-fraction representation of a/pa/p with largest denominator ≪plog⁡p(log⁡log⁡p)4(log⁡log⁡log⁡p)2\ll p\log p(\log\log p)^4(\log\log\log p)^2, uniformly in aa. Since (log⁡log⁡log⁡p)2=o(log⁡log⁡p)(\log\log\log p)^2=o(\log\log p), the implied constant is absorbed for sufficiently large pp by taking the denominator bound pqY(p)pq_Y(p), where qY(p)=⌊log⁡p(log⁡log⁡p)5⌋<pq_Y(p)=\left\lfloor\log p(\log\log p)^5\right\rfloor<p. The identical reduction therefore proves the modular coverage statement with q(p)q(p) replaced by qY(p)q_Y(p). This alternative suffices for all conclusions of Theorem 1; the necessary parameter changes are recorded after (14). □\square

We record elementary estimates used in the smooth closure and in the construction. The prime number theorem gives log⁡lcm⁡(1,…,⌊x⌋)=(1+o(1))x\log\operatorname{lcm}(1,\ldots,\lfloor x\rfloor)=(1+o(1))x. Also

∑pb>zb≥2p−b≪z−1/2.(5)\sum_{\substack{p^b>z\\b\geq2}}p^{-b}\ll z^{-1/2}. \tag*{(5)}

Indeed, for p≤zp\leq\sqrt z the geometric tail starting at the first pb>zp^b>z, b≥2b\geq2, is at most 2/z2/z, and for p>zp>\sqrt z it is at most 2/p22/p^2. Summing proves the estimate. For each fixed integer u≥2u\geq2 and all sufficiently large TT, the interval (T,2T](T,2T] contains ≫uT\gg_u T integers whose prime-power divisors are at most T1/uT^{1/u}. Indeed the fixed-parameter smooth-number estimate [4 Section II] first gives this lower bound with a restriction on prime factors. The integers excluded by a prime power pb>T1/up^b>T^{1/u}, b≥2b\geq2, number at most 2T2T times the sum in (5), which is o(T)o(T). Taking u=20u=20 and T=N/2T=N/2 supplies ≫N\gg N yy-powersmooth integers in [N/2,N][N/2,N].

We also need a fixed C0>1C_0>1 for which the X1/5X^{1/5}-powersmooth integers in [X,C0X][X,C_0X] have total reciprocal mass at least 3/23/2 for all large XX. For T=2jXT=2^jX the estimate with u=6u=6 supplies at least cTcT integers in (T,2T](T,2T], each of weight at least 1/(2T)1/(2T), with an absolute c>0c>0. Choose an integer JJ with Jc/2≥3/2Jc/2\geq3/2. For 0≤j<J0\leq j<J one has (2jX)1/6≤X1/5(2^jX)^{1/6}\leq X^{1/5} for all sufficiently large XX. The intervals are disjoint, so C0=2JC_0=2^J suffices.

Lemma 3 (Uniform smooth closure). There are absolute constants C0>1C_0>1 and X0X_0 such that for every integer X≥X0X\geq X_0 and every rational s∈[1/2,3/4]s\in[1/2,3/4] whose reduced denominator is X1/5X^{1/5}-powersmooth, there exists a finite set T⊆[X,C0X]T\subseteq[X,C_0X] of X1/5X^{1/5}-powersmooth integers with H(T)=s\mathcal{H}(T)=s.

Proof. This is a uniform specialization of Croot’s Proposition 2 [4 pp. 103–104], with parameter ε=1/20\varepsilon=1/20. We give the needed special case of his Fourier argument, including a short-interval separation estimate, so that the uniformity and the divisor multiplicity bound are explicit. Put P=lcm⁡(1,…,⌊X1/5⌋)P=\operatorname{lcm}(1,\ldots,\lfloor X^{1/5}\rfloor), so that Ps∈ZPs\in\mathbb{Z}, and let

Y0={n∈[X,(1+1/log⁡X)X]:n∣P}.Y_0=\{n\in[X,(1+1/\log X)X]:n\mid P\}.

Here and below ∥t∥\lVert t\rVert denotes the distance of a real number tt to the nearest integer.

Short-interval separation. We first prove that, uniformly for integers hh with X/2<∣h∣≤P/2X/2<|h|\le P/2, there are ≫X3/4\gg X^{3/4} elements n∈Y0n\in Y_0 with ∥h/n∥≥X−1/4/2\lVert h/n\rVert\ge X^{-1/4}/2. This adapts Croot’s Lemma 5 and its proof [4 pp. 112–114]. Let M=X3/4(log⁡X)3M=X^{3/4}(\log X)^3. There are ≫M\gg M integers v∈[M,2M]v\in[M,2M] dividing PP: the M1/4M^{1/4}-powersmooth integers in this interval alone number ≫M\gg M by the preceding powersmooth estimate, and M1/4<X1/5M^{1/4}<X^{1/5} for large XX. For each such vv, set

M(v)={n∈Y0:v∣n, ω(n/v)≤3},\mathcal{M}(v)=\{n\in Y_0:v\mid n,\ \omega(n/v)\le3\},

where ω\omega counts distinct prime factors. We claim lcm⁡M(v)=P\operatorname{lcm}\mathcal{M}(v)=P.

To prove this identity, fix a maximal prime power pα≤X1/5p^\alpha\le X^{1/5} for a prime p∣Pp\mid P, and let pep^e be the exact power of pp dividing vv (with e=0e=0 if p∤vp\nmid v). Then e≤αe\le\alpha. Put z=(X/(vpα−e))1/2z=(X/(vp^{\alpha-e}))^{1/2} and choose distinct primes ℓ1,ℓ2\ell_1,\ell_2 not dividing vpvp in the interval

[z,z1+1/log⁡X].[z,z\sqrt{1+1/\log X}].

Such primes exist uniformly in vv and pp. Indeed

X1/402(log⁡X)3/2≤z≤X1/8(log⁡X)3/2.\frac{X^{1/40}}{\sqrt{2}(\log X)^{3/2}}\le z\le\frac{X^{1/8}}{(\log X)^{3/2}}.

The interval has length ≍z/log⁡X\asymp z/\log X and its endpoints have logarithms comparable to log⁡X\log X. The classical quantitative PNT, π(t)=Li⁡(t)+O(texp⁡(−clog⁡t))\pi(t)=\operatorname{Li}(t)+O(t\exp(-c\sqrt{\log t})) for some c>0c>0, gives ≫z/(log⁡X)2\gg z/(\log X)^2 primes in this interval, uniformly. This number exceeds ω(vp)+2=O(log⁡X)\omega(vp)+2=O(\log X) for all sufficiently large XX. In particular the primes can be chosen outside the factors of both vv and pp. They are less than X1/5X^{1/5}. The integer vpα−eℓ1ℓ2vp^{\alpha-e}\ell_1\ell_2 belongs to Y0Y_0 (its prime-power factors do not exceed X1/5X^{1/5}), is divisible by pαp^\alpha, and belongs to M(v)\mathcal{M}(v). Every maximal prime power in PP thus divides some member of M(v)\mathcal{M}(v), and all members divide PP. The claimed identity follows.

Consider the open interval I=(h−X3/4,h+X3/4)I=(h-X^{3/4},h+X^{3/4}). Since X/2<∣h∣≤P/2X/2<|h|\le P/2 and X3/4<X/2X^{3/4}<X/2 eventually, II contains no multiple of PP. If every member of M(v)\mathcal{M}(v) divided an integer in II, all these integers would have to coincide: they are multiples of vv and v>2X3/4v>2X^{3/4}. The lcm identity would then force a multiple of PP in II. Consequently for each vv there is a witness n∈M(v)n\in\mathcal{M}(v) dividing no integer in II.

For any fixed witness nn, its possible cofactors n/vn/v are divisors qq of nn with ω(q)≤3\omega(q)\le3. The total number of nontrivial prime powers dividing nn is Ω(n)≤log⁡n/log⁡2=O(log⁡X)\Omega(n)\le\log n/\log2=O(\log X), where Ω\Omega counts prime factors with multiplicity. Each such qq is a product of at most three of these prime powers. Hence

#{q:q∣n, ω(q)≤3}≤∑k=03Ω(n)k=O((log⁡X)3).\#\{q:q\mid n,\ \omega(q)\le3\}\le\sum_{k=0}^{3}\Omega(n)^k=O((\log X)^3).

This is the multiplicity bound needed here in place of the stronger little-oo estimate displayed on p. 113 of [4]. Counting the ≫M\gg M carriers with this multiplicity bound gives ≫M/(log⁡X)3≫X3/4\gg M/(\log X)^3\gg X^{3/4} distinct witnesses. For each, the distance from hh to the nearest multiple of nn is at least X3/4X^{3/4}, so n≤2Xn\le2X implies ∥h/n∥≥X−1/4/2\lVert h/n\rVert\ge X^{-1/4}/2. This proves the separation estimate.

Fourier closure. Take C0C_0 as in the dyadic mass bound above. Let YY consist of the X1/5X^{1/5}-powersmooth integers in the shortest initial interval of [X,C0X][X,C_0X] whose mass is at least 2s2s. The preceding smooth estimate guarantees its existence for all large XX, uniformly in ss. Then

0≤H(Y)−2s≤1/X,∣Y∣≥X.0\le\mathcal{H}(Y)-2s\le1/X,\qquad|Y|\ge X.

Moreover YY includes every X1/5X^{1/5}-powersmooth integer in [X,(1+1/log⁡X)X][X,(1+1/\log X)X], since even the unrestricted mass of this short interval is o(1)o(1), whereas 2s≥12s \ge1.

Write e(t)=exp⁡(2πit)e(t)=\exp(2\pi i t) and F(h)=∏n∈Y(1+e(h/n))F(h)=\prod_{n\in Y}(1+e(h/n)). The number of subsets of YY with reciprocal sum congruent to ss modulo 11 is

P−1∑−P/2<h≤P/2e(−hs)F(h).P^{-1}\sum_{-P/2<h\le P/2}e(-hs)F(h).

For ∣h∣≤X/2|h|\le X/2, the real part of e(−hs)F(h)e(-hs)F(h) is nonnegative: the factors cos⁡(πh/n)\cos(\pi h/n) are nonnegative, and the remaining phase is πh(H(Y)−2s)\pi h(\mathcal{H}(Y)-2s) of absolute value at most π/2\pi/2. At h=0h=0 the contribution is 2∣Y∣2^{|Y|}. For X/2<∣h∣≤P/2X/2<|h|\le P/2, the separation estimate gives ≫X3/4\gg X^{3/4} integers n∈Y0⊆Yn\in Y_0\subseteq Y with ∥h/n∥≥X−1/4/2\|h/n\|\ge X^{-1/4}/2. Using ∣1+e(h/n)∣=2∣cos⁡(πh/n)∣|1+e(h/n)|=2|\cos(\pi h/n)| and ∣cos⁡(πt)∣≤exp⁡(−c∥t∥2)|\cos(\pi t)|\le\exp(-c\|t\|^2) for an absolute c>0c>0, together with log⁡P=(1+o(1))X1/5\log P=(1+o(1))X^{1/5}, we obtain

∣F(h)∣≤2∣Y∣exp⁡(−c′′X1/4)=o(2∣Y∣/P).|F(h)|\le2^{|Y|}\exp(-c''X^{1/4})=o(2^{|Y|}/P).

The sum of the absolute values of all high-frequency terms is o(2∣Y∣)o(2^{|Y|}), as there are at most PP frequencies. The nonnegative real parts at low frequencies, including 2∣Y∣2^{|Y|} at zero, therefore imply positivity of the Fourier sum for all large XX, uniformly in ss. Finally every subset sum is nonnegative and at most 2s+1/X<s+12s+1/X<s+1, while s−1<0s-1<0. Therefore a congruence to ss modulo 11 is an exact equality. This proves the claimed uniform form without any dependence on the varying numerator or denominator.

Lemma 4 (Large-prime mass). If w=U+O(log⁡U)w=U+O(\log U) and w>0w>0, then

∑Ne−w<p≤NH⌊N/p⌋p=w22L+O(U/L).(6)\sum_{Ne^{-w}<p\le N}\frac{H_{\lfloor N/p\rfloor}}{p}=\frac{w^2}{2L}+O(U/L). \tag*{(6)}

This is exactly the mass of all integers in [1,N][1,N] divisible by at least one of the indicated primes.

Proof. These primes exceed N\sqrt{N}, so their sets of multiples are disjoint. Uniformly for p≤Np\le N, H⌊N/p⌋=log⁡(N/p)+O(1)H_{\lfloor N/p\rfloor}=\log(N/p)+O(1). By the prime number theorem and partial summation, the error contributes O(w/L)O(w/L). To make the main term quantitative use the classical PNT error π(t)=Li⁡(t)+O(texp⁡(−clog⁡t))\pi(t)=\operatorname{Li}(t)+O(t\exp(-c\sqrt{\log t})) (any error O(t/(log⁡t)3)O(t/(\log t)^3) suffices here). For g(t)=log⁡(N/t)/tg(t)=\log(N/t)/t, partial summation on [Ne−w,N][Ne^{-w},N] bounds the resulting error by O((w+w2)e−c′L)O((w+w^2)e^{-c'\sqrt{L}}). Consequently the main term equals

∫Ne−wNlog⁡(N/t)tlog⁡t dt=∫0wvL−v dv=w22L+O(w3/L2).\int_{Ne^{-w}}^N\frac{\log(N/t)}{t\log t}\,dt=\int_0^w\frac{v}{L-v}\,dv=\frac{w^2}{2L}+O(w^3/L^2).

Since w≍Uw\asymp U, the stated bound follows.

The arithmetic obstruction

We prove Theorem 1(ii) first. Let rr be any rational whose reduced denominator divides DND_N, and suppose H(S)=r\mathcal{H}(S)=r for S⊆[d,N]S\subseteq[d,N]. If a prime p>10N/Lp>10N/L divides some element of SS, set q=⌊N/p⌋q=\lfloor N/p\rfloor and J={b:pb∈S}J=\{b:pb\in S\}. For large NN, p>Np>\sqrt{N} and p∤den⁡(r)p\nmid\operatorname{den}(r). Multiplying by pp and reducing modulo pp gives

∑b∈Jb−1=0in Fp.\sum_{b\in J}b^{-1}=0\quad\text{in }\mathbb{F}_p.

The set J⊆[1,q]J\subseteq[1,q] is nonempty. Put D=lcm⁡(1,…,q)D=\operatorname{lcm}(1,\ldots,q); the positive integer D∑b∈J1/bD\sum_{b\in J}1/b must be divisible by pp. But q<L/10q<L/10, p∤Dp\nmid D, and the PNT gives log⁡D≤2q+O(1)\log D\le2q+O(1). Hence this integer is at most DHq≪N1/5(1+log⁡L)<pDH_q\ll N^{1/5}(1+\log L)<p, a contradiction.

None of the multiples of primes above 10N/L10N/L can therefore occur in any of the representations. For large NN all these multiples lie in [d,N][d,N], and their total mass by Lemma 4 with w=U−log⁡10w=U-\log10 is U2/(2L)+O(U/L)U^2/(2L)+O(U/L). Summing the representations proves (4). The argument also applies to any single integer reciprocal sum, even one depending on NN and not bounded above.

Common repair pools

For the rest of the proof assume (2). We use

Q=⌊LU4⌋,Z=N/Q,Q0=⌊L12⌋.(7)Q=\left\lfloor LU^{4}\right\rfloor,\qquad Z=N/Q,\qquad Q_0=\left\lfloor L^{12}\right\rfloor. \tag*{(7)}

Thus 2Q0<y<N<Z<N2Q_0<y<\sqrt{N}<Z<N for sufficiently large NN. If R<L/2R<L/2, append copies of a fixed positive integer b≥ab\ge a until the total target mass R~\widetilde{R} first reaches L/2L/2. The resulting targets are bounded by max⁡(A,b)\max(A,b) and their denominators still divide DND_N. The total is less than L/2+bL/2+b, so (2) still holds for the enlarged list for large NN. If R≥L/2R\ge L/2, take R~=R\widetilde{R}=R. Relabel the enlarged list as r1,…,rmr_1,\ldots,r_m, keeping the original targets first; the auxiliary groups will be discarded at the end. Thus throughout the construction

L/2≤R~≤L+Od(1),m=Oa(L),R~≥max⁡{R,L/2}.(8)L/2\le\widetilde{R}\le L+O_d(1),\qquad m=O_a(L),\qquad\widetilde{R}\ge\max\{R,L/2\}. \tag*{(8)}

All implicit constants in the construction may depend on the fixed aa, AA, dd and the fixed choice of bb.

Lemma 5 (Powersmooth dilation). Let A∈NA\in\mathbb{N} satisfy 1≤A≤2Q01\le A\le2Q_0 and let p>yp>y be a prime with pA≤NpA\le N. There is a positive integer tt such that

NB0pA≤t≤NpA,ta is y-powersmooth for every 1≤a≤A,\frac{N}{B_0pA}\le t\le\frac{N}{pA},\qquad ta\text{ is }y\text{-powersmooth for every }1\le a\le A,

where B0B_0 is an absolute constant. In particular p∤tap\nmid ta.

Proof. Let B0B_0 be the largest of the first 40 primes. For each such prime ℓ\ell allow powers up to the largest ℓe≤y/A\ell^e\le y/A. The product of the 40 maximal powers is ≫(y/A)40>N\gg(y/A)^{40}>N for all sufficiently large NN. Starting at 1, multiply by the allowed prime factors one at a time until the next multiplication would exceed N/(pA)N/(pA). The last product tt is within a factor B0B_0 of this target. Every prime-power component of tt is at most y/Ay/A. For a≤Aa\le A, multiplying by aa increases any one prime-power component by at most AA, including primes not dividing tt. Thus tata is yy-powersmooth.

Lemma 6 (Disjoint covers for medium primes). There exist pairwise disjoint sets L1,…,Lm\mathcal{L}_1,\ldots,\mathcal{L}_m of primes in (Q0,2Q0](Q_0,2Q_0], each of size ⌊L10⌋\lfloor L^{10}\rfloor, with the following property. For every prime y<p≤Ny<p\le\sqrt{N}, every ii and every a∈Fpa\in\mathbb{F}_p there is J⊆LiJ\subseteq\mathcal{L}_i with ∑ℓ∈Jℓ−1=a\sum_{\ell\in J}\ell^{-1}=a in Fp\mathbb{F}_p.

Proof. By the PNT there are ≫Q0/log⁡Q0\gg Q_0/\log Q_0 primes in (Q0,2Q0](Q_0,2Q_0]. By (8), m⌊L10⌋≪aL11=o(Q0/log⁡Q0)m\lfloor L^{10}\rfloor\ll_a L^{11}=o(Q_0/\log Q_0), so we can choose disjoint sets of the indicated size. Choose each ℓ∈Li\ell\in\mathcal{L}_i independently with probability 1/21/2. At frequency h∈{1,…,p−1}h\in\{1,\ldots,p-1\} the modulus of the Fourier coefficient of the resulting subset sum is

∏ℓ∈Li∣cos⁡(πzℓ/p)∣,\prod_{\ell\in\mathcal{L}_i}\left|\cos(\pi z_\ell/p)\right|,

where zℓz_\ell is the centered integer representative of hℓ−1(modp)h\ell^{-1}\pmod p. If ∣zℓ∣<p/L3|z_\ell|<p/L^3, then ℓzℓ=h+jp\ell z_\ell=h+jp with ∣j∣≤2Q0/L3+1|j|\le2Q_0/L^3+1. For each such jj the integer h+jph+jp is nonzero and of absolute size O(NQ0)O(NQ_0), so at most O(L/log⁡Q0)O(L/\log Q_0) distinct primes ℓ≥Q0\ell\ge Q_0 divide it. The number of exceptional ℓ\ell is therefore O(Q0/(L2log⁡Q0))=o(∣Li∣)O(Q_0/(L^2\log Q_0))=o(|\mathcal{L}_i|), uniformly in pp, ii, hh. All other factors are at most exp⁡(−c/L4)\exp(-c/L^4) for an absolute c>0c>0. Hence every nonzero Fourier coefficient has modulus at most

exp⁡(−c′L4)<N−2\exp(-c'L^4)<N^{-2}

for some c′>0c'>0 depending only on aa. Fourier inversion shows that the probability of every specified residue is at least p−1(1−(p−1)N−2)>0p^{-1}(1-(p-1)N^{-2})>0.

Reserving the repair pools

Choose distinct marker primes P1,…,PmP_1,\ldots,P_m in (N,2N](\sqrt{N},2\sqrt{N}], possible by the PNT. For each medium prime y<p≤Ny<p\le\sqrt{N} fix tpt_p from Lemma 5 with A=2Q0A=2Q_0, and reserve the sets

Ci,p={ptpℓ:ℓ∈Li}.(9)\mathcal{C}_{i,p}=\{pt_p\ell:\ell\in\mathcal{L}_i\}. \tag*{(9)}

Each element lies in [N/(2B0),N][N/(2B_0),N]. Its only prime factor greater than yy is pp, occurring to the first power; the remaining cofactor is yy-powersmooth. Hence all these sets are mutually disjoint, first by their unique large prime, then by disjointness of the sets Li\mathcal{L}_i for a fixed pp. None contains a marker prime as a factor. Their total mass, summed over all i,pi,p, is

H(⋃i,pCi,p)≪Q0N.(10)\mathcal{H}\left(\bigcup_{i,p}\mathcal{C}_{i,p}\right)\ll\frac{Q_0}{\sqrt{N}}. \tag*{(10)}

Indeed there are at most O(NQ0)O(\sqrt{N}Q_0) candidates, each of weight O(1/N)O(1/N).

Independently choose a set R\mathcal{R} of ⌊N/L4⌋\lfloor N/L^4\rfloor yy-powersmooth integers in [N/2,N][N/2,N], using the smooth-number estimate of Section 2. It has mass between L−4L^{-4} and O(L−4)O(L^{-4}), and is disjoint from every set in (9) by powersmoothness.

The available base set

Let VV be obtained from [d,N][d,N] by deleting all integers having a prime factor greater than ZZ, all integers divisible by pb>yp^b>y with b≥2b\ge2, all multiples of any marker PiP_i, and both reserved pools ⋃i,pCi,p\bigcup_{i,p}\mathcal{C}_{i,p} and R\mathcal{R}. The first restriction deletes mass

U22L+O(Ulog⁡U/L),\frac{U^2}{2L}+O(U\log U/L),

by Lemma 4 with w=log⁡Q=U+4log⁡U+o(1)w=\log Q=U+4\log U+o(1). By (5) the total mass deleted by all other restrictions is at most

∑pb>yb≥2p−bH(⌊Npb⌋)+∑i=1mPi−1H(⌊NPi⌋)+O(Q0N+L−4)≪Ly−1/2+mL/N+Q0/N+L−4=o(U/L).\begin{aligned} \sum_{\substack{p^b>y\\b\ge2}}p^{-b}\mathcal{H}\left(\left\lfloor\frac{N}{p^b}\right\rfloor\right)+\sum_{i=1}^{m}P_i^{-1}\mathcal{H}\left(\left\lfloor\frac{N}{P_i}\right\rfloor\right)+O\left(\frac{Q_0}{\sqrt{N}}+L^{-4}\right) \\ &\ll Ly^{-1/2}+mL/\sqrt{N}+Q_0/\sqrt{N}+L^{-4}=o(U/L). \end{aligned}

Overlaps only reduce the deletion cost. Consequently

H(V)=W−U22L+Oa,A,d(Ulog⁡U/L).(11)\mathcal{H}(V)=W-\frac{U^2}{2L}+O_{a,A,d}(U\log U/L). \tag*{(11)}

Large-prime block cancellation

This step differs from repairing the groups individually. For each prime N<p≤Z\sqrt{N}<p\le Z not equal to a marker, put

Vp={n∈V:p∣n}.V_p=\{n\in V:p\mid n\}.

The blocks VpV_p are disjoint, since a number at most NN cannot be a multiple of two distinct primes greater than N\sqrt{N}. Write σp=H(Vp)\sigma_p=\mathcal{H}(V_p). The reduced denominator of σp\sigma_p has pp-adic valuation at most one, so pσp∈Z(p)p\sigma_p\in\mathbb{Z}_{(p)}.

Lemma 7 (Block cancellation). For each such pp there is a subset Dp⊆VpD_p\subseteq V_p such that the reduced denominator of H(Vp∖Dp)\mathcal{H}(V_p\setminus D_p) is coprime to pp, and

H(Dp)≤B0QHQ/N.(12)\mathcal{H}(D_p)\le B_0QH_Q/N. \tag*{(12)}

Moreover, every prime power dividing that reduced denominator is either at most yy or is a prime at most N\sqrt{N}.

Proof. Apply Lemma 5 with A=QA=Q, obtaining a multiplier tpt_p. Its hypotheses hold because pQ≤ZQ=NpQ\le ZQ=N. We first check the crucial availability condition

{ptpa:1≤a≤Q}⊆Vp.(13)\{pt_pa:1\le a\le Q\}\subseteq V_p. \tag*{(13)}

Indeed each candidate is between p>dp>d and NN for large NN. Its only prime factor greater than yy is p≤Zp\le Z, which occurs to the first power. Its cofactor tpat_pa is yy-powersmooth, so it passes the higher prime-power restriction. It is not divisible by any marker, because pp is not a marker and all other primes are at most yy. It cannot belong to any medium repair pool, whose unique prime factor greater than yy is at most N\sqrt{N}, or to the powersmooth pool R\mathcal{R}. This verifies all the restrictions defining VV and proves (13).

Since p>Np>\sqrt{N}, Lemma 2 applies and q(p)≤Qq(p)\le Q for large NN (the defining function is increasing). Choose Jp⊆[1,Q]J_p\subseteq[1,Q] with

∑a∈Jpa−1=tp(pσp)in Fp.\sum_{a\in J_p}a^{-1}=t_p(p\sigma_p)\quad\text{in }\mathbb{F}_p.

Set Dp={ptpa:a∈Jp}D_p=\{pt_pa:a\in J_p\}. The denominators in this set are distinct, and by (13) are all available. In the local ring Z(p)\mathbb{Z}_{(p)},

p(σp−H(Dp))=pσp−tp−1∑a∈Jpa−1∈pZ(p).p(\sigma_p-\mathcal{H}(D_p))=p\sigma_p-t_p^{-1}\sum_{a\in J_p}a^{-1}\in p\mathbb{Z}_{(p)}.

It follows that σp−H(Dp)∈Z(p)\sigma_p-\mathcal{H}(D_p)\in\mathbb{Z}_{(p)}, which proves cancellation. The cost is at most (ptp)−1HQ≤B0QHQ/N(pt_p)^{-1}H_Q\le B_0QH_Q/N. The remaining sum has denominator dividing the least common multiple of the remaining denominators. None of those denominators has a second prime greater than N\sqrt{N}; all their higher prime powers are at most yy. Together with cancellation, this proves the final assertion.

Put Bp=Vp∖DpB_p=V_p\setminus D_p. The total deletion cost is

∑pH(Dp)≪ZLQHQN=O(U/L).(14)\sum_p\mathcal{H}(D_p)\ll\frac{Z}{L}\frac{QH_Q}{N}=O(U/L). \tag*{(14)}

using Z=N/QZ=N/Q, π(Z)≪Z/L\pi(Z)\ll Z/L and HQ≪UH_Q\ll U.

Alternative height-bound input (Yokota). All the preceding estimates, and hence the rest of the proof, remain valid without invoking Theorem 1.5 of [6]. Use the modular coverage variant qY(p)=⌈log⁡p(log⁡log⁡p)5⌉q_Y(p)=\lceil\log p(\log\log p)^5\rceil from [7] in Lemma 2, replace QQ in (7) by ⌊LU5⌋\lfloor LU^5\rfloor, and retain Z=N/QZ=N/Q, Q0=⌈L12⌉Q_0=\lceil L^{12}\rceil and every other parameter. We still have qY(p)≤Q≤2Q0q_Y(p)\le Q\le2Q_0 for p≤Np\le N, N<Z\sqrt{N}<Z for large NN, and pQ≤NpQ\le N for p≤Zp\le Z, as required in Lemma 7. In the base-mass calculation only the value of w=log⁡Qw=\log Q changes: it is now U+5log⁡U+o(1)U+5\log U+o(1). Thus the first deletion has mass

(log⁡Q)22L+O(U/L)=U22L+O(Ulog⁡U/L),\frac{(\log Q)^2}{2L}+O(U/L)=\frac{U^2}{2L}+O(U\log U/L),

with all other deletions unchanged in order. The total block-cancellation cost in (14) remains O(U/L)O(U/L), since ZQ=NZQ=N and HQ=O(U)H_Q=O(U). The subsequent allocation and exact-closure estimates depend only on these bounds and the unchanged medium-prime and marker pools. This gives the same main theorem and all its corollaries, with possibly different implicit constants. The main route below retains the original choice Q=⌊LU4⌋Q=\lfloor LU^4\rfloor.

Retain each nonempty BpB_p as an indivisible object. Every element of VV not divisible by a prime greater than N\sqrt{N} is retained as a singleton object. Write B\mathcal{B} for this family of mutually disjoint blocks. By (11) and (14),

∑B∈BH(B)=W−U22L+Oa,d(Ulog⁡U/L).(15)\sum_{B\in\mathcal{B}}\mathcal{H}(B)=W-\frac{U^2}{2L}+O_{a,d}(U\log U/L). \tag*{(15)}

In particular, if the constant in (2) is chosen large enough, the mass is at least R~\widetilde{R}, including in the padded case. Each block has reciprocal sum with reduced denominator dividing DND_N. Also, every block originating from a large prime pp has mass at most HN/NH_N/\sqrt{N} and all its denominators exceed N\sqrt{N}. These properties also hold if such a block contains just one element.

Only one modular cover per large prime is required, regardless of how many target representations are requested. Medium primes instead have separate repair covers for every group.

Allocation with cardinality control

For each nonempty block B∈BB \in\mathcal{B} put

w(B)=H(B),c(B)=∣B∣,x(B)=c(B)/w(B).w(B)=\mathcal{H}(B), \qquad c(B)=|B|, \qquad x(B)=c(B)/w(B).

The effective denominator x(B)x(B) is the harmonic mean of the elements of BB, and x(B)≤Nx(B) \le N. Order the blocks by nondecreasing x(B)x(B) (ties broken arbitrarily). At each step allocate the next block to a group having least normalized load, defined as its accumulated mass divided by its target rir_i.

Stopping with small positive residuals

Set δ=L−6\delta=L^{-6} and η=a−1L−10\eta=a^{-1}L^{-10}. All blocks with x(B)≤L10x(B) \le L^{10} are singletons, and their total mass is O(U)O(U). Before each addition the least normalized load is at most O(U/R~)=o(1)O(U/\widetilde{R})=o(1), since the weighted average uses weights rir_i. The normalized mass of an added singleton is at most 1/(da)1/(da). Consequently, during and after this initial stage, every normalized load is at most

β+o(1),β=1/(da)<1.(16)\beta+o(1), \qquad\beta=1/(da)<1. \tag*{(16)}

All later blocks have normalized mass at most η\eta: this is immediate for singletons of denominator greater than L10L^{10} and follows from w(B)≤HN/Nw(B) \le H_N/\sqrt{N} for large-prime blocks. Continue in the prescribed order until every normalized load is at least 1−δ−η1-\delta-\eta. An addition before stopping increases the least load by at most η\eta, and no load can exceed 1−δ1-\delta for large NN. Exhausting the blocks before stopping would force their total mass to be less than R~\widetilde{R}, contrary to (15). Thus the process stops. Let AiA_i be the union of blocks allocated to group ii, and let Δi=ri−H(Ai)\Delta_i=r_i-\mathcal{H}(A_i). We have

riδ≤Δi≤ri(δ+η),den⁡(Δi)∣DN.(17)r_i\delta\le\Delta_i \le r_i(\delta+\eta), \qquad\operatorname{den}(\Delta_i)\mid D_N. \tag*{(17)}

The denominator assertion follows from the same property of the blocks and targets.

The tail estimate

We give a length estimate for this allocation. Denote the ordered blocks by B1,B2,…B_1,B_2,\ldots, and let TT be the final allocated index. Write ui(t)u_i(t) for group ii’s normalized load after the first tt allocations and v(t)=min⁡iui(t)v(t)=\min_i u_i(t); vv is nondecreasing.

Choose a fixed integer D≥dD\ge d such that 1/(aD)<1/161/(aD)<1/16. Call a group special if it receives a denominator at most DD; there are at most DD such groups. All such denominators occur as singleton blocks in the initial stage. The normalized load of every nonspecial group at the end of the initial stage is at most 1/16+o(1)<1/81/16+o(1)<1/8, by the same minimum-load argument as in (16).

Let t0t_0 be the number of blocks in the full ordered list with x(B)≤N1/3x(B)\le N^{1/3}. All such blocks are singletons. If T≤t0T\le t_0, then ∣Ai∣≤riN1/3=o(N/L2)|A_i|\le r_iN^{1/3}=o(N/L^2), which suffices. Suppose T>t0T>t_0. By (15) and the construction, the total mass of the first t0t_0 blocks is L/3+Od(1)L/3+O_d(1): the mass removed from the entire interval [d,N][d,N] before forming the blocks is O(U2/L)=o(1)O(U^2/L)=o(1), and none of the large-prime blocks has a denominator at most N1/3N^{1/3}. We claim that v(t0)>1/8v(t_0)>1/8. Otherwise every nonspecial group has load at most 1/8+η1/8+\eta at t0t_0: if it has had no addition after the initial stage, this follows from its initial bound; otherwise apply the minimum-load rule at its last addition and monotonicity of vv. The special groups have combined mass Oa,A,d(1)O_{a,A,d}(1), since their loads are at most 11 and there are at most DD of them. The total mass at t0t_0 would therefore be at most (1/8+η)R~+Oa,A,d(1)≤L/8+Oa,A,d(1)(1/8+\eta)\widetilde{R}+O_{a,A,d}(1)\le L/8+O_{a,A,d}(1), a contradiction.

It follows that every nonspecial group has received an addition since the initial stage by time t0t_0. For every t0≤t≤Tt_0\le t\le T the minimum-load rule at its last addition gives

v(t)≤ui(t)≤v(t)+ηfor every nonspecial group i.(18)v(t)\le u_i(t)\le v(t)+\eta\qquad\text{for every nonspecial group }i. \tag*{(18)}

For t0≤t≤Tt_0\le t\le T let Wt=∑t<k≤Tw(Bk)W_t=\sum_{t<k\le T}w(B_k), and let Wi,tW_{i,t} be the part of this tail mass allocated to group ii. Let R0R_0 denote the sum of the nonspecial targets, so R0=R~−Oa,A,d(1)≍LR_0=\widetilde{R}-O_{a,A,d}(1)\asymp L. Summing (18) at the two endpoints gives

Wt≥R0(v(T)−v(t)−η).W_t\ge R_0\bigl(v(T)-v(t)-\eta\bigr).

For every group ii, including the special ones, if it receives a block after time tt, its final load is at most v(T)+ηv(T)+\eta by the rule at its last addition. Its load at tt is at least v(t)v(t). If it receives no such block its tail mass is zero. Thus

Wi,t≤ri(v(T)−v(t)+η).W_{i,t}\le r_i\bigl(v(T)-v(t)+\eta\bigr).

In both cases we obtain the uniform tail inequality

Wi,t≤riR0Wt+2riη.(19)W_{i,t}\le\frac{r_i}{R_0}W_t+2r_i\eta. \tag*{(19)}

To pass from mass to cardinality, write xk=x(Bk)x_k=x(B_k). Discrete summation by parts gives

∑k>t0Bk allocated to ic(Bk)=xt0+1Wi,t0+∑t=t0+1T−1(xt+1−xt)Wi,t≤riR0∑k>t0c(Bk)+2riηxT≤riNR0+2riηN.\begin{aligned} \sum_{\substack{k>t_0\\ B_k\ \text{allocated to }i}}c(B_k) &=x_{t_0+1}W_{i,t_0}+\sum_{t=t_0+1}^{T-1}(x_{t+1}-x_t)W_{i,t}\\ &\le\frac{r_i}{R_0}\sum_{k>t_0}c(B_k)+2r_i\eta x_T\\ &\le\frac{r_iN}{R_0}+2r_i\eta N. \end{aligned}

Here the coefficients are nonnegative because the xkx_k are nondecreasing, and the blocks are disjoint subsets of [d,N][d,N]. The prefix contributes at most riN1/3r_iN^{1/3}. Since R0=R~−Oa,A,d(1)R_0=\widetilde{R}-O_{a,A,d}(1) and R~≲L\widetilde{R}\lesssim L, we have proved

∣Ai∣≤NriR~+Oa,A,d(N/L2)(20)|A_i|\le\frac{Nr_i}{\widetilde{R}}+O_{a,A,d}(N/L^2) \tag*{(20)}

for every group. This is a cardinality bound for the actual denominators, not merely a bound on the number of allocated blocks.

Simultaneous exact closure

Medium-prime cancellation within each group

Fix a group ii. For a prime y<p≤Ny<p\le\sqrt{N} dividing the reduced denominator of its current residual Δ\Delta, use Lemma 6 to choose J⊆LiJ\subseteq L_i with

∑ℓ∈Jℓ−1=tp(pΔ)in Fp.\sum_{\ell\in J}\ell^{-1}=t_p(p\Delta)\quad\text{in }\mathbb{F}_p.

Subtract ∑ℓ∈J(ptpℓ)−1\sum_{\ell\in J}(p t p_\ell)^{-1} from the residual, and add the corresponding elements of Ci,pC_{i,p} to group ii. As in Lemma 7, the new residual is in Z(p)\mathbb{Z}_{(p)}. Its denominator has not acquired any other prime above yy, since the cofactors are yy-powersmooth. No higher prime power above yy can be introduced either. Thus each medium prime needs at most one cancellation for each group, in any order. All these additions are mutually disjoint by (9), and are disjoint from the base sets by construction.

The mass of all additions in this stage, even over all groups, is bounded by (10), which is o(aδ)o(a\delta). In particular no residual becomes nonpositive. Denote the selected denominators for group ii by FiF_i and its new residual by Δi′\Delta_i'. It has yy-powersmooth reduced denominator, and

aδ/2≤Δi′≤2riδ.(21)a\delta/2 \le\Delta_i' \le2r_i\delta. \tag*{(21)}

Shared smooth pool and prime-marked final repairs

For each group ii in turn, add unused denominators from R\mathcal{R} until the residual θi\theta_i satisfies

12Pi≤θi≤12Pi+2N.(22)\frac{1}{2P_i} \le\theta_i \le\frac{1}{2P_i}+\frac{2}{N}. \tag*{(22)}

The initial residual exceeds this interval for large NN by (21). Add a term only while the residual exceeds the upper endpoint. Every term in R\mathcal{R} is at most 2/N2/N, so no addition can cross the lower endpoint. The sum of the residuals before this stage is at most 2R~δ=O(L−5)2\widetilde{R}\delta=O(L^{-5}), whereas H(R)≥L−4\mathcal{H}(\mathcal{R})\ge L^{-4}. The pool cannot be exhausted before all groups reach their target intervals. Let EiE_i denote the terms assigned to group ii in this stage. The sets EiE_i are disjoint, and each θi\theta_i still has yy-powersmooth reduced denominator.

Finally, take

Xi=⌊NC0Pi⌋,si=Piθi.X_i=\left\lfloor\frac{N}{C_0P_i}\right\rfloor,\qquad s_i=P_i\theta_i.

Then Xi≍NX_i\asymp\sqrt{N}, y<Xi1/5y<X_i^{1/5}, and (22) gives 1/2≤si≤1/2+2Pi/N≤3/41/2\le s_i\le1/2+2P_i/N\le3/4 for large NN. Multiplication by PiP_i cannot enlarge the reduced denominator. Lemma 3 therefore supplies a set Ti⊆[Xi,C0Xi]∩NT_i\subseteq[X_i,C_0X_i]\cap\mathbb{N} of Xi1/5X_i^{1/5}-powersmooth integers with H(Ti)=si\mathcal{H}(T_i)=s_i. Put

Gi={Pit:t∈Ti}.G_i=\{P_it:t\in T_i\}.

All its elements are at most PiC0Xi≤NP_iC_0X_i\le N, and H(Gi)=θi\mathcal{H}(G_i)=\theta_i. Every element has exactly one marker prime as a divisor, namely PiP_i, since Xi1/5≪N1/10<PjX_i^{1/5}\ll N^{1/10}<P_j for every jj. The sets GiG_i are thus disjoint from one another. Every previous pool and base object avoids all marker primes, so the GiG_i are also disjoint from everything previously used. This argument does not require their numerical intervals to be disjoint.

All new denominators are also at least dd for large NN. The medium-prime stage uses at most O(NQ0)O(\sqrt{N}Q_0) terms in total. For group ii, the smooth-pool stage uses at most NΔi′=Oa,A,d(N/L6)N\Delta_i'=O_{a,A,d}(N/L^6) terms, because each term is at least 1/N1/N, and the marked closure uses at most C0Xi=O(N)C_0X_i=O(\sqrt{N}) terms. These three quantities are o(N/L2)o(N/L^2). Consequently

Si=Ai∪Fi∪Ei∪GiS_i=A_i\cup F_i\cup E_i\cup G_i

are pairwise disjoint subsets of [d,N][d,N] with H(Si)=ri\mathcal{H}(S_i)=r_i and ∣Si∣≤Nri/R‾+Oa,A,d(N/L2)|S_i|\le Nr_i/\overline{R}+O_{a,A,d}(N/L^2). Discarding the auxiliary groups and using (8) proves (3). Enlarging CC to accommodate the finitely many estimates completes the proof of Theorem 1. □\square

Applications

It is convenient to use the abbreviations

B+(N;C)=U22L+CU2log⁡UL,B−(N;C)=U22L−CUL.B_+(N;C)=\frac{U^2}{2L}+C\frac{U^2\log U}{L},\qquad B_-(N;C)=\frac{U^2}{2L}-C\frac{U}{L}.

Both are positive for sufficiently large NN and are asymptotic to E(N)/2E(N)/2.

Fixed rational targets and the disjoint unit-sum problem

For fixed rational r>0r > 0, let kr(N)k_r(N) be the maximum number of disjoint subsets of [2,N][2,N] with reciprocal sum rr. Define

dr=max⁡{2,⌈1/r⌉},Wr(N)=HN−Hdr−1.d_r = \max\{2,\lceil1/r\rceil\}, \qquad W_r(N) = H_N - H_{d_r-1}.

Only denominators at least drd_r can be used, because every unit fraction is positive.

Corollary 8 (Fixed rational packing). For every fixed rational r>0r > 0 there is Cr>0C_r > 0 such that for all large NN,

⌊Wr(N)−B+(N;Cr)r⌋≤kr(N)≤⌊Wr(N)−B−(N;Cr)r⌋.(23)\left\lfloor\frac{W_r(N)-B_+(N;C_r)}{r}\right\rfloor\le k_r(N) \le\left\lfloor\frac{W_r(N)-B_-(N;C_r)}{r}\right\rfloor. \tag*{(23)}

Moreover the lower bound is attained by sets having cardinalities at most

rNlog⁡N+Or(N(log⁡N)2).(24)\frac{rN}{\log N}+O_r\left(\frac{N}{(\log N)^2}\right). \tag*{(24)}

If Nj(r)=min⁡{N:kr(N)≥j}N_j(r)=\min\{N:k_r(N)\ge j\}, then

log⁡Nj(r)=rj+Hdr−1−γ+(log⁡j)22rj+Or(log⁡jlog⁡log⁡jj).(25)\log N_j(r)=rj+H_{d_r-1}-\gamma+\frac{(\log j)^2}{2rj}+O_r\left(\frac{\log j\log\log j}{j}\right). \tag*{(25)}

Proof. The reduced denominator of a fixed rational divides DND_N for all sufficiently large NN. The obstruction of § 3 applies directly, giving the upper bound. For the lower bound put m=⌊(Wr(N)−B+(N;Cr))/r⌋m=\left\lfloor(W_r(N)-B_+(N;C_r))/r\right\rfloor. If 1/dr<r1/d_r<r, apply Theorem 1 with a=A=ra=A=r, d=drd=d_r, and mm copies of rr. If 1/dr=r1/d_r=r, first take the singleton {dr}\{d_r\} and apply the theorem with d=dr+1d=d_r+1 to m−1m-1 copies of rr. The available mass is reduced by exactly rr, so the sufficient inequality is preserved. Since mr=L+Or(1)mr=L+O_r(1) in both cases (and likewise (m−1)r=L+Or(1)(m-1)r=L+O_r(1)), (3) gives (24).

For (25), apply the upper bound at N=Nj(r)N=N_j(r) and the lower bound at N−1N-1. By minimality, kr(N−1)<jk_r(N-1)<j. The two inequalities imply

B−(N;Cr)≤Wr(N)−rj<B+(N−1;Cr)+1/N.B_-(N;C_r)\le W_r(N)-rj<B_+(N-1;C_r)+1/N.

In particular log⁡N=rj+Or(1)\log N=rj+O_r(1) by the harmonic asymptotic HN=log⁡N+γ+O(1/N)H_N=\log N+\gamma+O(1/N). Replacing log⁡N\log N by rj+Or(1)rj+O_r(1) in the small corrections yields (25), including the stated error. The use of N−1N-1 is essential to avoid an unjustified removal of the floor.

Corollary 9 (Erdős Problem 296). Let k(N)k(N) count the maximum number of disjoint unit-sum subsets of [1,N][1,N], and Nj=min⁡{N:k(N)≥j}N_j=\min\{N:k(N)\ge j\}. For some absolute constant C>0C>0 and all large NN,

⌊HN−B+(N;C)⌋≤k(N)≤⌊HN−B−(N;C)⌋.(26)\left\lfloor H_N-B_+(N;C)\right\rfloor\le k(N)\le\left\lfloor H_N-B_-(N;C)\right\rfloor. \tag*{(26)}

In particular, k(N)∈{⌊HN⌋−1,⌊HN⌋}k(N)\in\{\lfloor H_N\rfloor-1,\lfloor H_N\rfloor\}, and

log⁡Nj=j−γ+(log⁡j)22j+O(log⁡jlog⁡log⁡jj).(27)\log N_j=j-\gamma+\frac{(\log j)^2}{2j}+O\left(\frac{\log j\log\log j}{j}\right). \tag*{(27)}

Consequently the normalized threshold correction j(log⁡Nj−j+γ)/(log⁡j)2j(\log N_j-j+\gamma)/(\log j)^2 tends to 1/21/2.

Proof. Any unit-sum subset containing 1 is the singleton {1}\{1\}, so k(N)=1+k1(N)k(N)=1+k_1(N). Apply Corollary 8 with d1=2d_1=2; for the threshold formula replace its index by j−1j-1. The two alternatives for the integer value follow since 0<B−(N;C)≤B+(N;C)<10<B_-(N;C)\le B_+(N;C)<1 eventually. No claim is made that HN−k(N)∼E(N)/2H_N-k(N)\sim E(N)/2 for arbitrary NN, since the integer part can contribute a much larger error.

Corollary 10 (Integer reciprocal sums; Problems 308 and 309). Let h(N)h(N) be the maximum integer representable as the reciprocal sum of a subset of [1,N][1,N], and TjT_j the least height permitting a representation of the integer jj. For large NN the positive representable integers form an initial segment, whose length h(N)h(N) satisfies the same two bounds as (26). Furthermore

log⁡Tj=j−γ+(log⁡j)22j+O(log⁡jlog⁡log⁡jj).(28)\log T_j = j-\gamma+\frac{(\log j)^2}{2j}+O\left(\frac{\log j\log\log j}{j}\right). \tag*{(28)}

Proof. Unions of a disjoint unit-sum packing give every integer from 1 to k(N)k(N). The obstruction of Section 3 applies to all integer reciprocal sums, so h(N)≤⌊HN−B−(N;C)⌋h(N)\le\lfloor H_N-B_-(N;C)\rfloor. For large NN the two floors in (26) differ by at most one; hence the positive representable integers form an initial segment. The smallest missing positive integer is h(N)+1h(N)+1, not h(N)h(N). For the height formula, Tj≤NjT_j\le N_j gives the upper estimate, while the obstruction at N=TjN=T_j gives HTj−j≥B−(Tj;C)HT_j-j\ge B_-(T_j;C). From Tj≤NjT_j\le N_j and j≤HTjj\le HT_j it follows that log⁡Tj=j+O(1)\log T_j=j+O(1); substituting gives the lower estimate and proves (28).

The sharp leading coefficient in Corollary 10 is the one proposed by Croot [3]. The initial-segment property itself was already implied by Croot’s earlier bounds. The present conclusion concerns the sharp threshold and disjoint packings, not a new proof of the original first-order questions.

Length-restricted Egyptian-fraction hypergraphs

Let νK(r;N)\nu_K(r;N) be the maximum number of pairwise disjoint subsets of [2,N][2,N] of cardinality at most KK and reciprocal sum rr, and νK(r)\nu_K(r) its analogue without a bound on the denominators. These are the matching numbers of the corresponding hypergraphs.

Corollary 11 (Sharp capacity with a cardinality restriction). For every fixed rational r>0r>0 there is a constant Cr>0C_r>0 such that if NN is sufficiently large and

K≥rNlog⁡N+CrN(log⁡N)2,(29)K\ge\frac{rN}{\log N}+C_r\frac{N}{(\log N)^2}, \tag*{(29)}

then the same two bounds as (23) hold for νK(r;N)\nu_K(r;N). Moreover, uniformly for sufficiently large K,NK,N,

νK(r;N)=log⁡min⁡{N,Klog⁡K}r+Or(1),νK(r)=log⁡K+log⁡log⁡Kr+Or(1).(30)\nu_K(r;N)=\frac{\log\min\{N,K\log K\}}{r}+O_r(1),\qquad\nu_K(r)=\frac{\log K+\log\log K}{r}+O_r(1). \tag*{(30)}

Proof. The lower bound under (29) is exactly the construction in Corollary 8, with its cardinality estimate (24); the upper bound follows from νK(r;N)≤kr(N)\nu_K(r;N)\le k_r(N). For the uniform formula, mm disjoint edges with at most KK vertices each have total reciprocal mass mr≤HmK+1−1mr\le H_{mK+1}-1, whence m=Or(log⁡K)m=O_r(\log K) and

mr≤log⁡K+log⁡log⁡K+Or(1).mr\le\log K+\log\log K+O_r(1).

For example, the first estimate follows by using log⁡m≤(r/2)m+Or(1)\log m\le(r/2)m+O_r(1) in mr≤log⁡K+log⁡m+O(1)mr\le\log K+\log m+O(1); then substitute it back. The height bound also gives mr≤HN−1mr\le H_N-1. These prove the upper bounds.

For the lower bound choose a sufficiently small fixed cr>0c_r>0 and set

X=⌊min⁡{N,crKlog⁡K}⌋.X=\lfloor\min\{N,c_rK\log K\}\rfloor.

For all large K,NK,N, XX is large, and rX/log⁡X+CrX/(log⁡X)2≤KrX/\log X+C_rX/(\log X)^2\le K. This follows because the two functions x/log⁡xx/\log x and x/(log⁡x)2x/(\log x)^2 are eventually increasing and the displayed quantity at crKlog⁡Kc_rK\log K is (rcr+o(1))K<K(rc_r+o(1))K<K. Apply the first assertion at height XX. It gives at least log⁡X/r+Or(1)\log X/r+O_r(1) edges with the desired length, yielding the bounded-height formula. Taking NN sufficiently large in terms of KK proves the unrestricted formula. ∎

In particular any fixed c>0c > 0 permits the unrestricted two-term asymptotic with height ⌊cKlog⁡K⌋\lfloor cK \log K\rfloor, with error Or,c(1)O_{r,c}(1). For sharp pre-rounding capacity at a given height, (29) is a sufficient length condition, not a characterization of the optimal length threshold in all parameter ranges.

The next term in the packing threshold

For sufficiently large arguments let log⁡1x=log⁡x\log_1 x = \log x and log⁡j+1x=log⁡(log⁡jx)\log_{j+1} x = \log(\log_j x). Put

B∗(N)=U22L+Ulog⁡UL,B_{*}(N) = \frac{U^2}{2L} + \frac{U \log U}{L},
Blow(N;C)=B∗(N)−UL(2log⁡3U+C),B_{\mathrm{low}}(N;C) = B_{*}(N) - \frac{U}{L}(2\log_3 U + C),
Bhigh(N;C)=B∗(N)+UL(4log⁡2U+C).B_{\mathrm{high}}(N;C) = B_{*}(N) + \frac{U}{L}(4\log_2 U + C).

Theorem 12 (The coefficient of the next capacity term). Under the hypotheses of Theorem 1, for a constant C=C(a,A,d)C = C(a,A,d) and all sufficiently large NN, the condition R≤W−Bhigh(N;C)R \le W - B_{\mathrm{high}}(N;C) suffices for a packing with the cardinality bound (3). The existence of any packing implies R≤W−Blow(N;C)R \le W - B_{\mathrm{low}}(N;C). The latter implication also holds whenever all target denominators have no prime factor exceeding N\sqrt{N}, without the other factor restrictions on their denominators.

We prove the upper and lower bounds for the required loss separately. Only an average modular covering result is needed for the construction, since the full mass of the exceptional prime blocks can be discarded.

Modular covers outside a sparse set of primes

For an odd prime pp let f(p)f(p) be the least q<pq < p for which the sums ∑t∈St−1\sum_{t\in S} t^{-1}, S⊆[1,q]S \subseteq[1,q], cover Fp\mathbb{F}_p, where the inverses are taken in Fp\mathbb{F}_p. Set f(p)=+∞f(p) = +\infty if there is no such qq.

Lemma 13 (Almost-all-prime cover). For an absolute constant CC and P→∞P \to\infty, all but P1/2+o(1)P^{1/2+o(1)} primes p∈[P,2P]p \in[P,2P] satisfy

f(p)≤C(log⁡P)(log⁡2P)(log⁡3P)4.f(p) \le C(\log P)(\log_2 P)(\log_3 P)^4.

Proof. First, f(p)≪(log⁡p)4f(p) \ll(\log p)^4 for every sufficiently large prime. Write z=log⁡pz = \log p, T=⌈z4⌉T = \lceil z^4\rceil and take primes t∈(T/2,T]t \in(T/2,T]. For a nonzero frequency represented by 0<h<p0 < h < p, let rtr_t be the least absolute residue of h/th/t modulo pp. If ∣rt∣≤p/(Kz)|r_t| \le p/(Kz), then trt=h+jptr_t = h + jp with ∣j∣≤1+T/(Kz)|j| \le1 + T/(Kz). Each nonzero h+jph + jp has at most log⁡((T+2)p)/log⁡(T/2)≪z/log⁡T\log((T+2)p)/\log(T/2) \ll z/\log T prime divisors in the indicated interval. Thus the number of these tt is O(T/(Klog⁡T)+z/log⁡T)O(T/(K\log T) + z/\log T). For a fixed sufficiently large KK, the prime number theorem leaves ≫T/log⁡T\gg T/\log T primes tt with ∥ht−1/p∥>1/(Kz)\lVert ht^{-1}/p\rVert> 1/(Kz), using any integer representative of t−1t^{-1} modulo pp and writing ∥⋅∥\lVert\cdot\rVert for distance to the nearest integer. The normalized Fourier transform of a random subset sum, with each tt included independently with probability 1/21/2, has modulus ∏t∣cos⁡(πht−1/p)∣\prod_t |\cos(\pi ht^{-1}/p)|. The inequality ∣cos⁡(πu)∣≤exp⁡(−c∥u∥2)|\cos(\pi u)| \le\exp(-c\lVert u\rVert^2) bounds it by exp⁡(−cKT/(z2log⁡T))=o(1/p)\exp(-cKT/(z^2\log T)) = o(1/p) at every nonzero frequency. Fourier inversion gives strictly positive probability at every residue.

We next describe a lifting step. Suppose that, outside at most X1/2+o(1)X^{1/2+o(1)} exceptional primes in each [X,2X][X,2X], one has f(ℓ)≤C1F(X)f(\ell) \le C_1F(X) for ℓ∈[X,2X]\ell\in[X,2X]. Here FF is one of (log⁡X)4(\log X)^4 and (log⁡X)(log⁡2X)4(\log X)(\log_2 X)^4. Put x=log⁡Px = \log P and T=⌈C2F(x)⌉T = \lceil C_2F(x)\rceil, with C2C_2 large enough to cover the dyadic intervals [x,2x][x,2x], [2x,4x][2x,4x], [4x,8x][4x,8x]. In each of

I1=(x,5x/2],I2=(3x,9x/2]I_1 = (x,5x/2], \qquad I_2 = (3x,9x/2]

keep the primes ℓ\ell with f(ℓ)≤Tf(\ell) \le T. The excluded primes contribute at most x1/2+o(1)log⁡(5x)=o(x)x^{1/2+o(1)}\log(5x)=o(x) to the logarithm of the product in either interval. Consequently the two retained products MiM_i satisfy log⁡Mi=(3/2+o(1))x\log M_i=(3/2+o(1))x by the prime number theorem. Here T=o(x)T=o(x). Put Di=Milcm⁡(1,…,T)D_i=M_i\operatorname{lcm}(1,\ldots,T) and let BiB_i consist of all denominators ℓt\ell t with retained ℓ∈Ii\ell\in I_i and 1≤t≤T1\le t\le T. Each denominator has a unique prime factor from I1∪I2I_1\cup I_2, so the two pools are disjoint and all their elements are distinct within each pool.

Let AiA_i be the set of integers DiH(S)D_i\mathcal{H}(S) for S⊆BiS\subseteq B_i. Modulo a retained ℓ\ell, only the terms from its own block contribute, and their possible contributions are (Di/ℓ)∑t∈Jt−1(D_i/\ell)\sum_{t\in J}t^{-1}. These cover Fℓ\mathbb{F}_{\ell} since ℓ∤Di/ℓ\ell\nmid D_i/\ell. The choices of JJ for distinct ℓ\ell are independent. By the Chinese remainder theorem AiA_i maps onto Z/MiZ\mathbb{Z}/M_i\mathbb{Z}. Select one representative for each residue and denote the resulting set by Ai′A_i'. Then

∣Ai′∣=Mi=P3/2+o(1),Ai′⊆[0,DiH⌈5xT⌉]⊆[0,P3/2+o(1)].|A_i'|=M_i=P^{3/2+o(1)},\qquad A_i'\subseteq[0,D_iH_{\lceil5xT\rceil}]\subseteq[0,P^{3/2+o(1)}].

using log⁡lcm⁡(1,…,T)=O(T)=o(x)\log\operatorname{lcm}(1,\ldots,T)=O(T)=o(x).

For completeness, the required form of the additive large sieve (cf. [9]) is

∑α∣∑0≤n≤Hane2πinα∣2≪(δ−1+H)∑n∣an∣2\sum_{\alpha}\left|\sum_{0\le n\le H}a_ne^{2\pi in\alpha}\right|^2\ll(\delta^{-1}+H)\sum_n|a_n|^2

for points α\alpha separated by δ\delta modulo one. Indeed, on the length-δ\delta arc centered at each point, the central value of ∣S∣2|S|^2 for the trigonometric polynomial SS is bounded by its mean plus the integral of ∣(∣S∣2)′∣|( |S|^2)'|. The arcs are disjoint up to endpoints. Cauchy–Schwarz and Parseval give

∫(∣S∣2)′≤2∥S∥2∥S′∥2≤4πH∑∣an∣2.\int(|S|^2)' \le2\|S\|_2\|S'\|_2\le4\pi H\sum|a_n|^2.

The fractions b/pb/p, 1≤b<p1\le b<p, P≤p≤2PP\le p\le2P prime, are (4P2)−1(4P^2)^{-1}-separated modulo one. If Ai′A_i' occupies at most p/2p/2 residues and mvm_v denotes the number of its elements in residue vv, orthogonality and Cauchy–Schwarz give

∑b=1p−1∣∑n∈Ai′e2πibn/p∣2=p∑vmv2−Mi2≥Mi2.\sum_{b=1}^{p-1}\left|\sum_{n\in A_i'}e^{2\pi ibn/p}\right|^2=p\sum_v m_v^2-M_i^2\ge M_i^2.

The large sieve bounds the sum over all such primes, including all their nonzero frequencies, by O(P2Mi)O(P^2M_i) since H=P3/2+o(1)<P2H=P^{3/2+o(1)}<P^2. There are at most O(P2/Mi)=P1/2+o(1)O(P^2/M_i)=P^{1/2+o(1)} exceptional primes per pool. For every other pp, both DiD_i are units modulo pp, and each pool’s subset sums occupy more than half the field. Their sum fills Fp\mathbb{F}_p: for any vv the image of the first pool intersects vv minus the image of the second. Disjointness of the pools turns this into a subset sum with denominators at most 5xT5xT. The lifting step therefore replaces F(P)F(P) by O(log⁡P F(log⁡P))O(\log P\,F(\log P)) with the same exceptional-set exponent. Applying it twice to the Fourier bound proves the lemma. □

Usable prime blocks and the obstruction from distinct reciprocal sums

Proof of Theorem 12. For sufficiency take Q=⌈C3LU(log⁡U)4⌉Q=\lceil C_3LU(\log U)^4\rceil, Z=N/QZ=N/Q. The constant covers Lemma 13 at every dyadic scale P∈[N/2,N]P\in[\sqrt{N}/2,N]. Delete the multiples of every prime p>Zp>Z, as in § 4. For N<p≤Z\sqrt{N}<p\le Z also delete the full blocks of primes for which f(p)>Qf(p)>Q. In a dyadic interval [P,2P][P,2P] such blocks have total mass at most P1/2+o(1)H⌊N/P⌋/PP^{1/2+o(1)}H_{\lfloor N/P\rfloor}/P. Summing over the O(log⁡N)O(\log N) intervals costs N−1/4+o(1)N^{-1/4+o(1)} in all. Each remaining non-marker prime in this range has a cover in [1,Q][1,Q]; the dilation in Lemma 5 and the proof of Lemma 7 apply unchanged since pQ≤NpQ\le N and Q<2Q0Q<2Q_0. A dilated candidate has only pp as a prime factor exceeding yy, so none lies in a deleted bad block. All these block repairs together cost O(U/L)O(U/L) by (14). In the underlying base pool, the deletion costs from high prime powers, markers and reserved repair pools are o(U/L)o(U/L) by the estimates preceding (11). For the primes p>Zp>Z use Lemma 4 with

w=log⁡Q=U+log⁡U+4log⁡2U+O(1)=U+O(log⁡U).w=\log Q=U+\log U+4\log_2 U+O(1)=U+O(\log U).

Their total mass is w2/(2L)+O(U/L)=Bhigh(N;0)+O(U/L)w^2/(2L)+O(U/L)=B_{\mathrm{high}}(N;0)+O(U/L), because (log⁡U)2=o(U)(\log U)^2=o(U). The available blocks therefore have mass at least W−Bhigh(N;C)W-B_{\mathrm{high}}(N;C) for sufficiently large CC. Their effective-denominator ordering and arithmetic properties are those of § 6; all additional bad blocks were supported above N\sqrt{N}. The normalized allocation and the closures in § 7 give (3). When R<L/2R<L/2 the auxiliary targets used for (8) still leave a fixed proportion of the available capacity unused.

For necessity let V(q)\mathcal{V}(q) be the set of distinct rational subset sums of 1,1/2,…,1/q1,1/2,\ldots,1/q. Bleicher and Erdős [10 Theorem 3, r = 3] prove, for sufficiently large qq,

log⁡∣V(q)∣≪qlog⁡q(log⁡3q)2.\log|\mathcal{V}(q)|\ll\frac{q}{\log q}(\log_3 q)^2.

The full iterated-logarithm inequality is also displayed in [11 (2)]. Take Q∗=⌊cLU/(log⁡2U)2⌋Q_*=\left\lfloor cLU/(\log_2 U)^2\right\rfloor for a sufficiently small absolute c>0c>0, so ∣V(Q∗)∣≤N1/6|\mathcal{V}(Q_*)|\le N^{1/6} since log⁡Q∗∼U\log Q_*\sim U and log⁡3Q∗∼log⁡2U\log_3 Q_*\sim\log_2 U. Put D∗=lcm⁡(1,…,Q∗)D_*=\operatorname{lcm}(1,\ldots,Q_*). For distinct v,w∈V(Q∗)v,w\in\mathcal{V}(Q_*), the integer D∗(v−w)D_*(v-w) is nonzero and its absolute value is at most D∗HQ∗D_*H_{Q_*}. Its logarithmic absolute value is O(Q∗)O(Q_*), so it has O(1+Q∗/L)O(1+Q_*/L) distinct prime factors exceeding N/Q∗N/Q_*. Taking the union over all pairs gives at most N1/3O(1+Q∗/L)≤NN^{1/3}O(1+Q_*/L)\le\sqrt{N} exceptional primes for large NN. For p>N/Q∗p>N/Q_* outside this union, reduction modulo pp is injective on V(Q∗)\mathcal{V}(Q_*), since p>Q∗p>Q_* and p∤D∗p\nmid D_*. The reciprocal sum of a nonempty subset of [1,⌊N/p⌋][1,\lfloor N/p\rfloor] is positive in Q\mathbb{Q} and hence has a residue different from that of the empty sum. Multiplying an exact representation of a target with denominator prime to pp by pp now excludes every multiple of pp from that representation. Each exceptional block has mass at most Q∗HQ∗/NQ_*H_{Q_*}/N, so their total mass is O(Q∗HQ∗/N)=o(U/L)O(Q_*H_{Q_*}/\sqrt{N})=o(U/L). All these blocks are disjoint since N/Q∗>NN/Q_*>\sqrt{N}. As

log⁡Q∗=U+log⁡U−2log⁡3U+O(1)=U+O(log⁡U),\log Q_*=U+\log U-2\log_3 U+O(1)=U+O(\log U),

Lemma 4 shows that the unavailable mass is at least Blow(N;C)B_{\mathrm{low}}(N;C). The obstructing denominators exceed any fixed dd for sufficiently large NN, as required.

Corollary 14 (Inverse heights). For both Xj=NjX_j=N_j and Xj=TjX_j=T_j one has

log⁡Xj=j−γ+(log⁡j)22j+log⁡jlog⁡2jj+O(log⁡jlog⁡3jj).\log X_j=j-\gamma+\frac{(\log j)^2}{2j}+\frac{\log j\log_2 j}{j}+O\left(\frac{\log j\log_3 j}{j}\right).

In particular the coefficient of (log⁡j)log⁡2j/j(\log j)\log_2 j/j is one.

Proof. As in Corollary 9, the singleton {1}\{1\} and unit targets in [2,N][2,N] give ⌊HN−Bhigh(N;C)⌋≤k(N)\lfloor H_N-B_{\mathrm{high}}(N;C)\rfloor\le k(N). The necessary obstruction applies directly to the union of the unit groups and to any single integer sum, whence k(N)≤h(N)≤⌊HN−Blow(N;C)⌋k(N)\le h(N)\le\lfloor H_N-B_{\mathrm{low}}(N;C)\rfloor. At N=NjN=N_j use necessity there and sufficiency at Nj−1N_j-1 to obtain

Blow(Nj;C)≤HNj−j<Bhigh(Nj−1;C)+1/Nj.B_{\mathrm{low}}(N_j;C)\le H_{N_j}-j<B_{\mathrm{high}}(N_j-1;C)+1/N_j.

For a single integer the obstruction at TjT_j gives the same lower estimate, and Tj≤NjT_j\le N_j gives the upper estimate for log⁡Tj\log T_j. Both inverse heights satisfy log⁡Xj=j+O(1)\log X_j=j+O(1) by the harmonic asymptotic and the bounds just obtained. Replacing LL by j+O(1)j+O(1) in the displayed losses, and using HN=log⁡N+γ+O(1/N)H_N=\log N+\gamma+O(1/N), gives the asserted expansion. ∎

Corollary 15 (Local deletion cost). Let dpd_p be the minimum used to define EN\mathcal{E}_N in the following section. Then

HN−EN=U22L+Ulog⁡UL+O(Ulog⁡2UL).H_N-\mathcal{E}_N=\frac{U^2}{2L}+\frac{U\log U}{L}+O\left(\frac{U\log_2 U}{L}\right).

Proof. For the lower bound, every nonexceptional p>N/Q∗p>N/Q_* in the necessity proof has dp=H⌊N/p⌋d_p=H_{\lfloor N/p\rfloor}, with the same negligible exceptional mass. For the upper bound work directly on the full blocks. For p>Zp>Z and for bad primes discard the whole block. For a remaining good prime in (N,Z](\sqrt{N},Z], take t=⌊N/(pQ)⌋t=\lfloor N/(pQ)\rfloor; then N/(2pQ)≤t<pN/(2pQ)\leq t<p and all ptuptu, 1≤u≤Q1\leq u\leq Q, are available. A modular cover dilated by tt cancels the required residue at cost at most 2QHQ/N2QH_Q/N per block. The sum is O(U/L)O(U/L). These are upper bounds on the respective minima before any reservation of denominators; no rounding of an integer packing count enters the argument.

Disjoint unit sums at the capacity of the large-prime blocks

For a prime N<p≤N\sqrt{N}<p\leq N put qp=⌊N/p⌋q_p=\lfloor N/p\rfloor. Since qp<pq_p<p, all reciprocals below can be reduced modulo pp. Define

dp=min⁡{H(D):D⊆[1,qp], ∑b∈[1,qp]∖Db−1=0 in Fp},EN=HN−∑N<p≤Ndpp.d_p=\min\left\{\mathcal{H}(D):D\subseteq[1,q_p],\ \sum_{b\in[1,q_p]\setminus D}b^{-1}=0\text{ in }\mathbb{F}_p\right\},\qquad\mathcal{E}_N=H_N-\sum_{\sqrt{N}<p\leq N}\frac{d_p}{p}.

Empty retained sets are allowed. This minimum is taken over the original block of multiples of pp, before any auxiliary denominators are reserved.

Theorem 16 (Attaining the local capacity for unit sums with length control). There are absolute constants C1,C2C_1,C_2 such that for all sufficiently large NN,

⌊EN−C1N−1/12⌋≤k(N)≤h(N)≤⌊EN⌋.\left\lfloor\mathcal{E}_N-C_1N^{-1/12}\right\rfloor\leq k(N)\leq h(N)\leq\lfloor\mathcal{E}_N\rfloor.

The lower bound is attained by pairwise disjoint unit-sum sets, each with at most N/log⁡N+C2N/(log⁡N)2N/\log N+C_2N/(\log N)^2 denominators.

Proof. If a subset of [1,N][1,N] has integral reciprocal sum, multiplication by pp followed by reduction modulo pp shows that its selected cofactors in [1,qp][1,q_p] have reciprocal sum zero in Fp\mathbb{F}_p. The blocks for p>Np>\sqrt{N} are disjoint. The total mass available to such a subset is therefore at most EN\mathcal{E}_N. Taking unions of disjoint unit-sum sets proves both upper bounds.

Put Q0=⌈L12⌉Q_0=\lceil L^{12}\rceil and Q=2Q0Q=2Q_0. For every N<p≤N\sqrt{N}<p\leq N the first step of Lemma 13 gives f(p)≪(log⁡p)4f(p)\ll(\log p)^4 and hence f(p)≤Qf(p)\leq Q for all sufficiently large NN (enlarging NN absorbs the implied constant). Thus every residue has a cover in [1,Q][1,Q], even at an exceptional prime of the stronger average estimate. Corollary 15 also gives EN=HN+O(U2/L)\mathcal{E}_N=H_N+O(U^2/L). Choose an absolute C1C_1 large enough for the deletion estimate below, reserve the singleton {1}\{1\}, and put

m=⌊EN−C1N−1/12⌋−1=L+O(1).m=\left\lfloor\mathcal{E}_N-C_1N^{-1/12}\right\rfloor-1=L+O(1).

There will be mm further groups.

Reserving the denominators for exact repair. Choose distinct prime markers N1/6<Pi≤2N1/6N^{1/6}<P_i\leq2N^{1/6}, 1≤i≤m1\leq i\leq m, and put

Xi=⌊NC0Pi⌋,z=(4C0)−1/5N1/6,δ=N−1/8,η=N−1/4,X_i=\left\lfloor\frac{N}{C_0P_i}\right\rfloor,\qquad z=(4C_0)^{-1/5}N^{1/6},\qquad\delta=N^{-1/8},\qquad\eta=N^{-1/4},

where C0>1C_0>1 is the constant of Lemma 3. For all large NN,

z≤Xi1/5<N1/6<min⁡jPj,Xi≍N5/6.(31)z\leq X_i^{1/5}<N^{1/6}<\min_j P_j,\qquad X_i\asymp N^{5/6}. \tag*{(31)}

Keep y=N1/20y=N^{1/20} in Lemmas 5 and 6; their cofactors are yy-powersmooth and hence zz-powersmooth. Choose the mm disjoint prime sets supplied by Lemma 6. For every nonmarker

prime z<p≤Nz < p \le\sqrt{N} reserve the medium repair pools Ci,pC_{i,p} of (9), using the dilation with A=2Q0A=2Q_0. These sets have altogether O(NQ0)O(\sqrt{N}Q_0) elements and mass O(Q0/N)O(Q_0/\sqrt{N}), as in (10). Their elements have exactly one prime factor exceeding zz, namely pp to the first power. Independently reserve a set R\mathcal{R} of ⌈8LNδ⌉\lceil8L N^\delta\rceil yy-powersmooth integers in [N/2,N][N/2,N]; the positive-density estimate preceding Lemma 3 supplies this many. Its mass is at least 8Lδ8L\delta and at most O(Lδ)O(L\delta).

Delete from [2,N][2,N] the two reserved pools, all multiples of the markers, and all multiples of a prime power ℓb>z\ell^b>z with b≥2b\ge2. The mass deleted is

O(Lzlog⁡z+mLN1/6+Q0N+Lδ)=O(N−1/12).(32)O\left(\frac{L}{\sqrt{z}\log z}+\frac{mL}{N^{1/6}}+\frac{Q_0}{\sqrt{N}}+L\delta\right)=O(N^{-1/12}). \tag*{(32)}

Indeed ∑ℓb>z,b≥2ℓ−b≪1/(zlog⁡z)\sum_{\substack{\ell^b>z,\,b\ge2}}\ell^{-b}\ll1/(\sqrt{z}\log z). For primes ℓ≤z\ell\le\sqrt{z} the geometric tail for each ℓ\ell is at most 2/z2/z, and π(z)≪z/log⁡z\pi(\sqrt{z})\ll\sqrt{z}/\log z. For ℓ>z\ell>\sqrt{z} the bound follows by summing 2/ℓ22/\ell^2 in dyadic intervals with the same prime-counting estimate. Multiplying by HNH_N accounts for all multiples. The other terms in (32) bound the two reserved pools and the marker multiples, whether or not any deletions overlap.

Forming indivisible blocks. For p>N/zp>N/z the entire original block {pb:b≤qp}\{pb:b\le q_p\} is still present: b≤zb\le z, p2>Np^2>N, and pp is its only prime factor exceeding zz. It meets neither a marker multiple nor either reserved pool, since the unique prime exceeding zz in a medium-pool denominator is at most N\sqrt{N}. Delete an actual minimizing cofactor set in this block, at mass cost exactly dp/pd_p/p.

For N<p≤N/z\sqrt{N}<p\le N/z work on the remainder of the block after the previous reservations. Here pQ≤NpQ\le N for large NN. Lemma 5 with A=QA=Q gives a multiplier tpt_p with ptp≥N/(B0Q)pt_p\ge N/(B_0Q) and all tpbt_pb, b≤Qb\le Q, yy-powersmooth. Consequently the entire auxiliary set {ptpb:1≤b≤Q}\{pt_pb:1\le b\le Q\} is still available: its unique prime exceeding zz is p>Np>\sqrt{N}, it contains no marker, and all higher prime powers in its denominators are at most zz. If σp\sigma_p is the remaining block mass, use the modular coverage proved above to select a subset of [1,Q][1,Q] whose inverse sum is tppσp mod pt_p p\sigma_p\bmod p. Deleting the corresponding denominators cancels pp at cost at most B0QHQ/NB_0QH_Q/N per prime. The total cost in this range is thus O(QHQ/z)=o(N−1/12)O(QH_Q/z)=o(N^{-1/12}), even counting primes by integers.

Keep every nonempty corrected block indivisible; keep the other surviving denominators as singletons. Every block weight has reduced denominator dividing

D′=lcm⁡(1,…,⌊z⌋)∏z<p≤Np∉{P1,…,Pm}p.D'=\operatorname{lcm}(1,\ldots,\lfloor z\rfloor) \prod_{\substack{z<p\le\sqrt{N}\\p\notin\{P_1,\ldots,P_m\}}}p.

For a large-prime block this follows from cancellation of its unique prime above N\sqrt{N} and the deletion of excessive higher powers. Its weight is at most HN/NH_N/\sqrt{N}. The total surviving weight is at least

HN−1−O(N−1/12)−∑p>N/z,p≤Ndpp≥EN−1−O(N−1/12)≥m.H_N-1-O(N^{-1/12})-\sum_{\substack{p>N/z,\,p\le N}}\frac{d_p}{p} \ge\mathcal{E}_N-1-O(N^{-1/12})\ge m.

Only primes are summed here and below. This comparison charges a proxy cancellation in the lower range by its full cost; it never assumes that an optimizer for a damaged block remains feasible.

Allocation and cardinalities. Order the blocks by nondecreasing effective denominator x(B)=∣B∣/H(B)x(B)=|B|/\mathcal{H}(B) and give each allocated block to a group of least current mass. All blocks with x(B)≤N1/4x(B)\le N^{1/4} are singletons, since a large-prime block has minimum denominator exceeding N\sqrt{N}. They have aggregate mass at most L/4+O(1)L/4+O(1). During this initial stage the least load is at most 1/4+o(1)1/4+o(1), so every load stays below 3/4+o(1)3/4+o(1); groups receiving no denominator at most 100 stay below 1/4+1/100+o(1)1/4+1/100+o(1). Every later block has mass at most η\eta, by the singleton cutoff or the bound HN/NH_N/\sqrt{N}. Continue until every load reaches 1−δ−η1-\delta-\eta. No load exceeds 1−δ1-\delta, and exhaustion before stopping contradicts the lower bound mm for available mass. Each residual then lies in [δ,δ+η][\delta,\delta+\eta] and has reduced denominator dividing D′D'.

For clarity we verify the cardinality bound for this new cutoff. Let t0t_0 be the last index with x(B)≤N1/3x(B)\le N^{1/3} and TT the stopping index. The prefix through t0t_0 consists of singletons and has total mass L/3+O(1)L/3+O(1), by (32); none of the large-prime block cancellations changes this prefix. If T≤t0T\le t_0, every group already has O(N1/3)O(N^{1/3}) terms. Otherwise the minimum load at t0t_0 exceeds 3/103/10: if not, every group receiving no denominator at most 100 has mass at most 3/10+η3/10+\eta, by its last addition after the initial stage or its initial bound. The at most 100 exceptional groups have total mass O(1)O(1), contradicting the prefix mass. All nonexceptional groups have therefore received an addition after the initial stage by t0t_0. Write v(t)v(t) for the minimum load at time tt. From t0t_0 through TT every nonexceptional load lies in [v(t),v(t)+η][v(t),v(t)+\eta]. If WtW_t is the mass allocated after tt through TT, and Wi,tW_{i,t} its share in group ii, then

Wt≥(m−O(1))(v(T)−v(t)−η),Wi,t≤v(T)−v(t)+η.W_t\ge(m-O(1))(v(T)-v(t)-\eta),\qquad W_{i,t}\le v(T)-v(t)+\eta.

In the first inequality the multiplier denotes the actual number m0m_0 of nonexceptional groups. The second holds even for an exceptional group by considering its last addition after tt, or its zero increment. Hence Wi,t≤Wt/m0+2ηW_{i,t}\le W_t/m_0+2\eta. Multiplying this tail inequality by the nonnegative successive increments in x(B)x(B) and summing, as in (19)–(20), gives at most N/m0+2NηN/m_0+2N\eta terms after t0t_0 per group; the prefix supplies at most N1/3N^{1/3}. Since m=L+O(1)m=L+O(1), each base set thus has size at most N/L+O(N/L2)N/L+O(N/L^2).

Exact closure. For each group apply the modular cancellation of Section 7 to every nonmarker prime z<p≤Nz<p\le\sqrt{N} in its residual denominator, using its own Ci,pC_{i,p}. Each such prime appears to exponent at most one. The cofactors of the added denominators are yy-powersmooth, so they introduce no other prime power exceeding zz. The total mass spent, even over all groups, is O(Q0/N)=o(δ)O(Q_0/\sqrt{N})=o(\delta). Every residual is now between δ/2\delta/2 and 2δ2\delta, with zz-powersmooth reduced denominator.

Use distinct remaining elements of R\mathcal{R} to reduce group ii’s residual to [1/(2Pi),1/(2Pi)+2/N][1/(2P_i),1/(2P_i)+2/N], adding a term only while above the upper endpoint. Each starts above that interval since N−1/6=o(δ)N^{-1/6}=o(\delta). No step crosses its lower endpoint. The full pool has mass at least 8Lδ8L\delta while all groups together require at most 2mδ2m\delta, so all reach their intervals. For the final residual θi\theta_i, we have 1/2≤Piθi≤1/2+2Pi/N≤3/41/2\le P_i\theta_i\le1/2+2P_i/N\le3/4. Its reduced denominator is zz-powersmooth. By (31) and Lemma 3, PiθiP_i\theta_i is represented by Xi1/5X_i^{1/5}-powersmooth denominators in [Xi,C0Xi][X_i,C_0X_i]. Multiplying these denominators by PiP_i closes group ii exactly, within [2,N][2,N]. Each such denominator contains its own marker and no other, and all previously used denominators avoid all markers. Hence disjointness holds throughout. A group gains at most O(NQ0+N+N5/6)=o(N/L2)O(\sqrt{N}Q_0+N+N^{5/6})=o(N/L^2) terms in the repairs. Restoring {1}\{1\} completes the proof. □

Corollary 17 (Integer values and inverse heights). Outside a set of at most O(X11/12)O(X^{11/12}) integers N≤XN\le X one has k(N)=h(N)=⌊EN⌋k(N)=h(N)=\lfloor\mathcal{E}_N\rfloor. If Mj=min⁡{N:EN≥j}M_j=\min\{N:\mathcal{E}_N\ge j\}, then

Mj≤Tj≤Nj≤Mj+O(Mj11/12).M_j\le T_j\le N_j\le M_j+O(M_j^{11/12}).

In particular 0≤log⁡Nj−log⁡Tj≪e−j/120\le\log N_j-\log T_j\ll e^{-j/12} as j→∞j\to\infty.

Proof. The quantity EN\mathcal{E}_N is the greatest mass of a subset of [1,N][1,N] satisfying the separate zero-residue condition at every p>Np>\sqrt{N}. These conditions decouple because the prime blocks are disjoint. A feasible subset stays feasible when NN is increased: old prime constraints may disappear, and primes newly entering the range divide no old element. Thus En\mathcal{E}_n is nondecreasing. Moreover, if every prime factor of nn is at most n\sqrt{n}, adding nn to any previous maximizer shows that En−En−1≥1/n\mathcal{E}_n-\mathcal{E}_{n-1}\ge1/n.

There is an absolute c>0c>0 such that any interval (u,v]⊆[X,2X](u,v]\subseteq[X,2X] of length Y≥4X2/3Y\ge4X^{2/3} contains at least cYcY such integers, for large XX. Indeed take distinct primes $X^{3/10}<p<q\le X1/3X^{1/3}. Since pq≤X2/3pq \le X^{2/3}, at least Y/(2pq)Y/(2pq) multiples of pqpq lie in the interval. Their cofactor is at most 2X2/5<X2X^{2/5}<\sqrt{X}, and p,q<Xp,q<\sqrt{X}. Each integer under consideration has at most three prime divisors in this range and hence is counted at most three times. By partial summation of the PNT the sum of the reciprocals of these primes tends to log⁡(10/9)>0\log(10/9)>0, while the sum of their reciprocal squares tends to zero. Summing over pairs gives the assertion. Consequently

E⌊v⌋−E⌊u⌋≫Y/X.(33)\mathcal{E}_{\lfloor v\rfloor}-\mathcal{E}_{\lfloor u\rfloor}\gg Y/X. \tag*{(33)}

The theorem leaves an integer undetermined only when EN∈[j,j+C1X−1/12]\mathcal{E}_N\in[j,j+C_1X^{-1/12}] for some integer jj and X≤N≤2XX\le N\le2X. Since EN=HN+O(U2/L)\mathcal{E}_N=H_N+O(U^2/L), only O(1)O(1) such bands intersect the range in one dyadic interval. For each band the indices form an interval by monotonicity. By (33) its length is O(X11/12+X2/3)=O(X11/12)O(X^{11/12}+X^{2/3})=O(X^{11/12}). A dyadic sum gives the asserted exception count.

The first two height inequalities follow from the upper bound and from taking unions. Put X=MjX=M_j, which exists since EN=HN+o(1)\mathcal{E}_N=H_N+o(1). In (33) take u=Xu=X and v=X+⌊AX11/12⌋v=X+\lfloor AX^{11/12}\rfloor with a sufficiently large absolute AA. The capacity at ⌊v⌋\lfloor v\rfloor is then at least j+C1X−1/12j+C_1X^{-1/12}, so the theorem gives k(⌊v⌋)≥jk(\lfloor v\rfloor)\ge j. Finally, EMj−1<j≤EMj\mathcal{E}_{M_{j-1}}<j\le\mathcal{E}_{M_j} and EN=HN+o(1)\mathcal{E}_N=H_N+o(1) give log⁡Mj=j+O(1)\log M_j=j+O(1). The logarithmic bound follows.

Scope. The construction assumes the strict inequality 1/d<a1/d<a and the common denominator condition (1) for varying targets. For a fixed unit-fraction target, Corollary 8 handles the endpoint by reserving a singleton. Theorem 16 leaves an integer undecided when EN\mathcal{E}_N lies within C1N−1/12C_1N^{-1/12} above it. Corollary 17 bounds the number of such heights.

Formal verification

The accompanying Lean 4 package verifies the stated packing thresholds, the group-size bounds, the inverse-height estimates and the exceptional-height bound. The source archive lists the verified statements and their axiom dependencies.

For Theorem 1 the formal proof obtains sufficiency from the stronger threshold of Theorem 12. It proves the short modular cover of Lemma 2 directly and establishes the lower bounds for powersmooth sets needed in Lemma 3. For the necessary side of Theorem 12, the package proves its own single-colour support bound and uses injectivity of reduction to control the mass of exceptional prime blocks.

References

  1. [1]T. F. Bloom, On a density conjecture about unit fractions (with an appendix by T. F. Bloom and B. Mehta), J. Eur. Math. Soc. 27 (2025), 4563–4589. doi:10.4171/JEMS/1456.
  2. [2]T. F. Bloom, Erdős Problems, entries 296, 308, and 309; consulted 25 November 2026 (including indexed copies).
  3. [3]E. S. Croot III, On some questions of Erdős and Graham about Egyptian fractions, Mathematika 46 (1999), 359–372. doi:10.1112/S0025579300007828.DOI
  4. [4]E. S. Croot III, On unit fractions with denominators in short intervals, Acta Arith. 99 (2001), 99–114. doi:10.4064/aa99-2-1.DOI
  5. [5]P. Erdős and R. L. Graham, Old and new problems and results in combinatorial number theory, Monographies de L’Enseignement Mathématique, vol. 28, Université de Genève, 1980.
  6. [6]Y. P. Liu and M. Sawhney, On further questions regarding unit fractions, Int. Math. Res. Not. IMRN (2026), no. 2, rnaf382. doi:10.1093/imrn/rnaf382; arXiv:2404.07113.DOI
  7. [7]H. Yokota, On a problem of Bleicher and Erdős, J. Number Theory 30 (1988), 198–207. doi:10.1016/0022-314X(88)90017-0.DOI
  8. [9]H. L. Montgomery and R. C. Vaughan, The large sieve, Mathematika 20 (1973), 119–134, doi:10.1112/S0025579300004708.DOI
  9. [10]M. N. Bleicher and P. Erdős, Denominators of Egyptian fractions. II, Illinois J. Math. 20 (1976), 598–613, Theorem 3.DOI
  10. [11]S. Bettin, L. Grenié, G. Molteni and C. Sanna, A lower bound for the number of Egyptian fractions, Math. Comp., doi:10.1090/mcom/4190, arXiv:2509.10030, equation (2).

Paper details

vlnc:W_hpp33nkt
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents