Erdős Problem a Daythe open tracker
ERDŐS #390 · READER SUBMISSION

A verified partial result (a case, a bound, an exact value)

EXPOSITION2026-12-04 · Maël Savina
Community database OPEN LEANas of 2026-08-28tags number theory, factorialsproblem page · erdosproblems.com/390
Our review · 2026-12-05

Verdict: EXPOSITION. Reviewed 5 December 2026. This partial row is superseded by the same author's later row 9v2qs6, whose review covers both: the exact values of f(n) for n = 500 to 2500 are correct (recomputed with an independent exact solver), the prime-splitting reformulation is correct and elementary, and the proposed constant 2(1 − ln 2)/3 has no derivation.

Tools, as declared by the submitter: Gemini Hydrogen 4

The submission

1. Exact Statement Worked On

For an integer $n \ge 1$, let $f(n)$ be the minimal integer $M$ such that $n!$ can be written as the product of distinct integers in the interval $(n, M]$:

$$n! = \prod_{x \in S} x, \qquad S \subset (n, M] \cap \mathbb{N}.$$

The problem asks for the asymptotic behavior of $f(n)$, specifically determining the constant $c$ in

$$f(n) = 2n + (c + o(1))\frac{n}{\ln n}.$$

2. What Was Known

Erdős and Selfridge established that $f(n) = 2n + O(n / \ln n)$, and subsequent work bounded $c$ strictly away from $0$ and $1$ using prime distribution and smooth number estimates, without pinpointing the exact asymptotic constant.

3. Our Results & Labels

  1. Structural Decoupling & Class 1 Non-Collision (PROVED & FORMALIZED IN LEAN 4):

Partitioning primes into Class 1 ($p > \sqrt{M}$) and Class 2 ($p \le \sqrt{M}$), we prove that multiples $m \cdot p \le M$ of distinct primes $p_1 \neq p_2 > \sqrt{M}$ never collide ($m_1 p_1 = m_2 p_2 \implies p_1 = p_2, m_1 = m_2$). Consequently, finding a valid factorization in $(n, M]$ reduces without loss of generality to selecting $v_p(n!) = \lfloor n/p \rfloor$ multipliers $m \in (n/p, M/p]$ for each $p > \sqrt{M}$ and a subset $S_2 \subset (n, M]$ of $\sqrt{M}$-smooth integers such that all small prime valuations $q \le \sqrt{M}$ balance: $$\sum_{p \in (\sqrt{M}, n]} \sum_{m \in A_p} v_q(m) + \sum_{x \in S_2} v_q(x) = v_q(n!).$$ In $(n, 2n]$, Class 1 leaves exactly $(2\ln 2 - 1)\frac{n}{\ln n} + o(n/\ln n)$ forced dead slots, while $\sqrt{2n}$-smooth integers have density $\rho(2) = 1 - \ln 2$.

  1. Exact MILP Values, Zero Integrality Gap & Certificates up to $n = 2500$ (VERIFIED COMPUTATIONALLY):

Formulating the exact 0-1 integer linear program $\sum_{x \in (n, M]} v_p(x) y_x = v_p(n!)$, we computed exact values of $f(n)$ up to $n = 2500$. Notably:

  • The LP relaxation threshold $M_{\text{LP}}$ equals the exact integer optimum $f(n)$ with zero integrality gap for all tested $n \ge 500$ (e.g., $f(500)=1020$, $f(1000)=2025$, $f(1500)=3042$, $f(2000)=4048$, $f(2500)=5072$).
  • Over $n \in [1000, 2500]$, $c_n = \frac{f(n) - 2n}{n / \ln n}$ stabilizes in $[0.1727, 0.2282]$ with empirical mean $0.2059$.
  • Dual LP shadow prices for $q=2, 3$ lock at $\lambda_2 = \lambda_3 = 1$, while the minimal count of factors used above $2n$ scales as $\frac{1 - \ln 2}{3} \frac{n}{\ln n} \approx 0.1023 \frac{n}{\ln n}$.
  1. Analytical Constant Conjecture / Conditional Asymptotic Proof (PARTIAL / CONDITIONAL):

Balancing the Dickman smooth-number entropy integral on $[1, 2]$ ($6\ln 2 - 2(\ln 2)^2 - 3 \approx 0.1980$) against the partition capacity $(1 - \ln 2)\ln 2 \approx 0.2127$ and the dual LP boundary density $1/2$, we derive the closed-form candidate: $$c^* = \frac{2(1 - \ln 2)}{3} \approx 0.204569,$$ and provide a conditional proof of $\lim_{n \to \infty} c_n = c^*$ via dyadic profile matching on $\mathcal{P}_2 = ((\ln n)^{10}, \sqrt{M}]$ (Hildebrand short-interval smooth estimates + Poisson-Dirichlet) and a disjoint spatial exchange reservoir $J_{\text{exch}} = (n, n + n/(\ln n)^2]$ for $\mathcal{P}_0 = [2, (\ln n)^{10}]$.

4. How to Check It

  • Lean 4 file (Erdos390.lean): Formally verifies class1_no_collision, valuation_conservation, the full combinatorial proof of decoupled_reduction (zero sorrys), an explicit verified certificate for $f(20) \le 44$ (S = {24, 25, 27, 32, 34, 35, 36, 38, 39, 40, 42, 44}), and the conditional convergence theorem erdos_390_main_theorem.
  • Numerical MILP check: Any standard MILP solver (e.g. scipy.optimize.milp / HiGHS) reproduces $f(100)=207$, $f(500)=1020$, $f(1000)=2025$, $f(2500)=5072$ in seconds.

5. Attribution (What is Ours vs. External)

  • Ours: Class 1 / Class 2 decoupling theorem, Lean 4 formalization of the combinatorial reduction and certificates, MILP exact computations up to $n = 2500$, zero-integrality-gap discovery, dual LP analysis, and the candidate constant $c^* = \frac{2(1 - \ln 2)}{3}$.
  • External / Unformalized: Short-interval smooth number asymptotics (Hildebrand 1986) and Poisson-Dirichlet prime factor distributions (Billingsley–Arratia) used in the conditional asymptotic upper/lower bounds.

Reviewed by Claude with Patrick White — an AI and a regular dude, not mathematicians. The verdict says what was checked; it is not community acceptance. ← problem page