\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[margin=1in]{geometry} \usepackage{microtype} \usepackage{amsmath,amssymb,amsthm,bm,booktabs,tabularx} \usepackage[numbers]{natbib} \usepackage[hidelinks]{hyperref} \hypersetup{ pdftitle={An exact recurrence for extremal binary deletion-ball intersections}, pdfauthor={Yiheng Fang} } \setlength{\emergencystretch}{1.5em} \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[theorem]{Lemma} \newcommand{\bits}{\{0,1\}} \newcommand{\coef}[1]{[z^{#1}]} \title{An exact recurrence for extremal binary deletion-ball intersections} \author{Yiheng Fang\\[4pt]\small New York University\\[-1pt]\small \texttt{yf2617@nyu.edu}} \date{November 2026} \begin{document} \maketitle \begin{abstract} The maximum intersection of two deletion balls determines the worst-case number of distinct reads needed for unique reconstruction in a deletion-correcting code. Let \(N(n,\ell,s)\) be this maximum for pairs of binary words of length \(n\) with longest common subsequence of length at most \(n-\ell\). Fix the separation \(\ell\) and radius cap \(T\) with \(1\leq\ell\leq T\). For every sufficiently large \(n\), one pair attains the maxima simultaneously at radii \(0\leq s\leq T\). These maxima are the first \(T+1\) coefficients of \(\lambda(z)^n C_{\ell,T}(z)\), where \(\lambda(z)=(1+\sqrt{1+4z})/2\). In particular, \(N(n,\ell,t)=N(n-1,\ell,t)+N(n-2,\ell,t-1)\) eventually for every fixed \(\ell\leq t\leq T\). In a greedy subsequence scan, extending any sufficiently long alternating interval multiplies the intersection profile by the same factor \(\lambda(z)\). A finite comparison of profiles at a common length computes the integer polynomial \(C_{\ell,T}\) and the cutoff. At separation three and fixed radius at least five, the resulting upper bound matches the first two terms of the known lower bound. \end{abstract} \vspace{4pt} {\small \noindent\textbf{Keywords:} Sequence reconstruction, Deletion ball, Common subsequence, Transfer matrix, Binary word\\[2pt] } \section{Introduction}\label{sec:intro} Deleting symbols preserves their order but hides their positions. Levenshtein's reconstruction problem asks how many distinct deletion reads guarantee unique recovery \cite{levenshtein}. We prove an eventual recurrence for the maximum intersection at every fixed binary separation and deletion radius. The same pair of centers witnesses the worst case at all radii through any fixed cap once the word length is sufficiently large. For \(x\in\bits^n\) and \(0\leq s\leq n\), let \(D_s(x)\) be the set of distinct words obtained by deleting exactly \(s\) symbols from \(x\). Write \(I_s(x,y)=|D_s(x)\cap D_s(y)|\). For \(1\leq\ell\leq n\), call \((x,y)\) admissible if \(I_{\ell-1}(x,y)=0\). Equivalently, its longest common subsequence has length at most \(n-\ell\). Admissibility implies \(I_s(x,y)=0\) for all \(s<\ell\), since further deletions from a common subsequence give shorter common subsequences. Define \[ N(n,\ell,s)=\max\{I_s(x,y):x,y\in\bits^n,\ (x,y) \text{ admissible}\}. \] The set of admissible pairs contains \((0^n,1^n)\). In an \((\ell-1)\)-deletion-correcting code, the balls of radius \(\ell-1\) about distinct codewords are disjoint. For such codes, \(N(n,\ell,s)+1\) distinct \(s\)-deletion reads guarantee unique recovery whenever that many reads are supplied. An admissible maximizing pair itself forms a two-word code with \(N(n,\ell,s)\) common reads, so the guarantee is sharp over the class of codes. The first exact formulas were obtained for separations one and two \cite{levenshtein,gabrysyaakobi}. Pham, Goyal, and Kiah \cite{phamgoyalkiah} determined the leading term \(\binom{2\ell}{\ell}n^{t-\ell}/(t-\ell)!\) for fixed \(\ellT\) and a computable polynomial \(C_{\ell,T}\in\mathbb Z[z]\) of degree at most \(T\) such that for every integer \(n\geq n_0(\ell,T)\) and every \(0\leq s\leq T\), \begin{equation}\label{eq:profile} N(n,\ell,s)=\coef{s}\lambda(z)^n C_{\ell,T}(z), \qquad \lambda(z)=\frac{1+\sqrt{1+4z}}{2}. \end{equation} The square root is the formal series with constant term \(1\). For each such \(n\), one admissible pair in \(\bits^n\) attains all the maxima in \eqref{eq:profile}. In particular, for fixed integers \(1\leq\ell\leq t\) and \(n\geq n_0(\ell,t)+2\), \begin{equation}\label{eq:recurrence} N(n,\ell,t)=N(n-1,\ell,t)+N(n-2,\ell,t-1). \end{equation} \end{theorem} At separation three, Wang, Fang, Li, and Fu \cite[Theorem~6]{wangfanglifu} proved \(N(n,3,4)=20n-166\) for every \(n\geq13\). They also gave the explicit lower bound \(M(n,t)\) in \eqref{eq:wang-lower} for \(n\geq\max\{13,t+8\}\) and \(t\geq5\). Its first two coefficients give the terms in the next result. \begin{corollary}\label{cor:distance} For every fixed integer \(t\geq5\), the extremal intersection satisfies the matching second-order upper bound \begin{equation}\label{eq:asymptotic} N(n,3,t)\leq 20\frac{n^{t-3}}{(t-3)!} -(30t+46)\frac{n^{t-4}}{(t-4)!}+K_t n^{t-5} \end{equation} for some constant \(K_t\) and every sufficiently large \(n\). In particular, \(N(n,3,t)=M(n,t)+O_t(n^{t-5})\). \end{corollary} Table~\ref{tab:scope} places these conclusions alongside the known exact cases. The conjecture \(N(n,3,t)=M(n,t)\) for every \(t\geq5\) and \(n\geq t+8\) remains open \cite[Conjecture~1]{wangfanglifu}. \begin{table}[htbp] \centering\small \caption{Exact formulas and asymptotic results for binary centers. The parameters \(\ell\) and \(t\) are held fixed in the eventual and asymptotic statements.}\label{tab:scope} \begin{tabularx}{\linewidth}{@{}lX@{}} \toprule Parameters & Result \\ \midrule \(\ell=1,2\) & Exact formulas in single-ball sizes hold for \(n>t\) at separation one and \(n\geq\max\{8,2t+1\}\) at separation two. Substituting the single-ball recurrence gives the intersection recurrence \cite{levenshtein,gabrysyaakobi}. \\ \(t=\ell\) & The value \(\binom{2\ell}{\ell}\) for \(n\geq4\ell-2\) and vanishing at radius \(\ell-1\) give the eventual recurrence \cite{phamgoyalkiah}. \\ \((\ell,t)=(3,4)\) & Pham, Goyal, and Kiah \cite{phamgoyalkiah} proved \(N(n,3,4)\leq20n-150\) for \(n\geq9\); Wang, Fang, Li, and Fu \cite[Theorem~6]{wangfanglifu} established the exact value \(20n-166\) from \(n=13\). \\ \(\ell=3,\ t\geq5\) & The construction for \(M(n,t)\) gives the first two terms from below \cite{wangfanglifu}. Corollary~\ref{cor:distance} gives the matching upper bound. \\ \(1\leq\ell\leq t\) & The known leading term \cite{phamgoyalkiah} extends to an exact eventual polynomial in \(n\) computed by Theorem~\ref{thm:main}, with a common extremizer through a fixed cap. \\ \bottomrule \end{tabularx} \end{table} The proof bounds the number of equal adjacencies needed in an extremizing pair using a maximal-subsequence decomposition \cite{sunge} and an alternating-tail construction \cite{phamgoyalkiah}. Each remaining pair belongs to one of finitely many families specified by its short intervals and the boundaries of its long alternating intervals. Lemma~\ref{lem:transfer} gives the same multiplier \(\lambda(z)\) for each added position in any long interval. At a common base length, a finite search selects the admissible profile with lexicographically largest coefficients in increasing degree. The coefficients of the multiplier's powers count independent sets on a cycle. Their relative growth makes the selected profile optimal at every radius beyond an explicit cutoff, and multiplication by \(\lambda(z)^{-L}\) converts the base profile at length \(L\) to \(C_{\ell,T}(z)\). At fixed separation two, Wang, Li, and Fu \cite{wanglifuqary} give exact intersection sizes for alphabets of size at least four at sufficiently large lengths and characterize the extremizing pairs for alphabets of size at least three. Here binary alternation supplies the transfer for arbitrary fixed separation. Two other reconstruction settings illustrate how the read model affects the threshold. Zhong and Zhang \cite{zhongzhang} show that subhypermatrices of order \(O(n^{D/(D+1)})\) suffice to reconstruct a \(D\)-dimensional hypermatrix of order \(n\) from its complete multiset of those subhypermatrices. Erickson et al.\ \cite{ericksonetal} show that the set of two-minors determines every standard Young tableau of size at least eight, with a sharp threshold. In combinatorics on words, Shallit, Shur, and Zorcic \cite[Theorem~15 and Section~3]{shallitshurzorcic} show that cubefree clipped Thue--Morse morphisms exist at every length except \(3\cdot2^j\) for \(j\geq0\), and use finite automata to verify structural properties of these words. Shi et al.\ \cite{shietal} use a characterization of binary self-orthogonal codes meeting the Griesmer bound to determine optimal minimum distances in dimension seven. The transfer here gives exact eventual values for the intersection itself, and hence for the distinct-read threshold. \section{Equal adjacencies in extremizing pairs}\label{sec:runs} Fix \(1\leq\ell\leq T\). Let \(r(w)\) denote the number of runs (maximal constant intervals) of \(w\), with \(r(\epsilon)=0\). An \(n\)-bit word has \(n-r(w)\) equal adjacencies. Deleting one symbol cannot increase the number of runs and decreases it by at most two. An endpoint deletion decreases it by at most one. A greedy embedding matches each output bit at the first occurrence after the preceding match. Induction along the output shows that its matched positions are no later than those of any other embedding. Within a run its matched positions form an initial segment. In fact, if a skipped position preceded a match in the same run, the first such match after that skip could have used the skipped position. The numbers of deletions from each run therefore determine the output. Counting nonnegative deletion counts by stars and bars gives the run bound used by Sun and Ge \cite[Lemma~3.6]{sunge}, \begin{equation}\label{eq:runball} |D_d(w)|\leq \binom{r(w)+d-1}{d}\qquad (r(w)\geq1). \end{equation} \begin{lemma}\label{lem:maximal} For binary words of lengths \(u+a\) and \(u+b\), with \(u,a,b\geq0\), there are at most \(\binom{a+b}{a}\) distinct maximal common subsequences of length \(u\). Here a common subsequence is maximal if no longer common subsequence contains it. \end{lemma} \begin{proof} We follow Sun and Ge \cite[Lemma~3.3]{sunge} and induct on the sum of the input lengths. If \(uab=0\), there is at most one candidate. For equal first bits \(c\), every maximal output starts with \(c\), since otherwise \(c\) could be prepended. Remove the first bit of both inputs and of the output. The shorter output embeds in both tails by greedy matching. Any common extension in those tails would extend the original output after prepending \(c\). This is an injection into maximal outputs counted with parameters \((u-1,a,b)\). For differing first bits, partition the outputs by first bit. Each part skips the first bit of one input and remains maximal in the shorter pair. The two bounds \(\binom{a+b-1}{a}\) and \(\binom{a+b-1}{a-1}\) sum to the desired bound. \end{proof} Put \(H=\binom{2\ell}{\ell}\). Following the decomposition of Sun and Ge~\cite[Lemma~3.5]{sunge}, for an admissible pair each common output of radius \(s\) lies in a maximal one at some radius \(j\in[\ell,s]\). This follows by taking a longest common subsequence that contains that output. Consequently \(I_\ell(x,y)\leq H\). For \(s>\ell\), let \(d=s-\ell\) and \(R=\min(r(x),r(y))\). The maximal outputs at radius \(\ell\) each have at most \(R\) runs. Using \eqref{eq:runball} for their descendants and counting position subsets for descendants of the other maximal outputs gives, when \(n>s\), \begin{equation}\label{eq:upper} I_s(x,y)\leq H\binom{R+d-1}{d} + \sum_{j=\ell+1}^s\binom{2j}{j}\binom{n-j}{s-j}. \end{equation} For the lower bound we use the seeds and alternating tail of Pham, Goyal, and Kiah \cite[Section~IV of the preprint]{phamgoyalkiah}. The seeds of length \(L_0=4\ell-2\) are \[ u=(10)^{2\ell-1},\qquad v=(01)((10)(01))^{\ell-1}. \] Their run counts are \(L_0\) and \(2\ell\), respectively. Suppose \(\ell\geq2\) and there is a common output after \(\ell-1\) deletions per side. If its embedding in \(u\) deletes the first bit, make that deletion first. The output retains at least \(L_0-1-2(\ell-2)=2\ell+1\) runs, more than \(v\) has. If that embedding keeps the first bit, the embedding in \(v\) deletes its first bit, a singleton run. The output then has at most \(2\ell-1\) runs from \(v\) and at least \(L_0-2(\ell-1)=2\ell\) runs from \(u\). Both cases are impossible. For \(\ell=1\) the seeds are distinct, so they are admissible as well. Delete \(\ell\) of the \(2\ell\) positions in the displayed \(01\) blocks of \(v\). Each retained block followed by its separator \(10\) gives one of \(0110,010,110,10\), a prefix-free set. Reading these strings recovers the choices up to the final block, whose remainder is one of \(01,0,1,\epsilon\). The \(H\) choices thus give distinct outputs. A retained block of length \(k\in\{0,1,2\}\) embeds in \((10)^k\). The retained blocks have total length \(\ell\), and the \(\ell-1\) separators are already \(10\), so each output embeds in \(u\). Append the same alternating tail of length \(m=n-L_0\) to both seeds. Appending a shared bit increases the longest common subsequence length by one. Appending it to a former longest output proves the lower bound. For the upper bound, an output using either new last position becomes common to the original pair when its last bit is removed. An output using neither is already common to the original pair. Iteration proves admissibility of the extended pair. Each center has at most \(L_0\) equal adjacencies. When \(m\geq 2d\), an alternating tail has at least \(\binom{m-d}{d}\) distinct outputs after \(d\) deletions. Among its \(m-d\) matches choose \(d\) to skip one bit before matching. These choices give different greedy embeddings because every skipped bit is opposite to the matched bit. Concatenating the seed and tail outputs is injective because the seed output length is fixed. Thus \begin{equation}\label{eq:lower} N(n,\ell,\ell+d)\geq H\binom{n-L_0-d}{d} \qquad (n\geq L_0+2d). \end{equation} In particular, the extended seeds attain \(N(n,\ell,\ell)=H\). \begin{lemma}\label{lem:bounded} There are computable \(K\) and \(n_{\mathrm{run}}\), depending only on \(\ell,T\), such that for every \(n\geq n_{\mathrm{run}}\) and \(0\leq s\leq T\) a maximizing admissible pair has at most \(K\) equal adjacencies in each center. \end{lemma} \begin{proof} Take \(n_{\mathrm{run}}=\max\{T+1,L_0+2(T-\ell)\}\). The extended seeds give the claim at \(s\leq\ell\) with bound \(L_0\). For \(s>\ell\), write \(d=s-\ell\), \(a=L_0+2d-1\), and \(B_s=\sum_{j=\ell+1}^s\binom{2j}{j}\). At an extremizer, \eqref{eq:upper} and \eqref{eq:lower} imply \[ (n-a)^d\leq (R+d-1)^d+\frac{d!}{H}B_s n^{d-1}. \] The difference of powers formula gives \[ \begin{aligned} (n-R)n^{d-1} &\leq n^d-R^d\\ &\leq \left(da+d(d-1)2^{d-1}+\frac{d!}{H}B_s\right)n^{d-1}. \end{aligned} \] For the second inequality use \(n^d-(n-a)^d\leq da n^{d-1}\) and \(R+d-1\leq2n\) in the difference \((R+d-1)^d-R^d\). Since \(n-R\) is the larger of the two equal-adjacency counts, take \(K\) to be the largest of \(L_0\) and the ceilings of the displayed constants for \(\ellT\), define their profile by \[ F_{x,y}=\sum_{s=0}^T I_s(x,y)z^s\in A. \] At the cut after \(q\) processed positions of \(x\), keep a state \((h,e)\) with \(0\leq h\leq T\) and \(-T\leq e\leq T\). The last matched positions in \(x,y\) are \(i=q-h\) and \(j=i+e\). The initial state at \(q=0\) is \((0,0)\), with last matched positions both zero. For \(0\leq qa\). A window entering a different long interval from either end cannot reach the other end's boundary edge, since \(4T+20\), choose a distinguished selected vertex and count the positive gaps of unselected vertices. These gaps form a composition of \(m-j\) into \(j\) parts. Dividing the count by the \(j\) choices of distinguished vertex yields \begin{equation}\label{eq:cycle} p_j(m)=\frac{m}{j}\binom{m-j-1}{j-1} =\frac{m}{m-j}\binom{m-j}{j}\qquad(1\leq j\leq T). \end{equation} For \(1\leq j\leq T\) the ratio, including \(j=1\), satisfies \begin{equation}\label{eq:ratio} \frac{p_j(m)}{p_{j-1}(m)} =\frac{(m-2j+2)(m-2j+1)}{j(m-j)} \geq \frac{m}{4T}. \end{equation} Here the numerator factors are at least \(m/2\) and the denominator is at most \(Tm\). \begin{proof}[Proof of Theorem~\ref{thm:main}] Choose an admissible family whose base profile \(F_*\) is largest in lexicographic order, reading coefficients in increasing degree. For any competing admissible family with a different profile, let \(k\) be the first differing degree and write \(\delta_i\) for the coefficient differences between \(F_*\) and the competitor. Then \(\delta_k\geq1\) by integrality. Every profile coefficient at radius \(i\) is at most \(\binom{L}{i}\leq B=L^T\), so \(|\delta_i|\leq B\). Take \(m=n-L\geq8T(B+1)\). By \eqref{eq:ratio}, at every \(s\geq k\) the terms arising from degrees above \(k\) satisfy \begin{equation}\label{eq:dominance} \left|\sum_{i=k+1}^{s}\delta_i p_{s-i}(m)\right| \leq B p_{s-k}(m)\sum_{j=1}^{s-k}(B+1)^{-j} 0\). The difference after multiplication by \(\lambda^m\) is therefore positive for \(s\geq k\) and zero for \(sb\) and has size at most \(H_{a,b-d}