Research explained · Combinatorics on words
Can You Recognise a Pattern Only by Counting Its Copies?
Count how many times a short pattern of 0s and 1s hides inside every possible longer string. Do those counts identify the pattern? This paper proves that they do for every pattern with at most six blocks, and answers a related question about how fast the counts grow.
Hidden copies
Take a pattern such as 0011 and a longer binary string. A copy of the pattern is any choice of positions in the string, in increasing order, whose letters spell the pattern. The positions do not have to be next to each other. A string can contain a pattern many times over in this scattered sense.
Now fix a pattern p and a length n, and sort all binary strings of length n by how many copies of p they contain. The resulting histogram, the number of strings with exactly k copies for each k, is written B_p(n, k).
The reconstruction question
Some different patterns obviously share every histogram. Reversing a pattern, or swapping its 0s and 1s, changes nothing about the counts, because the same operations map strings to strings and copies to copies. Menon and Singh, in a 2024 paper in Discrete Mathematics, conjectured that these trivial symmetries are the only way two binary patterns can share all their histograms. They had checked this by computer for every pattern up to length 13.
A run is a maximal block of equal letters, so 0011 has two runs and 01100 has three. The number of runs is a natural measure of a pattern's complexity.
The results on reconstruction
The paper proves the Menon–Singh conjecture for every pattern with at most six runs, of any lengths. It also proves it for almost every pattern with any fixed number of runs: all except a proportion that shrinks like one over the pattern's length.
For five runs it gives a sharp, finite version. The histograms for string lengths from ℓ to ℓ + 4, where ℓ is the pattern's length, already identify the pattern up to the trivial symmetries. Four extra letters are genuinely needed: the paper exhibits two five-run patterns that agree on every histogram up to three extra letters and are separated only at the fourth.
The growth question
For a fixed pattern and a fixed count k, Bruda showed in 2026 that B_p(n, k) eventually grows like a polynomial in n, of degree at most ℓ − r + 1 for a pattern of length ℓ with r runs, and, in Section 4.2 of his paper, proposed determining exactly when that maximum is reached.
The paper answers this completely, over every finite alphabet. The maximal degree occurs for every k when some interior run has length one. Otherwise it occurs exactly when k is a product of two binomial coefficients whose lower indices are the lengths of the first and last runs, or, for patterns with two runs, when k is the weight of a Ferrers diagram, a staircase-shaped arrangement of cells, under a specific weighting the paper defines. After the first edition of this classification, the TrureTuring project posted the binary question and reproduced the answer.
Noisy copies
The paper also considers a communication problem. If a string from a biased source is sent through a channel that deletes one or two letters, what is the best single guess for the original? It finds the optimal robust guess in these cases, and shows that a biased source can tell apart a pair of six-run patterns whose ordinary histograms are identical.
The idea of the proofs
The arguments read the growth of the counts as poles of generating functions, organised by primitive strings, those that are not repetitions of a shorter block. A two-insertion identity tracks how counts change at the edges of a pattern, and exact formulas for the moments of marked copies turn out to be polynomials in the run lengths on explicitly described regions. Comparing those polynomials forces two patterns with equal data to have the same run structure, up to the trivial symmetries.
Why it matters
Questions of reconstruction, recovering an object from partial or aggregate information, appear across mathematics and computing, from DNA sequencing to coding theory and data storage. This paper turns a conjecture that had been tested by computer into a theorem for every pattern with at most six runs and for almost all longer patterns, with an exact description of how much information is needed.
Status of the paper
This paper is in its fourth edition in the Luminary Research Archive, published under a CC BY 4.0 licence. The third edition combined the reconstruction and maximal-degree articles into one account, and the fourth adds the deletion-channel results.
By Scott Schubr, Luminary Oddities. Explainer published 5 December 2026; mathematical statements checked against the cited Archive edition by our Math Lab. Paper: https://research.luminaryoddities.org/a-sharp-reconstruction-radius-for-binary-words-with-five-runs/v/4 · DOI 10.5281/zenodo.24805123
Read the paper
The full paper, its edition history and supporting files are in the Luminary Research Archive.
Curiosities of the living and natural world