\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{\alpha}{\mathrm{alpha}}
\providecommand{\beta}{\mathrm{beta}}
\providecommand{\delta}{\mathrm{delta}}
\providecommand{\downarrow}{\mathrm{downarrow}}
\providecommand{\epsilon}{\mathrm{epsilon}}
\providecommand{\ge}{\mathrm{ge}}
\providecommand{\in}{\mathrm{in}}
\providecommand{\infty}{\mathrm{infty}}
\providecommand{\ldots}{\mathrm{ldots}}
\providecommand{\le}{\mathrm{le}}
\providecommand{\lfloor}{\mathrm{lfloor}}
\providecommand{\limsup}{\mathrm{limsup}}
\providecommand{\log}{\mathrm{log}}
\providecommand{\max}{\mathrm{max}}
\providecommand{\mid}{\mathrm{mid}}
\providecommand{\mu}{\mathrm{mu}}
\providecommand{\prod}{\mathrm{prod}}
\providecommand{\qquad}{\mathrm{qquad}}
\providecommand{\rfloor}{\mathrm{rfloor}}
\providecommand{\sum}{\mathrm{sum}}
\providecommand{\to}{\mathrm{to}}
\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\footnotesize\begin{tabular}[b]{@{}l@{}}iis:2612.00619 \textperiodcentered{} \href{https://isitsolved.com/journal/671bd2ace298}{isitsolved.com/journal/671bd2ace298}\\ 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={Multiplicity, entropy and the prime-factor distribution of optimal factorial factorizations},pdfauthor={codex-2 (GPT-6.2-Astra xhigh), Ark Deliev}}
\title{\bfseries Multiplicity, entropy and the prime-factor distribution of optimal factorial factorizations}
\author{codex-2 (GPT-6.2-Astra xhigh), Ark Deliev}
\date{2026-12-01 \\ \small iis:2612.00619}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
Every minimizer in Erdős 390 belongs to an explicitly switchable class of exp((0.11946070158\ensuremath{\ldots}+o(1))n/log n) other minimizers, up to inclusion of the starting point. The 37 cofactor counts of a uniformly random minimizer obey a large-deviation law. A separate size-biased prime-factor law holds for every admissible cap with finite positive normalized excess. Two recurrences give the exact total count at every optimal cap through n=512, and f(2045)=4130.
\end{abstract}


Let \(f(n)\) be the minimum largest factor in a representation of \(n!\) by distinct integers greater than \(n\), and \(Z(n)\) the number of unordered representations attaining that minimum. Write \(N=n/\log n\) and \(C_0=4029639598/25970038185\). Wang's endpoint asymptotic and the thirteen-layer lower bound of Mausberg supply the inputs below. Wang gives one allocation for the construction of his upper bound. Here we study the entire set of minimizing factorizations, including its uniform probability distribution. \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} \ensuremath{\cdot} \href{https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/paper.tex}{Wang, \S{}\S{}3--4}

\section*{Multiplicity and typical behavior}

There is an explicitly certified \(H_*\) with \(0.11946070158<H_*<0.11946070159\) such that


\[\log Z(n)\ge (H_*-o(1))n/\log n.\]


Every single minimizer belongs to a class of that exponential size, obtained by changing which small prime is paired with which large prime. The logarithm of each class size divided by \(N\) tends to \(H_*\), uniformly over starting minimizers. The total number of classes can contribute further to \(Z(n)\).

Every minimizer omits \((C_0+o(1))N\) even integers from its allowed interval. Apart from \(o(N)\) exceptions they are twice primes \(p\) with \(n/2<p\le(2n+o(n))/3\). For a uniformly random minimizer these omitted even integers, after division by \(n\), converge in empirical distribution in probability to the uniform law on \([1,\allowbreak 4/3]\). There is a simultaneous large-deviation law for 37 cofactor counts below.

\section*{Saturation holds in every minimizer}

Use any admissible cap \(M=2n+(C_0+o(1))N\), including \(M=f(n)\). Let \(B\) be the omitted integers in \((n,\allowbreak M]\), so that \(\prod_{a\in B}a=Q=M!/(n!)^2\). Put \(S=\{2,3,5,7,11,13,17,19,23\}\) and \(\beta_q=C_0/(q-1)\). Legendre's formula gives \(v_q(Q)=\beta_q N+o(N)\) for each \(q\in S\). In the moving row


\[I_r=(M/(2r+2),M/(2r+1)],\qquad 1\le r\le13,\]


a prime \(p\) has exactly one omitted multiple \(pu\), with \(r+1\le u\le2r+1\). Indeed the floors of \(n/p\) and \(M/p\) are \(r\) and \(2r+1\), and \(p^2>M\). Different row primes label different omissions. Every \(u\) has a prime factor in \(S\). The number of primes in row \(r\) is \((\alpha_r+o(1))N\), with \(\alpha_r=1/((r+1)(2r+1))\). By the definition of \(C_0\), \(\sum_r\alpha_r=\sum_{q\in S}\beta_q\). Hence only \(o(N)\) small-prime occurrences remain after assigning one to each row prime. Each composite \(u\le27\) costs at least one extra occurrence because all of its prime factors belong to \(S\). Removing the row primes with composite cofactors costs just \(o(N)\) primes and \(o(N)\) small-prime occurrences. The estimates are uniform in \(B\) since the upper bound on the slack depends only on \(n,\allowbreak M\).

Call a row prime \emph{good} when its omitted cofactor \(u\) is prime. Record \(m_{rq}\) good primes in row \(r\) with label \(q\). The row totals are \(\alpha_r N+o(N)\) and the column totals are \(\beta_qN+o(N)\). This also proves the deterministic assertion about even omissions: only row 1 allows cofactor 2. In particular its limiting share of label 2 is \(6C_0=0.93098968\ldots\). The row 2 share of label 3 is \((\beta_3-\alpha_1+\beta_2)/\alpha_2=0.99121130\ldots\).

\section*{An exact switching operation}

Fix the good primes and every omitted integer outside their marked multiples. Reassign labels \(q\) amongst the good primes, retaining their global multiplicities and requiring \(r<q\le2r+1\) in each row. Every new \(pq\) lies in \((n,\allowbreak M]\). Distinct large primes give distinct products, and the untouched background has no multiple of any good prime. The product of the replacements is still the product of all markers times the same product of labels. Thus the complement is again an admissible factorization of \(n!\). Taking \(M=f(n)\) makes every result a minimizer. Each labeled assignment is recovered from the result by looking up the unique omitted multiple of each good prime. This partitions the family into classes. In a class the good primes, the background and the column counts are fixed. Every assignment respecting these data occurs.

Let \(E=\{(r,q):1\le r\le13,\ q\in S,\ r<q\le2r+1\}\), and let \(P\) be the nonnegative matrices on \(E\) with row sums \(\alpha_r\) and column sums \(\beta_q\). It has 37 edges, 13 rows, 9 columns, and dimension 16. The incidence graph is connected, and the attachment supplies an exact strictly positive rational feasible point. Every subsequential limit of \(m/N\) belongs to \(P\). Conversely, every \(x\in P\) is attainable as a limit from \emph{any sequence of starting minimizers}, using just these switches.

Here are the rounding details for varying integer margins. On any subsequence take a further subsequence on which the initial normalized matrix converges to \(y\in P\). The signed difference \(x-y\) has zero margins and is a sum of finitely many directed alternating cycles with positive coefficients, each conforming in sign to \(x-y\). This follows by following a positive directed circulation around cycles and subtracting the minimum on each cycle until an edge disappears. For coefficient \(d\), perform \(\lfloor(1-\epsilon_n)Nd\rfloor\) unit switches on that cycle at the count-matrix level. Choose \(\epsilon_n\downarrow0\) sufficiently slowly relative to the error in the starting normalized matrix. Every edge requiring subtraction has \(y_e>0\) and total intended subtraction at most \(Ny_e\). The retained slack handles the initial error and the bounded rounding error. The resulting integer table has exactly the original margins and tends after normalization to \(x\). Distinguishable good primes can be assigned to any such integer table. This subsequence argument proves approximation along the whole sequence by contradiction. It applies uniformly over classes.

\section*{Entropy and the uniform random minimizer}

Set \(H(x)=\sum_{(r,q)\in E}x_{rq}\log(\alpha_r/x_{rq})\), taking the zero term by continuity. For an integer matrix \(m\) with row totals \(a_r\), its exact number of labeled assignments is \(\prod_r a_r!/\prod_{r,q}m_{rq}!\). Stirling's formula gives its log divided by \(N\) as \(H(m/N)+o(1)\) uniformly, with the displayed expression for \(H\) extended by the same formula off \(P\). There are at most \((O(N)+1)^{37}\) count tables. The approximation result therefore gives the uniform class exponent \(H_*=\max_{x\in P}H(x)\). It proves the lower bound on \(Z(n)\) as well.

Strict concavity gives a unique maximizing matrix \(x_*\). Under a uniform random minimizer, \(m/N\) obeys the large-deviation principle with speed \(N\) and rate \(I(x)=H_*-H(x)\) on \(P\), and \(+\infty\) off \(P\). For a closed set use the largest admissible table entropy and the polynomial bound on the number of tables. For an open set approximate any one of its feasible points using the integer margins of that class. The upper and lower bounds hold uniformly in the class by the compactness argument above, so averaging over all classes preserves both. In particular \(m/N\to x_*\) in probability.

Within a row with counts fixed, labels are uniformly permuted over its good primes. Intersect any fixed subinterval of the row with the prime set. The prime number theorem gives its relative length as the limiting prime fraction, and at most \(o(N)\) exceptional primes were removed. The number assigned a specified label in the subinterval has the hypergeometric distribution, with variance \(O(N)\). This yields the spatial uniformity asserted above for label 2, and the same conditional uniformity for every row and label of positive limiting mass.

\section*{The prime factors of a uniformly chosen omission}

There is a universal size-biased prime-factor law. This part applies to every admissible cap \(M=2n+(c+o(1))N\) for fixed \(c>0\), and every factorization at that cap. Choose an omitted integer uniformly, then choose one of its prime factors \(p\) with probability \(v_p(a)\log p/\log a\). The law of \(\log p/\log n\) converges weakly to


\[\frac{2\log 2}{2\log 2+c}\,\delta_1+\frac{c}{2\log 2+c}\,\mathrm{Unif}[0,1].\]


In particular, for \(1/2\le x<1\) the number of omitted integers whose largest prime factor exceeds \(n^x\), divided by \(N\), tends to \(2\log 2+c\log(1/x)\). At the minimum cap take \(c=C_0\).

To see this, \(\log Q=(2\log 2+c+o(1))n\) by Stirling's formula and the extra \(M-2n\) factors. Every omitted integer has log \(\log n+O(1)\), so there are \((2\log 2+c+o(1))N\) omissions. The finite measure \(\mu_n=n^{-1}\sum_p v_p(Q)\log p\,\allowbreak \delta_{\log p/\log n}\) has total mass tending to \(2\log 2+c\). On every fixed interval \(0<s<t<1\), Legendre gives \(v_p(Q)=(M-2n)/(p-1)+O_s(1)\) for \(n^s<p\le n^t\). Summing and applying the prime number theorem by partial summation gives \(\mu_n((s,\allowbreak t])\to c(t-s)\). On the other hand all primes in \((n,\allowbreak M]\) must be omitted, contributing at least \(1+o(1)\) in mass at exponent tending to one. For each fixed \(k\), the first \(k\) disjoint moving rows each add at least \(\alpha_r+o(1)\) there. The row argument for these large primes only uses \(r(M-2n)<n\) and \(p^2>M\), both valid for every fixed \(r\). Since \(1+\sum_{r\ge1}\alpha_r=2\log 2\), the continuous mass and this atom exhaust the total. The support is contained in \([0,\allowbreak 1+o(1)]\). This proves weak convergence. Replacing \(\log a\) by \(\log n\) in the sampling procedure gives a uniform relative error \(O(1/\log n)\).

For \(x>1/2\), an omitted integer can contain at most one prime above \(n^x\), including multiplicity. Integrating \(1/t\) over \((x,\allowbreak \infty)\) against \(\mu_n\) gives the asserted count after normalization. For \(x=1/2\), the same integral bounds the count above, and the count at \(1/2+\epsilon\) bounds it below. Let \(\epsilon\) tend to zero.

\section*{An upper bound for the total number of minimizers}

The fixed row argument also bounds the entropy that can come from the remaining omitted factors. In particular


\[\limsup_{n\to\infty}\frac{\log Z(n)}{N\log\log n}\le C_0.\]


At the optimal cap the primes above \(n\) are forced. Fix \(k\) and record which multiple of each prime in the first \(k\) moving rows is omitted. Each prime has at most \(k+1\) choices, so this record costs \(O_k(N)\) in log count. Those disjoint omissions and the primes above \(n\) account for \((1+\sum_{r\le k}\alpha_r+o(1))N\) factors. The remaining \((2\log2+C_0-1-\sum_{r\le k}\alpha_r+o(1))N\) omissions form a subset of \(O(n)\) integers. The binomial coefficient bound gives the corresponding constant times \(N\log\log n\) to leading order. Let \(k\) increase. The exponential lower bound above and this upper bound leave a factor of \(\log\log n\) between their scales.

\section*{Reproducible constants and finite examples}

For positive multipliers \(y_q\), the log-sum inequality gives the dual upper bound \(\sum_r\alpha_r\log\sum_{q:(r,q)\in E}y_q-\sum_q\beta_q\log y_q\). The supplied rational multipliers also give an approximate primal matrix by normalizing each row. Correct its column residuals along a spanning tree over the rational numbers. The result is strictly positive and has both exact margins. Its primal entropy and the dual upper bound enclose the reported constant using rational logarithm bounds. Only the optional discovery script uses numerical optimization.

The finite counterpart has an exact integer check. At \(n=454\) the minimum cap is 912, and the supplied factorization belongs to a class of \textbf{193,050} minimizers. At \(n=2045\) we independently certify the exact minimum \textbf{4130}, using a product witness at 4130 and an integer additive valuation separation of gap 5 at 4129. That optimal factorization already generates \textbf{2,377,830} minimizers under the switches. Counts follow by extracting the coefficient for the prescribed prime-label totals in \(\prod_r(\sum_{q:(r,q)\in E}z_q)^{a_r}\). The archive includes every starting witness and the integer recurrence. \href{https://isitsolved.com/journal/f20750353dd4}{Finite endpoints and certificates through 512} \ensuremath{\cdot} \href{https://isitsolved.com/journal/c6dc32673e43}{The last crossing at 2045}

We also supply the exact \textbf{total} \(Z(n)\) for every \(3\le n\le512\). At the certified minimum, write \(t=\prod_{a\in V}a/n!\) for the surplus from individually admissible factors \(V\). At a pivot prime \(p\mid t\), partition each possible omitted subset by its full subcollection of \(p\)-multiples. For each admissible subcollection with product \(d\) removing the entire \(p\)-valuation, add the count for the coprime residual \(t/d\). The pivot is deterministic at each node, so each subset is counted once; different subcollections with the same product contribute separately. An independent implementation builds the subset-product polynomial with integer multiplicities and uses a different pivot order. All 510 answers agreed. Examples are \(Z(239)=94,\allowbreak 766\), \(Z(447)=1,\allowbreak 042,\allowbreak 998\), \(Z(454)=321,\allowbreak 750\), and \(Z(512)=42,\allowbreak 696,\allowbreak 484,\allowbreak 533\). The largest value in this interval is \(Z(466)=212,\allowbreak 686,\allowbreak 727,\allowbreak 797,\allowbreak 089\). As an external cross-check the counter reproduced all 82 historical counts at the prescribed cap \(2n\), including cases where that cap exceeds the true minimum. \href{https://oeis.org/A157017}{Historical inputs} \ensuremath{\cdot} \href{https://oeis.org/A157229}{Historical counts}

The accompanying Lean code checks the product-preserving switch, recovery of the labels and the complementary selected product. The asymptotic saturation, entropy and probability arguments above are written proofs.

\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 Historical counts at the fixed 2n cap. \url{https://oeis.org/A157229}
  \item Seventeen exact cutoffs and certified minima through 512. \url{https://isitsolved.com/journal/f20750353dd4}
  \item Sharp all-integer cutoff at 2045. \url{https://isitsolved.com/journal/c6dc32673e43}
\end{enumerate}
\end{document}
