Generating key points…
Answers are grounded in this paper and cite their sources.
Every positive integer occurs as an equivalence-class size for every binary keyword of length at least two. Moreover, each size occurs in a class whose rewrite graph is a path. For a fixed keyword \(a\), this graph has all binary words of a given length \(n\) as vertices. A move replaces a contiguous occurrence of \(a\) with its bitwise complement \( a\), or vice versa. The equivalence classes are the connected components. Bates, Morrison, Serafini, Rogers and Sood asked which class sizes occur as \(n\) varies for each keyword outside \(\{110,001,100,011\}\), four cases for which they cited Klarner. The path construction applies to all four as well. Bates et al., §4, Open Problem 20, p. 20 To construct a class of size \(s\), write \(m+1\) for the length of \(a\) and index bits from zero. For a binary word \(x\), set \(D(x)_j=x_j⊕ xⱼ₊₁\), where \(⊕\) is addition modulo two. Write \(d=D(a)=u^r\), where \(u\) is the shortest word whose exact repetition gives \(d\), \(p=|u|\), and \(r=m/p\). A move at position \(i\) is available exactly when the length-\(m\) block of \(D(x)\) starting at \(i\) equals \(d\). The move flips letters \(i\) through \(i+m\), changing only the difference bits at \(i-1\) and \(i+m\) when those positions exist. For \(s=1\), take the one-letter word \(0\). For \(s≥ 2\), put \(q=s-1\). Use \(q+r-1\) cells of \(p\) bits for the difference word, giving an ambient letter length of \[n=p(q+r-1)+1=m+(s-2)p+1. \] Number the cells from \(0\) to \(q+r-2\). In the starting word \(x⁽⁰⁾\), the first letter is \(0\), the first \(r\) cells of \(D(x⁽⁰⁾)\) are copies of \(u\), and each later cell is \(u\) with its first bit flipped. Recover the remaining letters by \(xⱼ₊₁=x_j⊕ D(x)_j\). Starting from this word, make the \(q\) moves at positions \(0,p,…,(q-1)p\) in that order. The starting word and the successive words \(x⁽¹⁾,…,x(q)\) are the distinct vertices of the entire component, in path order. At vertex \(x⁽ᵗ⁾\), the cells with indices \(j≤ t-2\) have the last bit of \(u\) flipped, the cells with \(t-1≤ j≤ t+r-1\) are unchanged copies of \(u\), and those with \(j≥ t+r\) have the first bit flipped, in each case within the cell range. A block of \(r\) unchanged cells can therefore start only at cell \(t-1\) or \(t\), provided that cell is in \(0,…,q-1\). These are the moves to the previous and next vertices. When \(p>1\), a window starting inside a cell would read \(r\) copies of a nontrivial rotation of \(u\) in the unmodified repetition. Such a rotation is distinct from \(u\) and has the same number of ones, giving at least \(2r\) mismatches with \(d\). The window can meet at most one region of flipped bits, which changes at most \(r\) positions in the window. Thus no additional move occurs there. When \(p=1\), every start is at a cell boundary. The construction covers difference words with a proper prefix that is also a suffix, including exact repetitions of a shorter word. For example, \(d=0101\) has shortest root \(01\), so a class of size five is realised at length eleven.
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: