Neighbourhood of a word and Levenshtein distance
Has 2 answers on MathOverflow, none accepted. It may be fully or partly answered there; read them before working on it.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
The Levenshtein distance or Edit distance $$ lev(U,V) $$ between two strings \(U\) and \(V\) over a finite alphabet \(\Sigma\) of size $ \left| \Sigma \right| = \sigma ,$ is the minimal number of insertions, deletions and replacements to make the strings equal.
For $k \in \mathbb{N} $ and \(U \in \Sigma^*\) we define :
$$ N_k(U) = \{ V \in \Sigma^* : lev(U,V) \leq k \} $$
For example if \(\Sigma = \{A,B,L\}\) :
\[\begin{eqnarray*} N_1(AAA) &=& \{ AAA, AA, AAB, AAL, ABA, ALA, BAA, LAA, AAAA, BAAA, \\ &&LAAA, ABAA, ALAA, AABA, AALA, AAAB, AAAL \} \\ N_1(LAB) &=& \{LAB, LA, AB, LB, AAB, BAB, LBB, LLB, LAA, LAL, ALAB, \\ &&BLAB, LLAB, LAAB, LBAB, LALB, LABA, LABB, LABL\} \end{eqnarray*}\]
My goal is to compute for $\Sigma, n $ and \(k\) fixed :
$$ \max_{U \in \Sigma^* , ~ \left| U \right| = n} \left|N_k(U) \right| $$
or an upper bound \(f(\Sigma,k,n)\).
I conjecture that the maximum is reached for …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.