Generating key points…
Answers are grounded in this paper and cite their sources.
Which distinct factors become identical after tortoise stack sorting? For every supplied one-sided automatic word, the paper computes the one-pass loss exactly from the word's automaton. It also gives a single rule for all pass counts on Thue–Morse and an exact eventual injectivity threshold for each positive pass count on regular paperfolding. The map \(T\) reads a factor from left to right, popping and emitting the stack top while it is less than or equal to the incoming letter, then pushing that letter. At the end it emits the stack from top to bottom. If a factor starts at \(i\), a letter pops at time \(j\), and \(s\) entries remain immediately after the pop, its zero-based output offset is \(j-i-s-1\). The strict order within the stack bounds \(s\) by the alphabet size. Let \(R_k(n,i)\) mean that \(i\) is the least start of its length-\(n\) image under \(T^k\), with \(T^0\) the identity. Writing \(p_x⁽ᵏ⁾(n)\) for the image count and \(p_x(n)\) for ordinary factor complexity gives \[p_x⁽ᵏ⁾(n)=p_x(n)-#\{i:R_0(n,i) and R_k(n,i)\}.\] Each image with \(a\) distinct preimages contributes \(a-1\) to the deficit. For any base \(b≥2\) and finite totally ordered alphabet, the one-pass count and deficit are effectively \(b\)-regular for all \(n≥0\), evaluable in \(O(log(n+2))\) arithmetic operations after compilation. Each fixed \(k≥1\) admits its own compilation. The periodic words \((001)^∞\) and \((110)^∞\) have identical ordinary and abelian complexity sequences but give one and two images, respectively, at length three after one pass. On binary factors a pass moves the first one, if present, to the end. For Thue–Morse, let \(C(n,k)\) count attainable one-counts at most \(k\). For factors with more than \(k\) ones, let \( D(n,k)\) be the attainable offsets of the original \((k+1)\)-st one and \( U_r(n,k)\) the distinct suffixes starting there at offset \(r\). Then \[p_t⁽ᵏ⁾(n)=C(n,k)+∑r∈ D(n,k)| U_r(n,k)|.\] To evaluate, set \(S(h)=0\) for even \(h\) and \(S(h)=(-1)^{t(h-1)/2}\) for odd \(h\), where \(t\) is the Thue–Morse word. The offsets are \(\{2k-1,2k,2k+1,2k+2\}∩[0,n-1]\). For each offset \(r\), scan starts \(0≤ i≤7P-n\), with \(P\) the least power of two at least \(max(1,n)\). Admit \(t[i+r,i+n)\) when \(tᵢ₊ᵣ=1\) and \(S(i+r)-S(i)=r-2k\). The short count \(C(n,k)\) counts integers in \([0,k]\) lying in \([m,m+1]\) at \(n=2m+1\), or \([m-1,m+1]\) at \(n=2m>0\), and is one at \(n=0\). For every \(n≥0\) and \(k≥1\), synchronized binary digits of \((n,k)\) evaluate the count or its deficit in \(O(log(n+k+2))\) arithmetic operations after a single compilation. The finite-window count takes \(O(nlog^2(n+2))\) arithmetic operations for \(n≥1\). The empty factor has one image. For positively indexed regular paperfolding, equal images of sufficiently long factors force a common surviving suffix at the same offset. Dyadic alignment leaves at most one possible hidden-prefix mismatch, which equal one-counts exclude. Ordinary complexity is \(4n\) for \(n≥7\). Set \(B(k)=4k+3+4· 2log_2(4k+4)\) and let \(E\) be the least power of two at least \(B(k)\). Scan \(7≤ n<B(k)\) in the prefix \(f_1⋯ f7E\). For a factor of one-count \(o\), use image key \((o)\) if \(o≤ k\). Otherwise use \((o,d,v)\), where \(d\) is the offset of its \((k+1)\)-st one and \(v\) its literal suffix starting there. Equal keys and unequal full factors are collisions. The threshold is one plus the last such length. The bounded scan takes \(O(k^2)\) arithmetic operations on \(O(log(k+1))\)-bit integers and stores \(O(klog(k+1))\) such integers. The first five thresholds are \(8,13,14,25,26\), including the previously established one-pass value. **Original problems** - Campbell and Rampersad, §7, p. 14. For an arbitrary one-sided automatic word over a finite ordered alphabet, how does the number of distinct length-\(n\) factor images after one tortoise pass relate to ordinary factor complexity at every length? What can the ordinary complexity sequence determine by itself? The word's automaton gives effective digit-matrix representations of the one-pass count and the exact deficit at every length, in every base \(b≥2\). Two periodic examples show that even ordinary and abelian complexity together fail to determine the one-pass count. The separate fixed-pass extension allows compilation to depend on the pass count. - Campbell and Rampersad, §6, final paragraph. What is the exact number of distinct images of the length-\(n\) Thue–Morse factors after \(k\) tortoise passes, and what is its deficit from ordinary factor complexity, under one rule valid jointly for \(n≥0\) and \(k≥1\)? One synchronized binary representation for each quantity handles every pair \((n,k)\). The collision classification counts sorted images by attainable one-count and the other images by cut offset and surviving suffix. This extends the previously known one-pass count. - Campbell and Rampersad, §5, after Theorem 3. For the positively indexed regular paperfolding word and every integer \(k≥1\), does a least positive length \(s(k)\) exist such that the \(k\)-pass image count is \(4n\) for every \(n≥ s(k)\), and how can it be evaluated exactly? The threshold exists for every positive \(k\). A proved injectivity cutoff bounds a finite search for the last failure, which yields the least threshold exactly. The result recovers \(s(1)=8\) and confirms \(s(2)=13\), \(s(3)=14\), \(s(4)=25\), and \(s(5)=26\).
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: