Distinct projected images of unrestricted binary strips
Many unrestricted binary arrays can produce the same image of marked squares. To count distinct images, it is enough to keep the set of witness rows that can still end a given image prefix. This gives exact counts at every positive height and establishes the least recurrence orders for the four tabulated widths under each determinant rule and the three tabulated widths under the adjacent-pair rule. An image has \(n\) rows and \(k\) columns, where \(n,k\ge 1\). Its witness is an arbitrary binary array with \(n+1\) rows and \(k+1\) columns. Each image bit marks one adjacent \(2\times2\) square. For consecutive witness rows \(a\) above \(b\), define, for \(1\le j\le k\), \[d_j=a_jb_{j+1}-a_{j+1}b_j,\qquad s_j=a_j+a_{j+1}+b_j+b_{j+1}. \] The emitted image row \(F(a,b)\) has bit \(j\) equal to 1 precisely when \(d_j=1\) for the signed determinant-one rule, \(d_j\ne0\) for the nonzero-determinant rule, or \(s_j=2\) and \(d_j=0\) for the adjacent-pair rule. The last condition selects squares whose two ones share an edge and whose two zeros share an edge. For any of the three rules, let \(W=\{0,1\}^{k+1}\) be the set of witness rows. Start with \(S=W\) and, on reading an image row \(y\in\{0,1\}^k\), update \[T_y(S)=\{b\in W:\exists a\in S\text{ with }F(a,b)=y\}. \] An empty set rules out the prescribed image. If the final set is nonempty, a witness can be recovered by choosing a row in that set and tracing back a compatible predecessor at each step. To count images, index a matrix \(M\) by the reachable nonempty subsets and use \[M_{S,U}=\bigl|\{y\in\{0,1\}^k:T_y(S)=U\}\bigr|,\qquad a(n)=e_W^{\top}M^n\mathbf1. \] Here \(a(n)\) is the count for the chosen width and rule, \(e_W\) is the unit vector at the full subset and \(\mathbf1\) is the column vector of ones. Each image has a unique sequence of subset transitions. A matrix entry counts different image rows leading to the same destination, so several witnesses for one image contribute only once. The same matrix specifies every signed recurrence coefficient. With \(x\) a formal variable and \(I\) the identity matrix, form \[D(x)=\det(I-xM),\qquad P(x)=e_W^{\top}\operatorname{adj}(I-xM)\mathbf1-D(x). \] The positive-height generating function is \(A(x)=\sum_{n\ge1}a(n)x^n=P(x)/D(x)\), where \(\operatorname{adj}\) denotes the adjugate. Cancel common polynomial factors and normalise the reduced denominator to have constant term 1. Writing it as \(Q(x)=1-\sum_{j=1}^{r}c_jx^j\) gives the least eventual order \(r=\deg Q\) and the recurrence \(a(n)=\sum_{j=1}^{r}c_j a(n-j)\) at the starts given below. The transfer supplies all initial counts and also applies at widths beyond those with the listed orders. For signed determinant \(+1\), Hardin's four empirical column laws have least orders \(3,6,13,32\) at widths \(1,2,3,4\), and hold from positive heights \(4,7,14,33\), respectively. At width one the attainable words are exactly those with no three consecutive ones. Their counts start \(2,4,7\), then each count is the sum of the preceding three. At width two Barker's generating function, with the height-zero term omitted, is \[A(x)=\frac{4x+9x^2+11x^3+5x^4-x^6}{1-x-4x^2-8x^3-4x^4-x^5+x^6}. \] Hardin's A227751, empirical columns 1–4 · Barker's width-two formula, A227747 · Width-three recurrence, A227748 · Width-four recurrence, A227749 For nonzero determinant, both signs count. Hardin's four laws have least orders \(1,1,11,63\), with positive-height starts \(2,2,12,64\) at widths \(1,2,3,4\), respectively. Every mask is attainable at widths one and two, giving \(2^n\) and \(4^n\). Keep one witness column constantly 1, using the middle column at width two. Start each remaining column at 0 and toggle it between rows exactly where its corresponding image column has a 1. Each marked square then records a change in the column beside the constant one. Hardin's A227594, empirical columns 1–4 · Signed order-11 recurrence, A227591 · Signed order-63 recurrence file, A227592 For the adjacent-pair rule, Hardin's three laws have least orders \(1,3,9\), with positive-height starts \(2,4,10\) at widths \(1,2,3\), respectively. At width one, use witness rows with two equal bits, starting with \(00\), and change their common bit exactly at the desired image ones. This attains every word and gives \(2^n\) images. The width-two counts start \(4,16,62\), and Barker's positive-height generating function is \[A(x)=\frac{2x(2+3x^2)}{1-4x+2x^2-6x^3}. \] Hardin's A227442, empirical columns 1–3 and the width-two and width-three companion sequences
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24766887
- Primary Topic
- semigroups and automata theory
- Type
- preprint