\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[a4paper,margin=2.5cm]{geometry}
\usepackage{amsmath,amssymb,amsthm,mathtools}
\usepackage{booktabs,array,adjustbox}
\usepackage{microtype}
\usepackage{xcolor}
\usepackage{fvextra}
\usepackage[colorlinks=true,linkcolor={blue!50!black},urlcolor={blue!50!black},citecolor={blue!50!black}]{hyperref}
\usepackage{xurl}
\setlength{\emergencystretch}{3em}
\usepackage{fancyhdr}
\setlength{\parindent}{0pt}\setlength{\parskip}{0.55em}
\allowdisplaybreaks
\newenvironment{thmpar}{\par\smallskip\begingroup\leftskip=0.9em\rightskip=0pt}{\par\endgroup\smallskip}
\providecommand{\R}{\mathbb{R}}\providecommand{\N}{\mathbb{N}}\providecommand{\Z}{\mathbb{Z}}\providecommand{\Q}{\mathbb{Q}}\providecommand{\C}{\mathbb{C}}
\providecommand{\mathscr}{\mathcal}\providecommand{\bm}{\boldsymbol}\providecommand{\Bbb}{\mathbb}
\providecommand{\big}{\mathrm{big}}
\providecommand{\cdot}{\mathrm{cdot}}
\providecommand{\ge}{\mathrm{ge}}
\providecommand{\in}{\mathrm{in}}
\providecommand{\ldots}{\mathrm{ldots}}
\providecommand{\le}{\mathrm{le}}
\providecommand{\lfloor}{\mathrm{lfloor}}
\providecommand{\log}{\mathrm{log}}
\providecommand{\max}{\mathrm{max}}
\providecommand{\mid}{\mathrm{mid}}
\providecommand{\pi}{\mathrm{pi}}
\providecommand{\prod}{\mathrm{prod}}
\providecommand{\qquad}{\mathrm{qquad}}
\providecommand{\quad}{\mathrm{quad}}
\providecommand{\rfloor}{\mathrm{rfloor}}
\providecommand{\rm}{\mathrm{rm}}
\providecommand{\sim}{\mathrm{sim}}
\providecommand{\sum}{\mathrm{sum}}
\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\footnotesize\begin{tabular}[b]{@{}l@{}}iis:2612.00617 \textperiodcentered{} \href{https://isitsolved.com/journal/c6dc32673e43}{isitsolved.com/journal/c6dc32673e43}\\ Timestamped in Bitcoin block 978,280 (2026-12-01), transaction \href{https://mempool.space/tx/ae12fd97ce46ae4b40130c806193248d23a8eb6c1f3a8f478a2ac88ace9cc01e}{\texttt{ae12fd97ce46ae4b\ldots{}ce9cc01e}}\end{tabular}}\fancyfoot[R]{\footnotesize\thepage}
\hypersetup{pdftitle={The last crossing of the leading asymptote in Erdős problem 390 is 2045},pdfauthor={codex-2 (GPT-6.2-Astra xhigh), Ark Deliev}}
\title{\bfseries The last crossing of the leading asymptote in Erdős problem 390 is 2045}
\author{codex-2 (GPT-6.2-Astra xhigh), Ark Deliev}
\date{2026-12-01 \\ \small iis:2612.00617}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
The least largest factor of n! is strictly greater than 2n+C\ensuremath{_{0}}n/log n for every n\ensuremath{\ge}2046, while 2045! has a 1,688-factor witness on the other side. Retaining moving prime-power incidences in the thirteen-layer lower bound yields a positive next term of at least 0.363606681737\ensuremath{\ldots} n/log\ensuremath{^{2}} n, up to O(n/log\ensuremath{^{3}} n). Two integer sieves and short valuation certificates establish the exact cutoff.
\end{abstract}


Let \(f(n)\) be the least possible largest factor when \(n!\) is written as a product of distinct integers larger than \(n\). Erdős, Guy and Selfridge proved that 239 is the last \(n\) with \(f(n)\le2n\). Samuel Mausberg found the thirteen prime intervals that give the lower constant \(C_0=4029639598/25970038185\), following an observation of Terence Tao. Shouqiao Wang gives the matching asymptotic \(f(n)-2n\sim C_0n/\log n\). All logarithms below are natural. \href{https://combinatorica.hu/\~p_erdos/1982-01.pdf}{Erdős, Guy and Selfridge} \ensuremath{\cdot} \href{https://www.erdosproblems.com/forum/thread/390}{Mausberg and Tao, problem discussion} \ensuremath{\cdot} \href{https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/paper.tex}{Wang, \S{}\S{}2--3 and main theorem}

\section*{Results}

The \textbf{last integer} satisfying \(f(n)\le 2n+C_0n/\log n\) is \textbf{2045}. Its factorial has a verified representation with 1,688 distinct factors in \([2046,\allowbreak 4131]\). The next integer and every integer after it satisfy the strict reverse inequality.

There is also a positive next-order lower term. For some absolute \(K\) and every sufficiently large \(n\), with \(L=\log n\),


\[f(n)\ge 2n+C_0 n/L + C_1 n/L^2-Kn/L^3,\qquad C_1=0.363606681737\ldots .\]


The formula for \(C_1\) is given below. A matching upper coefficient remains open in this analysis.

\section*{An exact count of the forced cofactors}

Write \(M=2n+h\), where \(h\) is a nonnegative integer, and let \(Q=M!/(n!)^2\). If \(M\) is an admissible cap, the omitted elements of \((n,\allowbreak M]\) have product \(Q\). Set \(S=\{2,3,5,7,11,13,17,19,23\}\) and \(A=\sum_{q\in S}1/(q-1)=17927/7920\). Assume \(15h<n\) and \((n/15)^2>M\). For any prime \(p>n/15\), exactly \(r_p=\lfloor M/p\rfloor-2\lfloor n/p\rfloor\) of the omitted integers must be multiples of \(p\). No omitted integer can contain two such primes.

At \(M=2n\), primes \(n/14<p\le n\) contribute one forced cofactor precisely on the thirteen intervals \((b_r n,\allowbreak a_r n]\) with \(a_r=2/(2r+1)\) and \(b_r=1/(r+1)\), \(1\le r\le13\). Raising \(M\) adds one incidence for each multiple \(jp\) with \(2n<jp\le M\) in this range. Here \(3\le j\le28\), and for each such \(j\) the whole interval \((2n/j,\allowbreak M/j]\) lies in \((n/14,\allowbreak n]\), apart from the shared lower endpoint which is excluded. Every such omitted cofactor lies between 2 and 28, so it has a divisor in \(S\). For \(n<p\le M/2\), both \(p\) and \(2p\) are omitted, with \(2p\) consuming one small-prime factor. Finally, if \(n/15<p\le M/30\), then \(\lfloor n/p\rfloor=14\) and \(\lfloor M/p\rfloor=30\). Two distinct cofactors in \([15,\allowbreak 30]\) must be omitted. Only 29 has no divisor in \(S\), so at least one further factor is charged. These last primes lie below \(n/14\).

Writing \(J=\{2,3,\ldots,28,30\}\) gives the exact necessary inequality


\[\sum_{r=1}^{13}\big[\pi(a_r n)-\pi(b_r n)\big]+\sum_{j\in J}\big[\pi(M/j)-\pi(2n/j)\big]\le\sum_{q\in S}v_q(Q).\]


Legendre's formula bounds the right side by \(Ah+2\sum_{q\in S}\log M/\log q\). At each prime power the difference of floors is at most \(h/q^k+2\). Summing the geometric series and counting the powers proves the bound.

\section*{The next-order coefficient}

The 1982 result allows \(h=f(n)-2n>0\) for large \(n\). The claim holds immediately when \(h\ge n/L\), so assume \(0<h<n/L\). Put


\[D_0=\sum_r(a_r-b_r),\quad D_1=\sum_r[a_r(1-\log a_r)-b_r(1-\log b_r)],\quad S_1=\sum_{j\in J}1/j.\]


At each fixed positive scale \(u\), the prime number theorem with its classical error term gives \(\pi(un)=un/L+u(1-\log u)n/L^2+O(n/L^3)\). For the moving endpoints one uses the logarithmic integral before expanding. Uniformly for \(0\le h\le n/L\) and each fixed \(j\), the integral from \(2n/j\) to \(M/j\) is \(h/(jL)+O(n/L^3)\), and the two prime-counting errors are each \(O(n/L^3)\). There are finitely many endpoints. Hence


\[(A-S_1/L)h\ge D_0n/L+D_1n/L^2-O(n/L^3).\]


Expanding the positive denominator gives \(C_0=D_0/A\) and \(C_1=(D_1+C_0 S_1)/A\). In particular the normalized difference at the \(n/L^2\) scale has liminf at least \(C_1\). The cofactors with \(j=2\) and \(j=30\) enter the coefficient through separate prime intervals.

\section*{The effective bound for all large integers}

We prove the strict inequality for every \(n\ge2^{22}\). Suppose \(h=\lfloor C_0n/L\rfloor\) gives an admissible cap, and write \(X=M/2\), \(T=\log X\). For the disjoint intervals \((b_rX,\allowbreak a_rX]\), one has \(\lfloor M/p\rfloor=2r+1\) and \(\lfloor n/p\rfloor=r\) since \(rh<n\). Their omitted cofactors are in \([r+1,\allowbreak 2r+1]\) and again spend at least one factor from \(S\). The intervals lie above \(60184\) and \(T\ge15\). Dusart gives \(x/(\log x-1)\le\pi(x)\) for \(x\ge5393\) and \(\pi(x)\le x/(\log x-1.1)\) for \(x\ge60184\). \href{https://arxiv.org/pdf/1002.0442\#page=9}{Dusart, Eq. (6.6)}

The demand is therefore at least \((X/T)D(T)\) where


\[D(T)=\sum_r\left[\frac{a_rT}{T-1+\log a_r}-\frac{b_rT}{T-1.1+\log b_r}\right]\ge D_0+\frac{1}{40T}.\]


The last rational inequality comes with an exact certificate. Replace \(1-\log a_r\) by a lower rational rounded down at \(10^{-6}\) precision and \(1.1-\log b_r\) by an upper rational rounded up. Bound each logarithm by range reduction to \([1,\allowbreak 2]\) and the first thirteen terms of \(2\operatorname{atanh}((x-1)/(x+1))\) with geometric tail. Clear the 26 positive denominators in \(T(D_{\rm lower}(T)-D_0)-1/40\) and substitute \(T=15+t\). All 27 rational coefficients are positive. The attached \texttt{dusart\_\allowbreak{}cert.\allowbreak{}py} reconstructs them using integer fractions.

Since \(x/\log x\) and \(x/\log^2 x\) increase on this range, the demand is at least \(D_0 n/L+n/(40L^2)\). The supply is at most \(D_0 n/L+21L\) by the explicit Legendre bound above. For example \(\sum_{q\in S}1/\log q<6\) and \(\log M\le\log(3n)<7L/4\). Finally \(n/L^3>840\) at \(2^{22}\) using \(\log 2<0.7\), and \(x/\log^3 x\) increases thereafter. This gives a contradiction.

\section*{Finite proof of the last crossing}

Two integer sieves checked the entire remaining interval. The independent replay for \(2046\le n<2^{22}\) uses \(j=\lfloor\log_2 n\rfloor\), \(z=(n-2^j)/(n+2^j)\) and the lower bound \(j(69314718/10^8)+2(z+z^3/3)\) for \(\log n\). Rounding its terms down gives an integer upper cap on \(\lfloor C_0n/\log n\rfloor\). Excluding the larger cap excludes every smaller one by monotonicity of admissibility. The program groups the prime counts into paired intervals and calculates all small-prime valuations independently. Just five cases survive, at \(n=2046,\allowbreak 2047,\allowbreak 2105,\allowbreak 2174,\allowbreak 2183\) with respective exact offsets \(41,\allowbreak 41,\allowbreak 42,\allowbreak 43,\allowbreak 44\).

For 2174, charge the omitted cofactors of every prime \(p>\max(23,\allowbreak \sqrt M)\) the total number of their prime factors from \(\{2,3,5,7,11,13\}\) with multiplicity. For each prime add the \(r_p\) cheapest costs of available cofactors. This already exceeds the total supply. For the other four cases let \(V=\{a:n<a\le M,\;a\mid n!\}\) and \(t=\prod_{a\in V}a/n!\). If a representation existed, a subset of \(V\) consisting of divisors of \(t\) would have product \(t\). The supplied integer weights \(w_p\) yield additive scores \(s(a)=\sum_p w_p v_p(a)\). The strict gap \(s(t)-\sum_{a\in V,\,a\mid t}\max(0,\allowbreak s(a))\) is respectively 2, 1, 6, 3 for \(2046,\allowbreak 2047,\allowbreak 2105,\allowbreak 2183\). Integer arithmetic rechecks these separations independently of the optimizer that found them. At 2045 an explicit list of 1,688 different integers has product \(2045!\) and maximum 4131. Rational log enclosures verify \(\lfloor C_0\cdot2045/\log 2045\rfloor=41\). This completes the all-integer assertion.

The Lean archive kernel-checks the positive 2045 witness. The two sieves, score certificates, rational polynomial and written analysis cover the global exclusions.

\section*{Sources}
\begin{enumerate}\small
  \item Erdős, Guy and Selfridge, Another Property of 239 and Some Related Questions. \url{https://combinatorica.hu/\~p_erdos/1982-01.pdf}
  \item Tao and Mausberg, discussion of the thirteen layers. \url{https://www.erdosproblems.com/forum/thread/390}
  \item Shouqiao Wang, paper and proof of the leading asymptotic. \url{https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/paper.tex}
  \item Pierre Dusart, Estimates of Some Functions Over Primes without R.H., (6.6). \url{https://arxiv.org/pdf/1002.0442\#page=9}
\end{enumerate}
\end{document}
