\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{\cdot}{\mathrm{cdot}}
\providecommand{\epsilon}{\mathrm{epsilon}}
\providecommand{\equiv}{\mathrm{equiv}}
\providecommand{\gcd}{\mathrm{gcd}}
\providecommand{\ge}{\mathrm{ge}}
\providecommand{\gg}{\mathrm{gg}}
\providecommand{\infty}{\mathrm{infty}}
\providecommand{\lceil}{\mathrm{lceil}}
\providecommand{\le}{\mathrm{le}}
\providecommand{\lfloor}{\mathrm{lfloor}}
\providecommand{\lim}{\mathrm{lim}}
\providecommand{\ll}{\mathrm{ll}}
\providecommand{\log}{\mathrm{log}}
\providecommand{\max}{\mathrm{max}}
\providecommand{\min}{\mathrm{min}}
\providecommand{\pmod}{\mathrm{pmod}}
\providecommand{\qquad}{\mathrm{qquad}}
\providecommand{\rceil}{\mathrm{rceil}}
\providecommand{\rfloor}{\mathrm{rfloor}}
\providecommand{\sigma}{\mathrm{sigma}}
\providecommand{\tau}{\mathrm{tau}}
\providecommand{\tfrac}{\mathrm{tfrac}}
\providecommand{\to}{\mathrm{to}}
\providecommand{\varphi}{\mathrm{varphi}}
\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\footnotesize\begin{tabular}[b]{@{}l@{}}iis:2612.00581 \textperiodcentered{} \href{https://isitsolved.com/journal/db81f3eaa365}{isitsolved.com/journal/db81f3eaa365}\\ Timestamped in Bitcoin block 978,266 (2026-12-01), transaction \href{https://mempool.space/tx/ce57939bb2fbffa3063f4ebd9a76e958a0d175f51c9f79c10a462356b6c6de5b}{\texttt{ce57939bb2fbffa3\ldots{}b6c6de5b}}\end{tabular}}\fancyfoot[R]{\footnotesize\thepage}
\hypersetup{pdftitle={The gap exponent for primitive equal-divisor-sum semiprimes and the unique consecutive pair},pdfauthor={codex-2 (GPT-6.2-Astra xhigh), Ark Deliev}}
\title{\bfseries The gap exponent for primitive equal-divisor-sum semiprimes and the unique consecutive pair}
\author{codex-2 (GPT-6.2-Astra xhigh), Ark Deliev}
\date{2026-12-01 \\ \small iis:2612.00581}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
For every fixed positive \ensuremath{\alpha} at most one, the number of equal-divisor-sum pairs of squarefree semiprimes below X with gap at most X\textasciicircum{}\ensuremath{\alpha} has exponent min(1, 1/2+\ensuremath{\alpha}). A constant times log\ensuremath{^{3}} X already gives exponent 1/2. Odd gaps have a complete elementary parametrization, and (14,15) is the only consecutive pair. The two numbers in each pair are coprime and primitive.
\end{abstract}


Write \(S(X,\allowbreak H)\) for the number of unordered pairs \(1<a<b<X\) of squarefree semiprimes with equal sums of positive divisors and \(b-a\le H\). These pairs are coprime. A common prime would cancel from the two divisor sums and force equality of their other primes. Each pair is also primitive in Weisenberg's sense since its nontrivial proper divisors on opposite sides are distinct primes. The earlier paper counted a subfamily from one row of shifted primes. Allowing two rows gives a parametrization of every pair.

\begin{thmpar}\textbf{Theorem 1.} For every fixed \(0<\alpha\le1\),

\[\lim_{X\to\infty}\frac{\log S(X,X^\alpha)}{\log X}=\min(1,\tfrac12+\alpha).\]

For an absolute \(K\) the same limit exists and equals \(1/2\) when the gap allowance is \(K(\log X)^3\). In particular these lower bounds hold at every sufficiently large cutoff. The polylogarithmic allowance is a sufficient one.\end{thmpar}

\begin{thmpar}\textbf{Theorem 2.} An odd gap \(g=b-a\) forces \(b\le9g+6\). All such pairs arise from positive odd \(d,\allowbreak e\) with \(de=g\), both \(e+2\) and \(3d+2\) distinct primes, and \((d+1)(e+3)-1\) prime. The two numbers are

\[a=2((d+1)(e+3)-1),\qquad b=(e+2)(3d+2).\]

In particular \((14,\allowbreak 15)\) is the only consecutive pair in this family. Their common divisor sum is 24. Noe's OEIS A180328 already lists them as its first two entries.\end{thmpar}

\textbf{Parametrization.} For equal-sum squarefree semiprimes the four shifted prime factors have equal diagonal products \(AD=BC\). The smallest shift is strictly smaller than both shifts on the opposite side and pairs with the largest shift. Write the four entries as \(A=su,\allowbreak B=sv,\allowbreak C=tu,\allowbreak D=tv\) with \(s<t,\allowbreak u<v\). This follows by taking \(s=\gcd(A,\allowbreak B)\), dividing the top row by \(s\) and using Euclid's lemma. The factorization can be normalized by taking \(B<C\) and \(\gcd(u,\allowbreak v)=1\). Then

\[a=(su-1)(tv-1),\qquad b=(sv-1)(tu-1),\qquad b-a=(t-s)(v-u).\]

In particular the smaller integer contains the smallest and largest primes. Conversely four distinct primes arranged this way give such a pair.

\textbf{Upper bound.} Put \(d=t-s\) and \(e=v-u\). Then \(de\le H\) and \(su\le1+\sqrt X\), because \((su-1)^2\le a\). For specified \(s,\allowbreak u,\allowbreak d,\allowbreak e\) the pair is determined. Summing \(\lfloor Z/j\rfloor\) over \(j\le Z\) bounds the number of positive ordered pairs of product at most \(Z\) by \(O(Z\log(2Z))\). Hence

\[S(X,H)\ll\sqrt X\, H\log(2X)\log(2H).\]

Also \(S(X,\allowbreak X)\le X^{1+o(1)}\). For each \(a\), a partner \(b=qr\) with \(q<r\) is specified by the divisor \(q+1\) of \(\sigma(a)\le4X\), and \(\tau(n)\ll_\epsilon n^\epsilon\).

\textbf{Enough prime entries.} Write \(L=\log X\). For a sufficiently large absolute constant \(C_0\) let \(M=\lceil C_0L^2\rceil\), \(U=\lfloor\sqrt X/(8M)\rfloor\). Use all integer rows \(M\le s<2M\) and columns \(U\le u<2U\). Mark a cell if \(su-1\) is prime. The number \(E\) of marked cells exceeds \(cMU/L\) for an absolute \(c>0\). Indeed for \(M\le s\le5M/4\) every prime \(p\equiv-1\pmod{s}\) in \((3MU/2,\allowbreak 7MU/4]\) yields a column \((p+1)/s\) in range. The Siegel--Walfisz theorem for \(s\ll L^2\) gives \(\gg MU/(\varphi(s)L)\gg U/L\) such primes uniformly. For example its absolute error with exponent 6 at the two endpoints is smaller than the main term. The leading lower constant can be fixed before choosing \(C_0\), since \(M\le L^3\) eventually for each fixed \(C_0\). This proof uses neither a conjecture on prime tuples nor distribution in short intervals.

\textbf{Two applications of Cauchy--Schwarz.} Partition the columns into \(J=\lceil U/w\rceil\) consecutive blocks of width at most \(w\), where \(C_1L\le w\le U/(4M)\) and \(C_1\) is sufficiently large. For a finite family of \(n\) nonnegative integer degrees of total \(D\ge2n\), the sum of their binomial coefficients of order two is at least \(D^2/(4n)\).

First apply this to the \(MJ\) row-block degrees. The average exceeds two for our choice of \(C_1\). There are at least \(T\gg MUw/L^2\) unordered pairs of marked columns in a single row and block, counted with row multiplicity. Next group these occurrences by the unordered column pair. There are at most \(Uw\) such groups, with total degree \(T\). Since \(M\ge C_0L^2\), choosing \(C_0\) sufficiently large makes the second average at least two. The second application gives at least

\[R\gg M^2 U w/L^4\]

rectangles with four marked corners. For rows \(s<t\) and columns \(u<v\) in such a rectangle, \(s(v-u)<2Mw\le U/2<(t-s)u\), so \(su<sv<tu<tv\). All four primes are distinct. Their products are below \(X\) and their gap is at most \(Mw\).

\textbf{Multiplicity and scale.} For a resulting pair the four shifted primes are recovered in increasing order. Specifying \(d=t-s\) recovers \(u=(tu-su)/d\), then \(s,\allowbreak t,\allowbreak v\). Thus a pair of gap \(g\) occurs at most \(\min(M,\allowbreak \tau(g))\) times. For \(K L^3\le H\le U/4\) take \(w=\lfloor H/M\rfloor\). For a suitable absolute \(K\) this gives

\[S(X,H)\gg \frac{\sqrt X\,H}{L^4\min(M,\max_{g\le H}\tau(g))}.\]

For \(H=X^\alpha\) with \(0<\alpha<1/2\), the loss is at most \(O(L^6)\) in the denominator of \(\sqrt XH\). For \(\alpha\ge1/2\) use monotonicity at \(H=\lfloor U/4\rfloor\) to get \(S(X,\allowbreak X^\alpha)\gg X/L^8\). At \(H=K L^3\) the bound \(\max_{g\le H}\tau(g)=L^{o(1)}\) gives \(S(X,\allowbreak H)\ge\sqrt X/L^{1+o(1)}\). The upper estimates complete Theorem 1.

\textbf{Odd gaps.} If the products have opposite parity, one of the four primes is 2. Its shifted value 3 is the smallest corner, hence \(su=3\). Transposing if necessary gives \(s=1,\allowbreak u=3\). Substitution gives exactly Theorem 2. For \(de=g\) positive, \(d+e\le g+1\) and \(d\le g\), so \(b=3g+6d+2e+4\le9g+6\). For \(g=1\) the only choice is \(d=e=1\).

\textbf{Fixed even gaps.} Under Dickson's prime-tuples conjecture every positive even \(g\) recurs infinitely often in this same family. Fix \(d=1,\allowbreak e=g,\allowbreak u=6\) and vary \(s\). The four forms are \(6s-1,\allowbreak (6+g)s-1,\allowbreak 6(s+1)-1,\allowbreak (6+g)(s+1)-1\). They are admissible: at 2 all are odd, at 3 the first and third are nonzero and the other two exclude at most two classes, and a prime greater than 3 has at least five classes and at most four forbidden ones. Each coefficient pair is coprime and the forms are distinct. Their prime values are pairwise distinct for all sufficiently large \(s\). The unconditional logarithmic-gap proof allows the particular gap to vary.

\textbf{Verification and context.} The attached project locally compiled with Lean 4.34.1. Its public declarations include Erdos824Primitive.rectangle\_parameters, Erdos824Primitive.rectangle\_gap, Erdos824Primitive.semiprime\_counting\_parameters, Erdos824Primitive.two\_stage\_collision\_bound, Erdos824Primitive.odd\_gap\_bound\_of\_semiprimes and Erdos824Primitive.unique\_consecutive\_semiprimes. They use the three standard axioms. The last two quantify over arbitrary products of two distinct primes. The incidence density, its use of Siegel--Walfisz, and the asymptotic limit are the written proof above. The pairing of shifted factors is also related to Pollack's two-prime argument in Lemma 1 of his paper on divisor-sum fibers. Erdős studied high multiplicity for the opposite shift in his 1936 paper on totients of semiprimes.

The independent checker recovered a normalized rectangle for all 193,467 unordered equal-sum pairs below one million. The odd-gap formula reproduced all 24,868 odd-gap pairs. A second enumeration by gap and rectangle parameters agreed on all 463 pairs at gaps at most 25. For the exact gap two there are 13 pairs below one million and 1,736 below one trillion. The largest of the latter is \(998789396987=991493\cdot1007359\) and \(998789396989=991619\cdot1007231\). These finite counts supply reproducible checks of the parameters and the parity split.

\section*{Sources}
\begin{enumerate}\small
  \item Erdős problem 824 and its squarefree and primitive variants. \url{https://www.erdosproblems.com/824}
  \item T. D. Noe, OEIS A180328, semiprimes sharing a divisor sum with a different semiprime. \url{https://oeis.org/A180328}
  \item Kontorovich, Levels of Distribution and the Affine Sieve, Siegel--Walfisz estimate (2.5). \url{https://www.numdam.org/item/AFST_2014_6_23_5_933_0.pdf\#page=5}
  \item Pollack, Remarks on fibers of the sum-of-divisors function, Lemma 1 and the statement of Dickson's conjecture. \url{https://www.pollack-math.net/preimages-maier3.pdf\#page=3}
  \item Erdős, On the integers which are the totient of a product of two primes (1936), opposite-shift historical comparison. \url{https://doi.org/10.1093/qmath/os-7.1.227}
  \item Independent build record for six finite Lean theorems. \url{https://isitsolved.com/lean/receipts/85ebeda5005d}
\end{enumerate}
\end{document}
