% Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} \PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor} % \documentclass[ 11pt, ]{article} \usepackage{amsmath,amssymb} \usepackage{iftex} \ifPDFTeX \usepackage[OT1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} % provide euro and other symbols \else % if luatex or xetex \usepackage{unicode-math} % this also loads fontspec \defaultfontfeatures{Scale=MatchLowercase} \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} \fi \ifPDFTeX\else % xetex/luatex font selection \fi % Use upquote if available, for straight quotes in verbatim environments \IfFileExists{upquote.sty}{\usepackage{upquote}}{} \IfFileExists{microtype.sty}{% use microtype if available \usepackage[expansion=false]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} \makeatletter \@ifundefined{KOMAClassName}{% if non-KOMA class \IfFileExists{parskip.sty}{% \usepackage{parskip} }{% else \setlength{\parindent}{0pt} \setlength{\parskip}{6pt plus 2pt minus 1pt}} }{% if KOMA class \KOMAoptions{parskip=half}} \makeatother \usepackage{xcolor} \usepackage[margin=1in]{geometry} \usepackage{longtable,booktabs,array} \usepackage{calc} % for calculating minipage widths % Correct order of tables after \paragraph or \subparagraph \usepackage{etoolbox} \makeatletter \patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{} \makeatother % Allow footnotes in longtable head/foot \IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} \makesavenoteenv{longtable} \setlength{\emergencystretch}{3em} % prevent overfull lines \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering \ifLuaTeX \usepackage{selnolig} % disable illegal ligatures \fi \usepackage{bookmark} \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available \urlstyle{same} \hypersetup{ pdftitle={Exact Divisor Densities and a Finite-to-Global Certification of Integer Maximizers}, pdfauthor={Steven Minh Phat Duong, MPH}, colorlinks=true, linkcolor={Maroon}, filecolor={Maroon}, citecolor={Blue}, urlcolor={Blue}, pdfcreator={LaTeX via pandoc}} \title{Exact Divisor Densities and a Finite-to-Global Certification of Integer Maximizers} \usepackage{etoolbox} \makeatletter \providecommand{\subtitle}[1]{% add subtitle to \maketitle \apptocmd{\@title}{\par {\large #1 \par}}{}{} } \makeatother \subtitle{The cases n = 4 through 20} \author{Steven Minh Phat Duong} \date{Hexagon version, 29 November 2026} \begin{document} \renewcommand{\labelitemi}{$\bullet$} \maketitle Independent Researcher, Calgary, Alberta, Canada \begin{abstract} We describe an exact-arithmetic certificate scheme for identifying the integer endpoint that maximizes the density of integers having exactly one divisor in an open interval \((n,m)\). Two elementary bounds reduce an infinite endpoint range to a finite sweep, a chain of bounded intervals and one tail inequality. We derive three prime-valuation algorithms for the required densities and report certificate-based candidate classifications for each fixed \(n=4,\ldots,20\). The listed maximizing endpoints are \(9,12,12,15,18,20,22,24,24,32,32,32,32,38,38,44,44\). The finite-to-global criterion is proved here; the numerical classification depends on the correctness of the supplied exact density entries. All 17 logical certificates were rechecked. The accompanying validation record distinguishes complete Program C recomputation from comparisons with saved Program A logs. An additional inclusion-exclusion implementation reproduces all 17 peak values without using the prime-valuation decomposition. The work does not claim a general formula for maximizers, a new general existence theorem, independent human review or established priority. \end{abstract} \subsection{1. Definitions and result scope}\label{definitions-and-result-scope} Fix integers \(n\ge1\) and \(m>n+1\). Put \[D(n,m)=\{d\in\mathbb Z:nn+1\) for which \[\delta_1(n,m)<\delta_1(n,m_*)\quad\text{for every integer }m>n+1,\ m\ne m_*.\] This conclusion depends on both the reduction below and the correctness of the exact densities in the certificates. The logical checker verifies implications between supplied values; it does not establish their interpretation as densities. For a real endpoint \(t\), \(D(n,t)=D(n,\lceil t\rceil)\). Thus the density is constant on \((m-1,m]\). Uniqueness concerns the integer endpoint, or equivalently the divisor set, rather than an individual real endpoint. \subsection{2. Bounding lemmas and complete endpoint coverage}\label{bounding-lemmas-and-complete-endpoint-coverage} Write \(E_j(m)=\{x:c_m(x)=j\}\). For integers \(a\le m\le b\), nested divisor sets give \(c_a\le c_m\le c_b\) pointwise. \textbf{Block lemma.} For \(a\le m\le b\), \[\delta_1(n,m)\le\delta_1(n,a)+\delta_0(n,a)-\delta_0(n,b).\] Indeed, \(c_m(x)=1\) implies \(c_a(x)\in\{0,1\}\) and \(c_b(x)\ge1\), so \[E_1(m)\subseteq E_1(a)\cup\bigl(E_0(a)\mathbin{\backslash} E_0(b)\bigr).\] The two sets on the right are disjoint and \(E_0(b)\subseteq E_0(a)\). Taking densities proves the bound, including both endpoints. \textbf{Tail lemma.} For \(m\ge M\), \[\delta_1(n,m)\le\delta_0(n,M)+\delta_1(n,M).\] Here \(c_m(x)=1\) implies \(c_M(x)\in\{0,1\}\), giving \(E_1(m)\subseteq E_0(M)\cup E_1(M)\). Take densities of these disjoint events. \textbf{Proposition (finite-to-global certificate criterion).} Fix \(n\) and integers \(n+2\le m_*\le S\le M\). Suppose the exact densities at all sweep endpoints \(n+2,\ldots,S\) are supplied, and let \(B=\delta_1(n,m_*)>0\). Suppose (i) every other swept value is strictly less than \(B\); (ii) there is a contiguous chain of closed integer blocks from \(S\) to \(M\) whose block-lemma bounds are strictly less than \(B\); and (iii) \(\delta_0(n,M)+\delta_1(n,M)n+1\). \emph{Proof.} Every admissible endpoint belongs to the sweep, a block, or the tail. Condition (i) handles the sweep. The block lemma and condition (ii) handle the blocks. The tail lemma and condition (iii) handle every endpoint at least \(M\). These sets cover all admissible endpoints, and every endpoint except \(m_*\) has density strictly below \(B\). For an empty block chain, \(S=M\) and the sweep and tail suffice. \(\square\) Each certificate supplies the exact sweep \(m=n+2,\ldots,1000\), closed integer blocks from 1000 to a tail point \(M\), and both densities at \(M\). Every nonpeak sweep value, every block bound and the tail bound must be strictly below the claimed peak. Adjacent blocks share endpoints. Sweep, blocks and tail therefore cover every admissible integer endpoint without gaps. For \(n=4\) the block list is empty and \(M=1000\). The largest \(M\) is 256875, for \(n=19,20\). Endpoints \(m\le n+1\), if considered, give zero and cannot tie a positive peak. \newpage \subsubsection{Table 1. Certificate-reported integer maximizers}\label{table-1.-certificate-reported-integer-maximizers} \begin{longtable}[]{@{}rrlr@{}} \toprule\noalign{} \(n\) & \(m_*\) & \(\delta_1(n,m_*)\) & Tail \(M\) \\ \midrule\noalign{} \endhead \bottomrule\noalign{} \endlastfoot 4 & 9 & 5/14 & 1000 \\ 5 & 12 & 1109/3465 & 2875 \\ 6 & 12 & 1172/3465 & 1875 \\ 7 & 15 & 13532/45045 & 8875 \\ 8 & 18 & 14048/45045 & 8875 \\ 9 & 20 & 497888/1616615 & 8875 \\ 10 & 22 & 528/1729 & 16875 \\ 11 & 24 & 10954544/37182145 & 32875 \\ 12 & 24 & 11091536/37182145 & 32875 \\ 13 & 32 & 137993457152/501401225325 & 128875 \\ 14 & 32 & 470752768/1676927175 & 64875 \\ 15 & 32 & 47158954496/167133741775 & 128875 \\ 16 & 32 & 1638932224/5763232475 & 64875 \\ 17 & 38 & 1697006237184/6183948445675 & 128875 \\ 18 & 38 & 1733299766784/6183948445675 & 128875 \\ 19 & 44 & 2897060040192/10741183359335 & 256875 \\ 20 & 44 & 2768951781888/10048203787765 & 256875 \\ \end{longtable} The table is a transcription of the unchanged certificate-generated results. The classification is conditional on the density values being correctly computed. \subsection{3. Common exact measure}\label{common-exact-measure} Prime valuations have densities \[\Pr(v_p(x)=a)=(1-1/p)p^{-a},\qquad\Pr(v_p(x)\ge a)=p^{-a}.\] Only finitely many capped valuations matter: cap at the largest exponent occurring in the relevant divisors. The resulting events depend on residue classes modulo prime powers. The Chinese remainder theorem multiplies their densities, giving independence across these primes. Primes greater than \(m-1\) divide no member of \(D(n,m)\). All three algorithms share this model, so their agreement is not an independent test of it. \subsection{4. Program A by avoidance recursion}\label{program-a-by-avoidance-recursion} For a finite set \(A\) of positive integers, let \(F(A)\) be the density of integers divisible by no member of \(A\). Then \(F(\varnothing)=1\) and \(F(A)=0\) if \(1\in A\). Removing an element divisible by another member of \(A\) leaves \(F(A)\) unchanged. Partitioning by the unique divisor gives \[\delta_0(n,m)=F(D(n,m)),\qquad\delta_1(n,m)=\sum_{d\in D(n,m)}\frac1d F(A_d),\] where \(A_d=\{e/\gcd(e,d):e\in D(n,m),e\ne d\}\). Write \(x=dy\): \(e\mid dy\) iff \(e/\gcd(e,d)\mid y\). Multiplication by \(d\) scales density by \(1/d\), and the events for different unique divisors are disjoint. For nonempty \(A\) not containing 1, let \(p\) be its largest prime factor, \(K=\max_{a\in A}v_p(a)\), and \[A_k=\{a/p^{v_p(a)}:a\in A,v_p(a)\le k\},\qquad B=\{a/p^{v_p(a)}:a\in A\}.\] Conditioning on \(v_p(y)\) gives \[F(A)=\sum_{k=0}^{K-1}\frac{p-1}{p^{k+1}}F(A_k)+\frac1{p^K}F(B).\] The last term sums all exponents at least \(K\), whose constraints coincide. Every recursive set is \(p\)-free, so the largest relevant prime decreases and recursion terminates. Empty sets and sets containing 1 cover the boundary cases; memoization affects cost only. Source anchors: \texttt{progA/delta.py}: \texttt{pfac}, \texttt{primitive}, \texttt{avoid}, \texttt{delta0}, \texttt{delta1}; \texttt{progA/sweepA.py} records the sweep. The floating-point helper \texttt{bound\_crossing} is outside the exact certificate path and is not used for these claims. \subsection{5. Program B by the square-root prime split}\label{program-b-by-the-square-root-prime-split} Put \(h=m-1\). Small primes satisfy \(p^2\le h\); large primes satisfy \(q\le h1\), \(sQ^a\ge qQ\ge m\), and powers of \(Q\) alone are excluded by the valuation restriction. Put \(\theta=\lceil m/Q\rceil\), \(R_\theta=\{q\le n:q\text{ prime},q\ge\theta\}\) and \[Z_\theta=W_0(R_\theta)\prod_{\substack{q\le n\text{ prime}\\q<\theta}}(1-1/q),\] where \(W_0(R_\theta)\) is the weight of states supported on \(R_\theta\) having no interval divisor. Dividing the permitted \(Q\)-valuation weight by its factor \(1-1/Q\) in \(P_n\) gives \[\delta_0=P_nS_0,\qquad\delta_1=P_n\left(S_1+\sum_{Q\in\mathcal Q}Z_{\lceil m/Q\rceil}\alpha_Q\right),\quad \alpha_Q=\begin{cases}1/Q&Q^2