Generating key points…
Answers are grounded in this paper and cite their sources.
The first differences of the Ruskey–Deugau meta-Fibonacci sequence \(as,k\) form a binary word. For negative shifts, each 1 in a prefix gives one restricted composition of the prefix length. For every shift, the zeros can be generated by a seeded membership recurrence, and the gap between consecutive ones is the minimum cost of editing a base-\(k\) record for one integer into the record for its successor. Let \(k≥2\) be an integer, let \(s\) be any integer and set \(as,k(0)=0\). Write \(D=Ds,k\), with one-based positions and \(D(m)=as,k(m)-as,k(m-1)\) for \(m≥1\). The rank of a leaf is the rank of its 1 in \(D\). Set \(c=1-min(s,0)\) and define the finite words \(W_0=1\) and \(Wⱼ₊₁=0W_j^k\) for \(j≥0\). Their lengths are \(L_j=1+k+⋯+k^j\). The known first-difference formula is \[D={cases} 1∏j≥0(0^s W_jᵏ⁻¹),&s≥0,\\ 1^c∏j≥0W_jᶜ⁽ᵏ⁻¹⁾,&s<0. {cases} \] Powers of words denote repeated concatenation, with zero copies giving the empty word, and the products concatenate blocks in order of increasing \(j\). Thus \(as,k(m)\) counts the ones in the first \(m\) positions. Ruskey and Deugau, Theorem 5, equations (11) and (13) Ruskey and Deugau asked for a restricted-composition interpretation covering every negative shift. For \(s<0\), put \(r=c(k-1)\). For every integer \(n≥1\), \(as,k(n)\) counts the following ordered lists of positive integers summing to \(n\). Include the one-part composition \((n)\) and every two-part composition with first part in \(\{1,…,ck-1\}\). For each integer \(j≥1\), include compositions of length \(j+2\) whose first part is \(c(L_j-j)+qL_j\) for an integer \(0≤ q<r\). For each \(i=1,…,j\), part \(i+1\) is \(1+b_iLᵢ₋₁\) for an integer \(0≤ b_i<k\). The last part is any positive integer that brings the total to \(n\). The first part at length \(j+2\) identifies the copy of \(W_j\), and the next \(j\) parts identify successive choices inside that copy. If these first \(j+1\) parts sum to \(p-1\), the final part is \(n-p+1\). Its positivity selects precisely the positions \(p≤ n\). For example, \(k=2\), \(s=-1\) and \(n=7\) give six compositions: \((7)\), \((1,6)\), \((2,5)\), \((3,4)\), \((4,1,2)\) and \((4,2,1)\). Ruskey and Deugau, §9, third question, p. 34 The fourth question in §9 asks how the zero-shift Cloitre–Sloane recurrence extends to nonzero shifts. Let \(b_s(n)\) be the position of the \(n\)-th zero in \(D\), for the fixed base \(k\), and set \(t=max(s,0)\). The seeds for all integer shifts are \[b_s(n)=n+1(1≤ n≤ t), b_s(t+1)=t+kc+1. \] For every integer \(n≥ t+2\), use only previously generated terms: \[b_s(n)=b_s(n-1)+{cases} 1,&n-s∈\{b_s(1),…,b_s(n-1)\},\\ k+1,&n-s∉\{b_s(1),…,b_s(n-1)\}. {cases} b_s(n)=n+k as,k(n-s)(n≥ t+1). \] To recover \(as,k(m)\), use \((b_s(m+s)-(m+s))/k\) for every integer \(m≥1\) when \(s≥0\), and for \(m≥ c\) when \(s<0\). For negative shifts the remaining values are \(as,k(m)=m\) for \(1≤ m<c\). Ruskey and Deugau, §9, fourth question, p. 34 The two possible jumps are the lengths of the substitution images \(0↦0\) and \(1↦01^k\). Applying the substitution to the word after its first \(c\) symbols gives the suffix of \(D\) after the prefix \(1\,0^s\,1ᵏ⁻¹\) for \(s≥0\), or after \(1ᵏᶜ\) for \(s<0\). Each image starts with its only zero, so the intervening image length determines the next jump. The positive shift supplies the initial list of \(s\) zeros and determines when the membership test begins. At \(s=0\) the rule recovers the published recurrence and rank identity. For \(s<0\), \(b_s(n)+s\) is the previously studied unseeded membership sequence with first term \(c(k-1)+2\), testing membership of \(n\) itself. Ruskey and Deugau, §7, equation (39) and Theorem 31, Fokkink and Joshi, Definition 1 and Lemmas 5 and 9, Cloitre, §4, Propositions 4.2 and 4.3 In §6.6, the authors asked how to extend the successor-edit interpretation from \(s=-1\) to other shifts. Let \(ps,k(n)\) be the position of the \(n\)-th 1 in \(D\), and let \(G(n)=ps,k(n+1)-ps,k(n)\). The published arithmetic formulas give, for every integer \(n≥1\), \[G(n)={cases} 1+#\{j≥1:k^j n\}+s\,1_{\{n=k^e for some integer e≥0\}},&s≥0,\\ 1+#\{j≥1:k^j n,\ n≥ ck^j\},&s<0. {cases} \] Here \(#\) counts integer exponents, \(\) means divisibility and the indicator is 1 when its condition holds and 0 otherwise. These formulas compute a gap directly from its leaf rank, including the step at \(n=1\). Ruskey and Deugau, §6.6, successor question, p. 29, Corollary 22 and Theorem 29, gap formulas The edit interpretation gives exactly \(G(n)\) as the minimum number of edits from the record for \(n-1\) to the record for \(n\). Digit columns are aligned from the least significant end. Overwriting an occupied digit, deleting the leading column or creating one new leading column with any digit each costs one edit. Lower columns stay fixed in place, and intermediate records may have leading zeros. For \(s≥0\), use the ordinary base-\(k\) digits, with an empty record for zero. Add \(s\) independent markers on separate tracks, each at the boundary just beyond the most significant column in the endpoint records, or at width zero for the empty record. Moving one marker by one column costs one edit. The ordinary carry determines the digit edits, and each increase in width moves all \(s\) markers one column. For \(s<0\), encode each integer \(N≥0\) using \(d\) low columns, where \(d\) is the largest integer \(e≥1\) with \( N/k^e≥ c\), or zero if none exists. Retain all \(d\) low base-\(k\) digits, including zeros, and store \(h= N/k^d\) as one symbol from \(\{0,…,kc-1\}\) in a separate head register. Overwriting that register costs one edit. This record uses no markers. The head absorbs a carry past the low columns, and the width grows at \(N=ck^j\) for integers \(j≥1\). For example, with \(k=2\) and \(s=-2\), the step from 5 to 6 changes the head from 5 to 3 and creates one low column containing 0, for a cost of two edits. Each changed or new digit column requires its own edit, as does a changed head. Each marker must travel the full distance between its endpoints. These costs can all be attained together, so the minimum holds even when intermediate records lie outside the endpoint encoding rules.
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: