The sharp second logarithmic term for factoring N!
The sharp second logarithmic term for factoring \(N!\) How large can the smallest factor of \(N!\) be when the product is written as exactly \(N\) positive integer factors? Let \(T(N)\) be the largest achievable minimum. The factors may repeat, and prime factors from the entire factorial may be reallocated freely. This is the quantity \(C(N)\) in Google DeepMind's AlphaEvolve Problem 38, restated by Georgiev et al. in §6.21, Problem 6.38. For \(L=\log N\), the answer through the second logarithmic term is \[\frac{T(N)}{N}=\frac1e-\frac{c_0}{L}-\frac{c_{\mathrm{sharp}}+o(1)}{L^2}, \qquad c_{\mathrm{sharp}}=c_1'+c_0c_1''-\tfrac32 e c_0^2. \] The limit is along all positive integers \(N\to\infty\). For \(\lambda>0\) and \(0<x\le1\), define \[\begin{aligned} f_\lambda(x)&=\left\lfloor\frac1x\right\rfloor\log\!\left(\lambda x\left\lceil\frac1{\lambda x}\right\rceil\right),\\ c_0&=e^{-1}\int_0^1 f_e(x)\,dx,\\ c_1'&=e^{-1}\int_0^1 f_e(x)\log(1/x)\,dx,\\ c_1''&=\sum_{k\ge1}\frac1k\log\!\left(\frac e k\left\lceil\frac k e\right\rceil\right). \end{aligned} \] Equivalently, fix any \(\varepsilon>0\). For all sufficiently large integers \(N\), the threshold \(\lfloor N(e^{-1}-c_0/L-(c_{\mathrm{sharp}}+\varepsilon)/L^2)\rfloor\) is attainable by an integer factorization of \(N!\) with exactly \(N\) factors. The threshold with \(c_{\mathrm{sharp}}-\varepsilon\) is impossible. This answers Problem 38 at order \(L^{-2}\) in the normalized optimum. The obstruction and construction use the same logarithmic budget. For an integer threshold \(t\) with \(t/N\) in a fixed compact subinterval of \((0,1)\), set \(K=\lfloor L^{16}\rfloor\), \(Y=t/K\), and \[U(N,t)=\sum_{Y<p\le N\atop p\,\mathrm{prime}}\left\lfloor\frac Np\right\rfloor\log\!\left(\frac{p\lceil t/p\rceil}{t}\right). \] Feasibility requires \(U(N,t)\le\log(N!)-N\log t\). Conversely, uniformly in this threshold range, the construction produces a multiset \(\mathcal B\) of integers \(b\ge t\) with \(\prod_{b\in\mathcal B} b\mid N!\) and \[\sum_{b\in\mathcal B}\log(b/t)+\log\!\left(\frac{N!}{\prod_{b\in\mathcal B} b}\right) =\log(N!)-|\mathcal B|\log t\le U(N,t)+o(N/L^2). \] The construction calibrates rational multiplicities of near-threshold factors against all primes up to \(2K\) simultaneously. It holds back \(\lceil N/L^{3/2}\rceil\) copies of the prime 2. After rounding down, the sum of absolute discrepancies in the exponents of primes in \((2K,2Y]\) is \(O(N(\log L)^4/L^3)\). Replacing surplus prime occurrences by powers of 2 and pairing unused primes with powers of 2 repairs those discrepancies at a total cost of \(o(N/L^2)\) in the budget. When the budget permits at least \(N\) factors, one keeps any \(N\) and multiplies the leftover integer quotient into one of them. Alexeev et al. had established the first logarithmic correction and the large-prime weight bound. Their arXiv v4 lower-bound argument gives a remainder at scale \(O(L^{-1-c})\) for \(0<c<1\), which leaves the second coefficient undetermined. In the expansion after (5.4), the quadratic contribution to \(-\log(t/N)\) is positive. The second coefficient printed in v4 exceeds \(c_{\mathrm{sharp}}\) by \(e c_0^2>0\), so the upper bound with that coefficient fails asymptotically. Alexeev et al., arXiv v4, Theorem 1.3, Proposition 5.2 and §§9–10
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24797556
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint