Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated

../


Source. Scott D. Hughes, Sums of distinct divisors of factorials, arXiv:2609.10902v1, Theorem 1 (physical p. 1) and its proof in Section 3 (pp. 2–4), in the five-page PDF held by Hughes (2026); the library records the theorem on its result page. Read in the canonical conversion beside the PDF and checked against the page images (pp. 1–4). The two ingredients are reconstructed on the Lemma 4 page and the Corollary 3 page.

Standing. Author-recorded reconstruction; not an independent review; it changes no status and assigns no tier. The argument imports the Berend–Harmse gap estimate through Corollary 3 (second-hand; see that page) and the elementary asymptotic ∑j≤n1/log⁡j∼n/log⁡n\sum_{j\le n}1/\log j\sim n/\log n. As a bound on h(n!)h(n!) the theorem is superseded by the site-accepted h(n!)<no(1)h(n!)<n^{o(1)} recorded on the Problem 18 page; its interest is the explicit constant of the greedy route.

Definitions

An integer N≥1N\ge1 is practical if every integer 1≤m≤N1\le m\le N is a sum of distinct divisors of NN; for practical NN, h(N)h(N) is the least kk such that every 1≤m≤N1\le m\le N is a sum of at most kk distinct divisors of NN (a fresh set of divisors for each mm). Greedy expansion, bracketing divisors, chosen divisors and nonterminal steps are defined on the Lemma 4 page; εj\varepsilon_j and the windows [(j−1)!,j!][\sqrt{(j-1)!},\sqrt{j!}] on the Corollary 3 page. Throughout, N=n!N=n!,

j0=216,T0=2(j0+1)!,ℓ(R)=log⁡R,j_0=2^{16},\qquad T_0=2\sqrt{(j_0+1)!},\qquad \ell(R)=\log R ,

and for integers j≥j0+1j\ge j_0+1

δj=6 εj−1,sj=log⁡1δj=log⁡1εj−1−log⁡6.\delta_j=6\,\varepsilon_{j-1},\qquad s_j=\log\frac1{\delta_j}=\log\frac1{\varepsilon_{j-1}}-\log6 .

By display (1) of the Corollary 3 page applied at j−1j-1, and since log⁡(j−1)=log⁡j+O(1/j)\log(j-1)=\log j+O(1/j),

sj=(log⁡j)22log⁡2(1+O(log⁡log⁡jlog⁡j)).(2)s_j=\frac{(\log j)^2}{2\log2} \Bigl(1+O\Bigl(\frac{\log\log j}{\log j}\Bigr)\Bigr). \tag{2}

The sequence sjs_j is increasing in jj, because εj−1\varepsilon_{j-1} is decreasing, and sj≥64log⁡2−log⁡6>0s_j\ge64\log2-\log6>0 for every j≥j0+1j\ge j_0+1.

For real 1≤R≤N1\le R\le\sqrt N let j(R)j(R) be the least integer j∈[j0+1,n]j\in[j_0+1,n] with R≤j!R\le\sqrt{j!}; it exists because n!=N\sqrt{n!}=\sqrt N, and it is nondecreasing in RR. If R≥T0R\ge T_0 then R>(j0+1)!R>\sqrt{(j_0+1)!}, so j(R)≥j0+2j(R)\ge j_0+2, and by minimality (j(R)−1)!<R≤j(R)!\sqrt{(j(R)-1)!}<R\le\sqrt{j(R)!}.

Statement

h(n!)≤(2log⁡2+o(1)) nlog⁡n(n→∞).h(n!)\le(2\log2+o(1))\,\frac n{\log n}\qquad(n\to\infty).

Proof

Since the statement is asymptotic, assume n≥j02n\ge j_0^2; then T0<NT_0<\sqrt N. Fix 1≤m≤N1\le m\le N and run the greedy expansion R0=m>R1>⋯R_0=m>R_1>\cdots of Lemma 4. Consecutive divisors of N=n!N=n! have ratio at most 22 (proved on the Lemma 4 page), so Lemma 4 applies at every nonterminal step: the divisors used are distinct and mm is their sum. The number of divisors used is the number of nonterminal steps plus one. The nonterminal steps are counted by the size of the remainder RiR_i at which they start, in four ranges: N/T0<R≤NN/T_0<R\le N, N<R≤N/T0\sqrt N<R\le N/T_0, T0≤R≤NT_0\le R\le\sqrt N and 1≤R<T01\le R<T_0. Since the remainders decrease, the steps of each range form a consecutive run.

Locating the window of a step

Let d<R<bd<R<b be the bracketing divisors of a nonterminal remainder RR. Two symmetric facts hold.

(i) If R≤NR\le\sqrt N then db≤Ndb\le N. Otherwise N/d<bN/d<b; but N/dN/d is a divisor of NN with N/d≥N/R≥N≥R>dN/d\ge N/R\ge\sqrt N\ge R>d, so N/dN/d would be a divisor of NN strictly between the consecutive divisors dd and bb.

(ii) If R>NR>\sqrt N then db≥Ndb\ge N. Otherwise N/b>dN/b>d; but N/b<N/R<N<R<bN/b<N/R<\sqrt N<R<b, so N/bN/b would be a divisor of NN strictly between dd and bb.

Also d≥b/2>R/2d\ge b/2>R/2 and b≤2d<2Rb\le2d<2R, so R2/2<db<2R2R^2/2<db<2R^2 and R/2<db<2RR/2<\sqrt{db}<2R.

The window bound

Let T0≤R≤NT_0\le R\le\sqrt N be a nonterminal remainder with bracketing divisors d<R<bd<R<b, and put j=j(R)j=j(R), so that (j−1)!<R≤j!\sqrt{(j-1)!}<R\le\sqrt{j!} and j≥j0+2j\ge j_0+2. Then

db>R2>(j−1)!2≥(j−2)!,db<2R≤2j!≤(j+1)!,\sqrt{db}>\frac R2>\frac{\sqrt{(j-1)!}}2\ge\sqrt{(j-2)!}, \qquad \sqrt{db}<2R\le2\sqrt{j!}\le\sqrt{(j+1)!},

using j−1≥2\sqrt{j-1}\ge2 and j+1≥2\sqrt{j+1}\ge2; and db≤N\sqrt{db}\le\sqrt N by (i). Hence db\sqrt{db} lies in the window [(j′−1)!,j′!][\sqrt{(j'-1)!},\sqrt{j'!}] of some index j′∈{j−1,j,j+1}j'\in\{j-1,j,j+1\} with j′≤nj'\le n (the value N\sqrt N itself belongs to the window of index nn). As j′≥j−1≥j0+1>216j'\ge j-1\ge j_0+1>2^{16} and n≥j′n\ge j', Corollary 3 gives log⁡(b/d)≤3εj′≤3εj−1\log(b/d)\le3\varepsilon_{j'}\le3\varepsilon_{j-1} by the monotonicity of ε\varepsilon. That is,

log⁡bd≤12 δj(R).(3)\log\frac bd\le\frac12\,\delta_{j(R)} . \tag{3}

Lower range T0≤R≤NT_0\le R\le\sqrt N

For a nonterminal step starting at RiR_i in this range, Lemma 4 and (3) give Ri+1≤2Rilog⁡(b/d)≤Ri δj(Ri)R_{i+1}\le2R_i\log(b/d)\le R_i\,\delta_{j(R_i)}, that is,

ℓ(Ri+1)≤ℓ(Ri)−sj(Ri).(4)\ell(R_{i+1})\le\ell(R_i)-s_{j(R_i)} . \tag{4}

For ℓ\ell in the interval [ℓ(Ri+1),ℓ(Ri)][\ell(R_{i+1}),\ell(R_i)] one has eℓ≤Rie^\ell\le R_i, hence j(eℓ)≤j(Ri)j(e^\ell)\le j(R_i) and sj(eℓ)≤sj(Ri)s_{j(e^\ell)}\le s_{j(R_i)}. Therefore, by (4),

∫ℓ(Ri+1)ℓ(Ri)dℓsj(eℓ)≥ℓ(Ri)−ℓ(Ri+1)sj(Ri)≥1.\int_{\ell(R_{i+1})}^{\ell(R_i)}\frac{d\ell}{s_{j(e^\ell)}} \ge\frac{\ell(R_i)-\ell(R_{i+1})}{s_{j(R_i)}}\ge1 .

The intervals [ℓ(Ri+1),ℓ(Ri)][\ell(R_{i+1}),\ell(R_i)] of the steps starting in the lower range have disjoint interiors and lie inside [log⁡T0,12log⁡N][\log T_0,\tfrac12\log N], except that the last of them may extend below log⁡T0\log T_0. Hence the number of such steps is at most

1+∫log⁡T012log⁡Ndℓsj(eℓ).1+\int_{\log T_0}^{\frac12\log N}\frac{d\ell}{s_{j(e^\ell)}} .

The set of ℓ\ell with j(eℓ)=jj(e^\ell)=j is contained in (12log⁡(j−1)!,12log⁡j!](\tfrac12\log(j-1)!,\tfrac12\log j!], an interval of length 12log⁡j\tfrac12\log j, and there the integrand is 1/sj1/s_j. So

#{steps with T0≤R≤N}≤1+∑j=j0+1n12log⁡jsj=1+∑j=j0+1n(log⁡2log⁡j+O(log⁡log⁡j(log⁡j)2)),\#\{\text{steps with }T_0\le R\le\sqrt N\} \le1+\sum_{j=j_0+1}^{n}\frac{\tfrac12\log j}{s_j} =1+\sum_{j=j_0+1}^{n}\Bigl(\frac{\log2}{\log j} +O\Bigl(\frac{\log\log j}{(\log j)^2}\Bigr)\Bigr),

by (2), since 12log⁡j⋅2log⁡2/(log⁡j)2=log⁡2/log⁡j\tfrac12\log j\cdot2\log2/(\log j)^2=\log2/\log j and (1/log⁡j)⋅log⁡log⁡j/log⁡j=log⁡log⁡j/(log⁡j)2(1/\log j)\cdot\log\log j/\log j=\log\log j/(\log j)^2. The elementary asymptotic

∑2≤j≤n1log⁡j=nlog⁡n(1+O(1log⁡n)),\sum_{2\le j\le n}\frac1{\log j} =\frac n{\log n}\Bigl(1+O\Bigl(\frac1{\log n}\Bigr)\Bigr),

obtained by comparing the sum with ∫2ndt/log⁡t\int_2^n dt/\log t and integrating by parts once, and the crude bound ∑j≤nlog⁡log⁡j/(log⁡j)2≪nlog⁡log⁡n/(log⁡n)2\sum_{j\le n}\log\log j/(\log j)^2\ll n\log\log n/(\log n)^2 (split the sum at n\sqrt n), give

#{steps with T0≤R≤N}≤(log⁡2+O(log⁡log⁡nlog⁡n))nlog⁡n.\#\{\text{steps with }T_0\le R\le\sqrt N\} \le\Bigl(\log2+O\Bigl(\frac{\log\log n}{\log n}\Bigr)\Bigr)\frac n{\log n}.

Upper range N<R≤N/T0\sqrt N<R\le N/T_0

Put U=N/RU=N/R, so T0≤U<NT_0\le U<\sqrt N. If d<R<bd<R<b are the bracketing divisors of RR, then N/b<U<N/dN/b<U<N/d, and N/bN/b, N/dN/d are consecutive divisors of NN, because x↦N/xx\mapsto N/x is an order-reversing bijection of the divisor set; their ratio is again b/db/d, and their geometric mean N/dbN/\sqrt{db} satisfies U/2<N/db<2UU/2<N/\sqrt{db}<2U by the bounds on db\sqrt{db} above and N/db≤NN/\sqrt{db}\le\sqrt N by (ii). So the argument that proved (3) applies word for word to the pair N/b<U<N/dN/b<U<N/d in place of d<R<bd<R<b: with j=j(U)≥j0+2j=j(U)\ge j_0+2, the geometric mean lies in a window of index j′∈{j−1,j,j+1}j'\in\{j-1,j,j+1\}, j′≤nj'\le n, and Corollary 3 gives log⁡(b/d)≤12δj(U)\log(b/d)\le\tfrac12\delta_{j(U)}. Lemma 4, applied to the actual remainder RR with its bracketing divisors d<R<bd<R<b, then gives Ri+1≤δj(Ui)RiR_{i+1}\le\delta_{j(U_i)}R_i; with Ui=N/RiU_i=N/R_i this reads

log⁡Ui+1−log⁡Ui≥sj(Ui).(5)\log U_{i+1}-\log U_i\ge s_{j(U_i)} . \tag{5}

Along the expansion UiU_i increases, so j(Ui)j(U_i) and sj(Ui)s_{j(U_i)} are nondecreasing in ii. The charging integral of the lower range cannot be mirrored: there the descent of a step was bounded below by the value of ss at the upper end of the step's interval, which dominated the integrand on the whole interval, whereas (5) bounds the ascent of a step by the value of ss at the lower end, which does not. The steps are counted in dyadic blocks of window indices instead.

Let

Rn=⌊log⁡2n2j0⌋,Jr=n2r+1(0≤r≤Rn),Br={j∈Z:Jr<j≤2Jr}.R_n=\Bigl\lfloor\log_2\frac n{2j_0}\Bigr\rfloor,\qquad J_r=\frac n{2^{r+1}}\quad(0\le r\le R_n),\qquad \mathcal B_r=\{j\in\mathbb Z: J_r<j\le2J_r\}.

Then 2Rn≤n/(2j0)<2Rn+12^{R_n}\le n/(2j_0)<2^{R_n+1} gives j0≤JRn<2j0j_0\le J_{R_n}<2j_0, and the blocks B0,…,BRn\mathcal B_0,\dots,\mathcal B_{R_n} partition the integers in (JRn,n](J_{R_n},n].

Steps starting in a block. Fix rr and consider the nonterminal steps of the upper range whose start satisfies j(Ui)∈Brj(U_i)\in\mathcal B_r; they form a consecutive run of the expansion because j(Ui)j(U_i) is nondecreasing in ii. For each of them (j(Ui)−1)!<Ui≤j(Ui)!\sqrt{(j(U_i)-1)!}<U_i\le\sqrt{j(U_i)!}, so their values log⁡Ui\log U_i lie in an interval of length at most

Lr=12∑Jr<j≤2Jrlog⁡j=12Jrlog⁡Jr+O(Jr),L_r=\tfrac12\sum_{J_r<j\le2J_r}\log j=\tfrac12J_r\log J_r+O(J_r),

the last by comparing the sum with ∫Jr2Jrlog⁡t dt=2Jrlog⁡(2Jr)−Jrlog⁡Jr−Jr\int_{J_r}^{2J_r}\log t\,dt=2J_r\log(2J_r)-J_r\log J_r-J_r. By (5) and the monotonicity of ss, consecutive starts of the run are separated in log⁡U\log U by at least s⌊Jr⌋+1s_{\lfloor J_r\rfloor+1}, because j(Ui)>Jrj(U_i)>J_r forces j(Ui)≥⌊Jr⌋+1j(U_i)\ge\lfloor J_r\rfloor+1. A run of MM starts therefore has (M−1) s⌊Jr⌋+1≤Lr(M-1)\,s_{\lfloor J_r\rfloor+1}\le L_r, so the run has at most

1+Lrs⌊Jr⌋+1=(log⁡2+O(log⁡log⁡Jrlog⁡Jr))Jrlog⁡Jr+O(1)1+\frac{L_r}{s_{\lfloor J_r\rfloor+1}} =\Bigl(\log2+O\Bigl(\frac{\log\log J_r}{\log J_r}\Bigr)\Bigr) \frac{J_r}{\log J_r}+O(1)

steps, by (2) at ⌊Jr⌋+1\lfloor J_r\rfloor+1, where log⁡(⌊Jr⌋+1)=log⁡Jr+O(1/Jr)\log(\lfloor J_r\rfloor+1)=\log J_r+O(1/J_r), and 12Jrlog⁡Jr⋅2log⁡2/(log⁡Jr)2=log⁡2⋅Jr/log⁡Jr\tfrac12J_r\log J_r\cdot2\log2/(\log J_r)^2=\log2\cdot J_r/\log J_r; the term O(Jr)/s⌊Jr⌋+1O(J_r)/s_{\lfloor J_r\rfloor+1} is O(Jr/(log⁡Jr)2)O(J_r/(\log J_r)^2) and is absorbed.

Steps below the blocks. The remaining upper-range steps have j(Ui)≤JRn<2j0j(U_i)\le J_{R_n}<2j_0, hence T0≤Ui≤(2j0)!T_0\le U_i\le\sqrt{(2j_0)!}. By (5) each of them raises log⁡U\log U by at least sj0+2>0s_{j_0+2}>0, an absolute constant, inside the fixed interval [log⁡T0,12log⁡(2j0)!][\log T_0,\tfrac12\log(2j_0)!]; so there are O(1)O(1) of them.

Summing the blocks. The main terms satisfy ∑r=0RnJr/log⁡Jr≤(1+o(1)) n/log⁡n\sum_{r=0}^{R_n}J_r/\log J_r\le(1+o(1))\,n/\log n: for fixed 0<η<10<\eta<1, the blocks with Jr≥n1−ηJ_r\ge n^{1-\eta} have log⁡Jr≥(1−η)log⁡n\log J_r\ge(1-\eta)\log n and ∑rJr≤n\sum_rJ_r\le n, so they contribute at most n/((1−η)log⁡n)n/((1-\eta)\log n), while the blocks with Jr<n1−ηJ_r<n^{1-\eta} contribute at most ∑Jr<n1−ηJr≤2n1−η=o(n/log⁡n)\sum_{J_r<n^{1-\eta}}J_r\le2n^{1-\eta}=o(n/\log n); letting n→∞n\to\infty and then η→0\eta\to0 gives the claim. The relative-error terms satisfy

∑r=0RnJrlog⁡log⁡Jr(log⁡Jr)2=O(nlog⁡log⁡n(log⁡n)2):\sum_{r=0}^{R_n}\frac{J_r\log\log J_r}{(\log J_r)^2} =O\Bigl(\frac{n\log\log n}{(\log n)^2}\Bigr):

the function g(t)=log⁡log⁡t/(log⁡t)2g(t)=\log\log t/(\log t)^2 is decreasing for t≥j0t\ge j_0 (its derivative has the sign of 1−2log⁡log⁡t1-2\log\log t), so the blocks with Jr≥nJ_r\ge\sqrt n have g(Jr)≤g(n)≤4log⁡log⁡n/(log⁡n)2g(J_r)\le g(\sqrt n)\le4\log\log n/(\log n)^2 and ∑rJr≤n\sum_rJ_r\le n, and the blocks with Jr<nJ_r<\sqrt n have g(Jr)≤g(j0)g(J_r)\le g(j_0) and ∑Jr≤2n\sum J_r\le2\sqrt n. The O(1)O(1) terms of the Rn+1=O(log⁡n)R_n+1=O(\log n) blocks total O(log⁡n)O(\log n). Altogether

#{steps with N<R≤N/T0}≤(log⁡2+o(1)) nlog⁡n.\#\{\text{steps with }\sqrt N<R\le N/T_0\}\le(\log2+o(1))\,\frac n{\log n}.

Endgames

For a nonterminal step starting at Ri>N/T0R_i>N/T_0: since di>Ri/2d_i>R_i/2, Ri+1=Ri−di<Ri/2R_{i+1}=R_i-d_i<R_i/2. If the first MM steps all start above N/T0N/T_0, then N/T0<RM−1<R0/2M−1≤N/2M−1N/T_0<R_{M-1}<R_0/2^{M-1}\le N/2^{M-1}, so M<log⁡2T0+1M<\log_2T_0+1: at most O(1)O(1) steps. The same halving bounds the number of steps starting at 1≤R<T01\le R<T_0 by log⁡2T0+1\log_2T_0+1.

Conclusion

Adding the four ranges and the terminal divisor,

h(n!)≤(log⁡2+O(log⁡log⁡nlog⁡n))nlog⁡n+(log⁡2+o(1))nlog⁡n+O(1)=(2log⁡2+o(1))nlog⁡n,h(n!)\le\Bigl(\log2+O\Bigl(\frac{\log\log n}{\log n}\Bigr)\Bigr)\frac n{\log n} +(\log2+o(1))\frac n{\log n}+O(1) =(2\log2+o(1))\frac n{\log n},

uniformly in 1≤m≤N1\le m\le N, which is the theorem. The source's Remark 5 (p. 4) records that the o(1)o(1) is O(log⁡log⁡n/log⁡n)O(\log\log n/\log n), inherited from the lg⁡(lg⁡n)\lg(\lg n) term of the gap estimate.

Gaps and qualifications

  • The gap estimate is imported second-hand through Corollary 3; the 1993 paper is not held.
  • The source writes j(R)−1≥j0j(R)-1\ge j_0 "by the choice of T0T_0"; in fact R≥T0R\ge T_0 forces j(R)≥j0+2j(R)\ge j_0+2, which is what the window bound uses.
  • The asymptotic ∑j≤n1/log⁡j∼n/log⁡n\sum_{j\le n}1/\log j\sim n/\log n and the block sum ∑rJr/log⁡Jr≤(1+o(1))n/log⁡n\sum_rJ_r/\log J_r\le(1+o(1))n/\log n are stated by the source without proof; the justifications above are supplied by the compilation.
  • The source counts the steps of the lower range from j=j0+1j=j_0+1; the window of index j0+1j_0+1 lies below log⁡T0\log T_0 and contributes nothing, so this is only an upper bound, as used.