Generating key points…
Answers are grounded in this paper and cite their sources.
Fici and Gabory asked whether three equinumerous classes can be put into an efficiently computable correspondence. For every integer \(d≥1\), put \(N=2^d\). The classes are binary necklaces of length \(N\) with an odd number of ones, binary de Bruijn cycles of order \(d+1\), and unordered normal bases of \( F2^N\) over \( F_2\). A necklace identifies words that differ by rotation. A de Bruijn cycle has length \(2N\) and contains each binary word of length \(d+1\) exactly once as a cyclic window. The new result gives mutually inverse algorithms between the two classes of circular words by matching necklace coordinates to integer divisor classes and then to the last exits of a graph tour. Composing these algorithms with the established normal-coordinate correspondence gives maps in both directions between any two of the three classes. Current arXiv v4, §6 Remark 30, historical arXiv v2, §5 Theorem 24 and Remark 25, MFCS 2025 proceedings, p. 48:16, Theorem 26 and Remark 27. For a binary word \(w=(w_0,…,wN-1)\), write \(W(x)=∑ⱼ₌₀N-1w_jx^j\) in \( F_2[x]/(x^N-1)\) and set \(z=x+1\), so \(z^N=0\). Odd weight gives constant term 1 in the \(z\)-basis. For each positive odd \(i<N\), let \(B(i)\) be the largest power of two at most \(i\). There is a unique expansion \[W(x)=∏_{{1≤ i<N\\ i\,odd}}(1+z^i)a_i, 0≤ a_i<N/B(i). \] Start with the product 1 and inspect degrees \(j=1,…,N-1\) in order. Multiply the current product by \(1+z^j\) if its coefficient at degree \(j\) differs from that of \(W\). For \(j=i2^k\) with \(i\) odd, this sets bit \(k\) of \(a_i\). Rotation multiplies by a power of \(x=1+z\) and changes only \(a_1\) modulo \(N\). The other exponents therefore specify the necklace. To recover a representative, set \(a_1=0\), form the product and read its coefficients in the \(x\)-basis. Use the directed graph with vertices \(0,…,N-1\) and an outgoing edge labelled \(s\) from each \(v\) to \(2v+s N\) for each \(s∈\{0,1\}\). The root is 0. For the integer calculation, work in \( Z[x]/(x^N-1)\), set \(e_v=x^v-1\) and put \(f_i=e_i-ei-B(i)\) for odd \(3≤ i<N\). Use the necklace exponents with these indices to form \[E=λ e_1+∑_{{3≤ i<N\\,odd}}a_i f_i, λ=[-∑_{{3≤ i<N\\,odd}}B(i)a_i]_N, \] where \([·]_N\) takes the least non-negative residue. If \(E=∑ᵥ₌₀N-1c_vx^v\) is taken in degree less than \(N\), then \(E(1)=0\) and \(m=∑_v vc_v\) is divisible by \(N\). The required signed integer divisor, a coefficient vector of total sum zero, is \[D_E=E/x-1-m/N(1+x+⋯+xN-1), \] where the division uses the integer polynomial representative of \(E\). Divisors are taken modulo integer combinations of \(L_v=2x^v-x²ᵛ-x²ᵛ⁺¹\), with exponents reduced modulo \(N\). Multiplication by \(x-1\) identifies this quotient with the classes of \(E\) satisfying the moment condition in the group with relations \(2e_v=e2v N\). The specified exponents turn the previously known abstract group correspondence into a calculation on individual words. Chan–Hollmann–Pasechnik, §§2, 4 and 7. To obtain a tree directed towards 0, start with the edge labelled 0 selected at every non-root vertex. Let \(A'\) count edges between non-root vertices, with rows indexed by sources and columns by destinations. With \(I\) the identity matrix and \(1\) the row of ones, form the positive row vector \(b=1(2^d I-(A')^d)\). It is an integer combination of the rows of \(2I-A'\), so adding it preserves the divisor class after deleting the root coordinate. Write \((D_E)_v\) for the coefficient at vertex \(v\) and set \[C=max(0,-minv≠0(D_E)_v), σ_v=(D_E)_v+Cb_v(v≠0). \] Place \(σ_v\) chips at each non-root vertex. Route one chip at a time, in increasing order of source index, by toggling the selected edge at the chip's current vertex and then following the newly selected edge. Stop the chip when it reaches 0. The final selected bits \(r_v\) form a rooted tree and depend only on the divisor class. The total number of departures is at most \(2N∑v≠0σ_v+(N-1)(2N+1)\), which is \(O(N^3d^2)\) for these inputs. Holroyd and colleagues, §3, Lemmas 3.12–3.17. To turn the tree into a de Bruijn cycle, start at 0 and use its outgoing edges in order 0, then 1. At each non-root vertex \(v\), use \(1-r_v\) on the first departure and \(r_v\) on the second. This walk uses each directed edge exactly once. Read its appended bits as a circular word. To reverse the operation, read the consecutive length-\((d+1)\) windows as edges, with the first \(d\) bits giving the tail and the final bit giving the edge label. Start the tour at the unique all-zero window. The last departure from each non-root vertex gives \(r_v\). Form \[D(r)=∑_{{1≤ v<N_v=1}}(x^v-x(2v+1) N), E=(x-1)D(r){x^N-1}. \] To recover the exponents, express \(E\) in the \(e_v\) basis and replace each even positive subscript \(v=2^ki\), with \(i\) odd, by \(e_v=2^ke_i\). Process the odd subscripts \(i≥3\) in descending order. Replace \(e_i\) by \(f_i+ei-B(i)\), recording its coefficient modulo \(N/B(i)\) as \(a_i\) and passing the full coefficient down to \(ei-B(i)\). Reconstruct the necklace from the product with \(a_1=0\). This inverse uses no chip routing. Both directions take time polynomial in the explicit word length. Van Aardenne–Ehrenfest and de Bruijn, *Circuits and Trees in Oriented Linear Graphs*, PDF p. 6. For the normal-basis correspondence, fix a representation of \(K= F2^N\) and a trace-one element \(α\). Here \(F(t)=t^2\) is Frobenius and \(Tr(t)=∑ⱼ₌₀N-1F^j(t)\) is the trace to \( F_2\). In this degree a field element generates a normal basis precisely when its trace is one. Such an \(α\) can be found by testing the elements of a fixed vector-space basis. If a representation of \(K\) is needed, start from \( F_2\) and perform \(d\) quadratic extensions, each time choosing an element \(a\) of trace one to \( F_2\) in the current field and adjoining a root of \(X^2+X+a\). Given an odd word, compute \(β=∑ⱼ₌₀N-1w_jF^j(α)\) and output the unordered set \(\{F^j(β):0≤ j<N\}\). Its elements form a basis over \( F_2\). Conversely, express any member of the supplied normal basis in the fixed basis \((F^j(α))ⱼ₌₀N-1\). Its coefficients form an odd word, and choosing another member only rotates the word. The field computations take time polynomial in \(N\), and listing the basis in binary field coordinates uses \(N^2\) bits. Arndt, *Matters Computational*, §§42.6.3.2–3, Fici–Gabory v4, §5. Every length-\(N\) odd word has \(N\) distinct rotations. Drawing a uniformly random odd word and applying the maps therefore gives a uniform draw from either the de Bruijn cycles modulo rotation or the unordered normal bases. The interchange applies to the ordinary binary classes at the stated powers of two.
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: