Threshold and numerical subblock-sum images of sorted binary strips

At fixed width, the number of successive groups of hidden rows that give the same output when repeated controls the degree of the image count. The two threshold rules have the same groups and hence the same degree, but the threshold at two can distinguish more of the transitions between groups, increasing the leading coefficient at widths three and above. Keeping the numerical sums distinguishes every pair of consecutive hidden rows in the full lexicographic list at widths two and above, giving a higher degree. For positive integers \(n,k\), a witness is an \((n+1)\times(k+1)\) binary array whose rows, read from left to right, and columns, read from top to bottom, are both lexicographically nondecreasing, with \(0<1\). Its \(n\times k\) image records a function of the sum in each adjacent \(2\times2\) block. Each distinct image counts once, regardless of how many witnesses produce it. In the results below, the start is the least positive \(n_0\) for which the polynomial gives the count at every \(n\ge n_0\). For sums at most three, an output bit is 1 exactly when the block sum is at most three. All five empirical column polynomials hold, with degrees \(1,4,9,19,39\) and sharp starts \(1,1,4,8,16\) in width order. This includes the exact degree-19 and degree-39 polynomials linked as A227267 and A227268, and the Barker generating functions at widths two and three. For every fixed \(k\ge2\), the eventual polynomial has degree \(d=5\cdot2^{k-2}-1\) and leading coefficient \(1/d!\). Hardin's A227269, columns 1–5 and linked width entries For sums at most two, an output bit is 1 exactly when the block sum is at most two. All five printed polynomials hold, with the same degrees and sharp starts \(1,1,6,10,21\), including the linked formulas A227260–A227262. At width two the count also equals Martin's count of length-\(n\) words on \(\{0,1,2\}\) with digit sum at most four, namely \(1+2n+4\binom n2+4\binom n3+\binom n4\). For every fixed \(k\ge2\), put \(B=2^{k-2}\) and \(d=5B-1\). The eventual polynomial has degree \(d\) and leading coefficient \(N_k/d!\), where \[N_2=1,\qquad N_3=4,\qquad N_k=3^{B/2-1}24^{B/4}\quad(k\ge4). \] At width one both threshold counts are \(n+1\), since the complemented image consists of a suffix of ones of any length from zero to \(n\). Hardin's A227263, columns 1–5 and the Barker–Martin width-two entry A227259 For numerical sums, the image records the integers from 0 to 4. All four proposed column polynomials hold, including the linked width-three and width-four formulas A226989 and A226990. Their degrees are \(2,7,15,31\) and their sharp starts are \(2,5,8,16\). For every fixed \(k\ge2\), the eventual degree is \(2^{k+1}-1\) and the leading coefficient is \(1/(2^{k+1}-1)!\). At width one the count is 5 for \(n=1\) and \(\binom{n+3}{2}\) for \(n\ge2\). In this width the image gives consecutive sums of a nondecreasing list of \(n+1\) row totals in \(\{0,1,2\}\). Every such list is realised by rows drawn from \(00,01,11\), and two or more consecutive sums determine the list uniquely. Hardin's A226992, columns 1–4 and linked width entries A226988–A226990 The transition rules make the group statistic explicit. For a hidden row \(a\) define \(h(a)_j=a_ja_{j+1}\), \(u(a)_j=a_j\lor a_{j+1}\) and \(p(a)_j=a_j+a_{j+1}\) for \(1\le j\le k\). Complement the threshold outputs, which leaves their counts unchanged. On consecutive hidden rows \(a,b\), the output vectors for the three rules are then \[h(a)\wedge h(b),\qquad (h(a)\wedge u(b))\vee(h(b)\wedge u(a)),\qquad p(a)+p(b), \] respectively, with all operations coordinatewise. A repeated row emits \(h(a)\) in both threshold families. A transition between distinct ranks with the same \(h\) also emits that mask, so adjacent equal-mask groups in the chosen rank list merge. A merged group containing \(m\) witness rows contributes \(m-1\) copies of the mask, including its internal transitions. At \(k\ge2\), split the full lexicographic row list by its first \(k-2\) bits. In each block the last three bits form five successive groups with constant \(h\), with binary suffixes \(\{000,001,010\}\), \(\{011\}\), \(\{100,101\}\), \(\{110\}\) and \(\{111\}\). The masks differ across block boundaries, giving \(5B\) groups in total. When each group contributes at least two copies of its mask, the long constant runs identify the groups. A single transition symbol either joins a neighbouring run with that symbol or appears in the gap as an isolated symbol. For the threshold at three each transition is determined by its two group masks. For the threshold at two the isolated symbols can vary with the chosen ranks. Index the prefix blocks by their binary value \(q=0,\ldots,B-1\). At a positive \(q\), the incoming transition can be absorbed via suffix \(000\), is isolated via \(001\), and gives a further isolated symbol via \(010\) when \(q\) is even or \(q\equiv3\pmod4\). The transition from \(011\) to the third group has the additional isolated option \(011\to101\) at odd \(q\). These choices are independently realisable by keeping the full initial block and selecting the indicated ranks in later blocks. The factors for \(N_k\) are thus 1 at \(q=0\), 3 at positive even \(q\), 4 at \(q\equiv1\pmod4\) and 6 at \(q\equiv3\pmod4\). For numerical sums the repeated-row output is \(2p(a)\). At \(k\ge2\), consecutive ranks in the full list have different \(p(a)\), even though some nonconsecutive ranks share a vector. Take all \(M=2^{k+1}\) ranks in order and repeat each at least three times. This respects column order because the first row that distinguishes an adjacent column pair has its 1 in the right column. Each transition \(p(a)+p(b)\) between consecutive ranks differs from both neighbouring repeated-row outputs. The successive maximal constant runs of length at least two therefore recover the row multiplicities by adding one to each run length. This constructs \(\binom{n-2M}{M-1}\) distinct images for \(n\ge3M-1\). The same finite construction computes the exact count for any width and positive height. A hidden state consists of the last witness row and the set of adjacent column pairs still tied. Initialise with all first rows that have no adjacent \(10\), recording their ties. For each possible next output row, take the union of hidden successors that emit it under the chosen rule. The successor row must be lexicographically at least the last row. At each tied column pair, \(10\) excludes the successor, \(01\) resolves the pair and equality preserves the tie. Keep every reachable nonempty subset as an accepting vertex. Each image follows one labelled walk. Removing self-loops gives a directed acyclic graph, with at most one loop label per vertex in the original graph. If \(F_{f,k}(n)\) is the count for rule \(f\) at width \(k\) and \(G_{f,k}(x)=\sum_{n\ge1}F_{f,k}(n)x^n\), then \[1+G_{f,k}(x)=\sum_{\pi}\frac{x^{\ell_\pi}}{(1-x)^{r_\pi}}. \] The sum uses all labelled paths from the initial subset, including the empty path. Here \(\ell_\pi\) counts edges after loop removal, and \(r_\pi\) counts vertices of the path that admit a loop. Taking the coefficient of \(x^n\) gives the exact count. For \(n\) greater than the longest loop-free path length, the polynomial is the sum of \(\binom{n-\ell_\pi+r_\pi-1}{r_\pi-1}\) over paths with \(r_\pi\ge1\). This gives the native polynomials as well as a way to calculate them at other fixed widths. With \(f=\le3,\le2,\mathrm{sum}\) denoting the three rules above, the positive-index Barker series are \[\begin{aligned} G_{\le3,2}(x)&=\frac{x(3-7x+6x^2-x^4)}{(1-x)^5},\ G_{\le3,3}(x)&=\frac{x(4-24x+69x^2-118x^3+146x^4-162x^5+177x^6-156x^7+90x^8-31x^9+9x^{10}-4x^{11}+x^{12})}{(1-x)^{10}},\ G_{\le2,2}(x)&=\frac{x(3-6x+8x^2-5x^3+x^4)}{(1-x)^5},\ G_{\mathrm{sum},2}(x)&=\frac{x(10-38x+64x^2-31x^3-67x^4+148x^5-137x^6+56x^7+12x^8-26x^9+12x^{10}-2x^{11})}{(1-x)^8}. \end{aligned} \] For a denominator \((1-x)^r\), the recurrence is \(\sum_{j=0}^r(-1)^j\binom rj F_{f,k}(n-j)=0\), starting at \(n=6,14,6,13\), respectively. Coefficients of the fractions supply the initial values. Earlier public certificates cover the threshold-three result at width two and the threshold-two result at width two. Public kernel certificates also cover threshold three at width three and numerical sums at width two, with statement review pending in those two cases. The wider exact polynomials and the laws for general width extend beyond those certificates. Threshold three, width two, threshold two, width two, threshold three, width three, numerical sums, width two

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24801805
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Threshold and numerical subblock-sum images of sorted binary strips

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Threshold and numerical subblock-sum images of sorted binary strips

Zixuan He
preprint en

Abstract

At fixed width, the number of successive groups of hidden rows that give the same output when repeated controls the degree of the image count. The two threshold rules have the same groups and hence the same degree, but the threshold at two can distinguish more of the transitions between groups, increasing the leading coefficient at widths three and above. Keeping the numerical sums distinguishes every pair of consecutive hidden rows in the full lexicographic list at widths two and above, giving a higher degree. For positive integers \(n,k\), a witness is an \((n+1)\times(k+1)\) binary array whose rows, read from left to right, and columns, read from top to bottom, are both lexicographically nondecreasing, with \(0<1\). Its \(n\times k\) image records a function of the sum in each adjacent \(2\times2\) block. Each distinct image counts once, regardless of how many witnesses produce it. In the results below, the start is the least positive \(n_0\) for which the polynomial gives the count at every \(n\ge n_0\). For sums at most three, an output bit is 1 exactly when the block sum is at most three. All five empirical column polynomials hold, with degrees \(1,4,9,19,39\) and sharp starts \(1,1,4,8,16\) in width order. This includes the exact degree-19 and degree-39 polynomials linked as A227267 and A227268, and the Barker generating functions at widths two and three. For every fixed \(k\ge2\), the eventual polynomial has degree \(d=5\cdot2^{k-2}-1\) and leading coefficient \(1/d!\). Hardin's A227269, columns 1–5 and linked width entries For sums at most two, an output bit is 1 exactly when the block sum is at most two. All five printed polynomials hold, with the same degrees and sharp starts \(1,1,6,10,21\), including the linked formulas A227260–A227262. At width two the count also equals Martin's count of length-\(n\) words on \(\{0,1,2\}\) with digit sum at most four, namely \(1+2n+4\binom n2+4\binom n3+\binom n4\). For every fixed \(k\ge2\), put \(B=2^{k-2}\) and \(d=5B-1\). The eventual polynomial has degree \(d\) and leading coefficient \(N_k/d!\), where \[N_2=1,\qquad N_3=4,\qquad N_k=3^{B/2-1}24^{B/4}\quad(k\ge4). \] At width one both threshold counts are \(n+1\), since the complemented image consists of a suffix of ones of any length from zero to \(n\). Hardin's A227263, columns 1–5 and the Barker–Martin width-two entry A227259 For numerical sums, the image records the integers from 0 to 4. All four proposed column polynomials hold, including the linked width-three and width-four formulas A226989 and A226990. Their degrees are \(2,7,15,31\) and their sharp starts are \(2,5,8,16\). For every fixed \(k\ge2\), the eventual degree is \(2^{k+1}-1\) and the leading coefficient is \(1/(2^{k+1}-1)!\). At width one the count is 5 for \(n=1\) and \(\binom{n+3}{2}\) for \(n\ge2\). In this width the image gives consecutive sums of a nondecreasing list of \(n+1\) row totals in \(\{0,1,2\}\). Every such list is realised by rows drawn from \(00,01,11\), and two or more consecutive sums determine the list uniquely. Hardin's A226992, columns 1–4 and linked width entries A226988–A226990 The transition rules make the group statistic explicit. For a hidden row \(a\) define \(h(a)_j=a_ja_{j+1}\), \(u(a)_j=a_j\lor a_{j+1}\) and \(p(a)_j=a_j+a_{j+1}\) for \(1\le j\le k\). Complement the threshold outputs, which leaves their counts unchanged. On consecutive hidden rows \(a,b\), the output vectors for the three rules are then \[h(a)\wedge h(b),\qquad (h(a)\wedge u(b))\vee(h(b)\wedge u(a)),\qquad p(a)+p(b), \] respectively, with all operations coordinatewise. A repeated row emits \(h(a)\) in both threshold families. A transition between distinct ranks with the same \(h\) also emits that mask, so adjacent equal-mask groups in the chosen rank list merge. A merged group containing \(m\) witness rows contributes \(m-1\) copies of the mask, including its internal transitions. At \(k\ge2\), split the full lexicographic row list by its first \(k-2\) bits. In each block the last three bits form five successive groups with constant \(h\), with binary suffixes \(\{000,001,010\}\), \(\{011\}\), \(\{100,101\}\), \(\{110\}\) and \(\{111\}\). The masks differ across block boundaries, giving \(5B\) groups in total. When each group contributes at least two copies of its mask, the long constant runs identify the groups. A single transition symbol either joins a neighbouring run with that symbol or appears in the gap as an isolated symbol. For the threshold at three each transition is determined by its two group masks. For the threshold at two the isolated symbols can vary with the chosen ranks. Index the prefix blocks by their binary value \(q=0,\ldots,B-1\). At a positive \(q\), the incoming transition can be absorbed via suffix \(000\), is isolated via \(001\), and gives a further isolated symbol via \(010\) when \(q\) is even or \(q\equiv3\pmod4\). The transition from \(011\) to the third group has the additional isolated option \(011\to101\) at odd \(q\). These choices are independently realisable by keeping the full initial block and selecting the indicated ranks in later blocks. The factors for \(N_k\) are thus 1 at \(q=0\), 3 at positive even \(q\), 4 at \(q\equiv1\pmod4\) and 6 at \(q\equiv3\pmod4\). For numerical sums the repeated-row output is \(2p(a)\). At \(k\ge2\), consecutive ranks in the full list have different \(p(a)\), even though some nonconsecutive ranks share a vector. Take all \(M=2^{k+1}\) ranks in order and repeat each at least three times. This respects column order because the first row that distinguishes an adjacent column pair has its 1 in the right column. Each transition \(p(a)+p(b)\) between consecutive ranks differs from both neighbouring repeated-row outputs. The successive maximal constant runs of length at least two therefore recover the row multiplicities by adding one to each run length. This constructs \(\binom{n-2M}{M-1}\) distinct images for \(n\ge3M-1\). The same finite construction computes the exact count for any width and positive height. A hidden state consists of the last witness row and the set of adjacent column pairs still tied. Initialise with all first rows that have no adjacent \(10\), recording their ties. For each possible next output row, take the union of hidden successors that emit it under the chosen rule. The successor row must be lexicographically at least the last row. At each tied column pair, \(10\) excludes the successor, \(01\) resolves the pair and equality preserves the tie. Keep every reachable nonempty subset as an accepting vertex. Each image follows one labelled walk. Removing self-loops gives a directed acyclic graph, with at most one loop label per vertex in the original graph. If \(F_{f,k}(n)\) is the count for rule \(f\) at width \(k\) and \(G_{f,k}(x)=\sum_{n\ge1}F_{f,k}(n)x^n\), then \[1+G_{f,k}(x)=\sum_{\pi}\frac{x^{\ell_\pi}}{(1-x)^{r_\pi}}. \] The sum uses all labelled paths from the initial subset, including the empty path. Here \(\ell_\pi\) counts edges after loop removal, and \(r_\pi\) counts vertices of the path that admit a loop. Taking the coefficient of \(x^n\) gives the exact count. For \(n\) greater than the longest loop-free path length, the polynomial is the sum of \(\binom{n-\ell_\pi+r_\pi-1}{r_\pi-1}\) over paths with \(r_\pi\ge1\). This gives the native polynomials as well as a way to calculate them at other fixed widths. With \(f=\le3,\le2,\mathrm{sum}\) denoting the three rules above, the positive-index Barker series are \[\begin{aligned} G_{\le3,2}(x)&=\frac{x(3-7x+6x^2-x^4)}{(1-x)^5},\ G_{\le3,3}(x)&=\frac{x(4-24x+69x^2-118x^3+146x^4-162x^5+177x^6-156x^7+90x^8-31x^9+9x^{10}-4x^{11}+x^{12})}{(1-x)^{10}},\ G_{\le2,2}(x)&=\frac{x(3-6x+8x^2-5x^3+x^4)}{(1-x)^5},\ G_{\mathrm{sum},2}(x)&=\frac{x(10-38x+64x^2-31x^3-67x^4+148x^5-137x^6+56x^7+12x^8-26x^9+12x^{10}-2x^{11})}{(1-x)^8}. \end{aligned} \] For a denominator \((1-x)^r\), the recurrence is \(\sum_{j=0}^r(-1)^j\binom rj F_{f,k}(n-j)=0\), starting at \(n=6,14,6,13\), respectively. Coefficients of the fractions supply the initial values. Earlier public certificates cover the threshold-three result at width two and the threshold-two result at width two. Public kernel certificates also cover threshold three at width three and numerical sums at width two, with statement review pending in those two cases. The wider exact polynomials and the laws for general width extend beyond those certificates. Threshold three, width two, threshold two, width two, threshold three, width three, numerical sums, width two

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon