Chvátal–Sankoff constant for a four-letter alphabet
Description of constant
Let $\lambda_{n,4}$ be the random variable assigning two independent uniformly random strings of length $n$ over a four-letter alphabet the length of their longest common subsequence.
Then $C_{31b}$ is the (well-defined) limit $C_{31b} := \lim_{n \to \infty}\frac{\mathbb{E}[\lambda_{n,4}]}{n}$.
Four letters is the size of the DNA alphabet. The binary case is $C_{31a}$.
Known upper bounds
| Bound |
Reference |
Comments |
| $1$ |
Trivial |
|
| $0.77291$ |
[CS1975] |
As tabulated in [D1994], Figure 4.2 |
| $0.708236$ |
[D1994] |
Computer assisted (Figure 4.6 of the thesis) |
| $0.683622$* |
[J2026a] |
Computer assisted. Lueker’s automaton $M_h$ of [L2009] (Section 3.2), run for four letters with $h=5$ (290,442 states); certificate with directed rounding. |
| $0.679701$* |
[J2026a] |
Same method with $h=6$ (8,502,177 states, $z=0.1570$); the transition table is built and read from disk. |
Known lower bounds
| Bound |
Reference |
Comments |
| $1/4$ |
Trivial |
A common subsequence that uses a single letter |
| $0.545454$ |
[D1994] |
Analysis of Deken’s matching algorithm (Section 3.5 of the thesis) |
| $0.599248$ |
[KS2009] |
Computer assisted (Lueker’s lower-bound method) |
| $0.614333$ |
[H2024] |
Computer assisted, $h=8$ |
| $0.61422$ |
[R2024] |
Computer assisted, $h=8$ |
| $0.617356$* |
[J2026b] |
Computer assisted. Lueker’s lower-bound method [L2009, Section 2] with $h=9$, storing one value per class of string pairs under alphabet permutations and swapping (1,431,743,147 classes); fixed-point certificate with every division rounded down, checked by an independently written checker. |
- Chvátal–Sankoff constants on Wikipedia
- The same methods give the following bounds for other alphabet sizes $k$ (lower bounds from [J2026b], previously [R2024]; upper bounds from [J2026a], previously [D1994]):
| $k$ |
Lower bound |
Upper bound |
| 3 |
$0.686509$* |
$0.737495$* |
| 5 |
$0.566171$* |
$0.653115$* |
| 6 |
$0.524151$* |
$0.618257$* |
| 7 |
$0.493089$* |
$0.589457$* |
| 8 |
$0.466991$* |
$0.565042$* |
| 9 |
$0.444595$* |
$0.543938$* |
| 10 |
$0.425055$* |
$0.525418$* |
| 11 |
$0.407778$* |
$0.508965$* |
| 12 |
$0.392336$* |
$0.494201$* |
| 13 |
$0.378406$* |
$0.480840$* |
| 14 |
$0.365743$* |
$0.468662$* |
| 15 |
$0.354154$* |
$0.457492$* |
References
- [CS1975] Chvatal, Václáv, and David Sankoff. “Longest common subsequences of two random sequences.” Journal of applied probability 12.2 (1975): 306-315. Available at https://par.cse.nsysu.edu.tw/resource/paper/2013/131230/CS-TR-75-477.pdf
- [D1994] Dancík, Vladimír. Expected length of longest common subsequences. Diss. University of Warwick, 1994. Available at https://wrap.warwick.ac.uk/id/eprint/107547/1/WRAP_Theses_Dancik_1994.pdf
- [H2024] Heineman, George T., et al. “Improved Lower Bounds on the Expected Length of Longest Common Subsequences.” arXiv preprint (2024) arXiv:2407.10925.
- [J2026a] Jack, Leandre. Upper bounds on the Chvátal–Sankoff constants for alphabets of size 3 to 15 (2026). Code, certificates and checks at https://github.com/leandrejack-afk/chvatal-sankoff-bound/tree/f5f250f/kary (commit f5f250f).
- [J2026b] Jack, Leandre. Lower bounds on the Chvátal–Sankoff constants for alphabets of size 3 to 15 (2026). Code, certificates, an independently written checker and a review at https://github.com/leandrejack-afk/chvatal-sankoff-bound/tree/bb3b815/lower (commit bb3b815).
- [KS2009] Kiwi, Marcos, and José Soto. “On a speculated relation between Chvátal–Sankoff constants of several sequences.” Combinatorics, Probability and Computing 18 (2009). doi:10.1017/S0963548309009900
- [L2009] Lueker, George S. “Improved bounds on the average length of longest common subsequences.” Journal of the ACM (JACM) 56.3 (2009): 1-38. Available at https://dl.acm.org/doi/pdf/10.1145/1516512.1516519
- [R2024] Rosenfeld, Matthieu. “Upper bounds on the average edit distance between two random strings.” arXiv preprint (2024) arXiv:2407.18113.
Contribution notes
The [J2026a] and [J2026b] rows were prepared with the help of a large language model; the computations were checked as described in the linked repository.
← Back to the table of constants