Generating key points…
Answers are grounded in this paper and cite their sources.
Research Problem 6 asks for a simple successor rule for the exact Greedy XNOR de Bruijn cycle. A binary de Bruijn cycle of order \(n\) contains each length-\(n\) binary word exactly once as a cyclic window. For every \(n≥3\), the next bit in the specified cycle can be computed from the current window and the seed alone, in \(O(n^4)\) operations on \(O(log n)\)-bit words and \(O(n^3)\) workspace. The result covers the website's seed, the first \(n\) bits of \(011011…\), and the two other seeds in the original construction, obtained by starting the same period-three word at \(110\) or \(101\). Research Problems, item 6 Wang, Wong and Zhang established that the greedy construction gives de Bruijn cycles for these seeds. It marks the seed as visited and, at a window \(x=x_0⋯ xₙ₋₁\), prefers to append \(1+xₙ₋₂+xₙ₋₁\) over \(xₙ₋₂+xₙ₋₁\) when choosing an unvisited next window. At \(10ⁿ⁻¹\), it forces the next bit to be \(0\). Here \(0^k\) denotes \(k\) consecutive zeros, and sums of bits are modulo two. The new rule reproduces every successor decided by that construction using only the current window and the seed phase. Prefer-XNOR definition · Wang–Wong–Zhang, Algorithm 1, Table 1 and Theorems 1–2 Set \(m=n-2\). Use the residual bits \(D_i(x)=x_i+xᵢ₊₁+xᵢ₊₂\) for \(0≤ i<m\) and the two-bit phase \(P(x)=(x_0,x_1)\). These recover the window via \(xᵢ₊₂=D_i(x)+x_i+xᵢ₊₁\). Define the raw shift \(R\) by dropping the first bit and appending \[xₙ₋₂+xₙ₋₁+D_0(x). \] This shift rotates the residual word one place to the left. Write \( x\) for \(x\) with its first bit flipped. The windows \(x\) and \( x\) share their suffix and differ only in the first residual bit. Each raw orbit has at most \(3m\) windows. The zero-residual orbits are the singleton \(0^n\) and the three-window orbit containing the seed \(I\). Exclude the singleton temporarily. The orbit containing \(I\) is the root. At any parent window \(z\) with \(D_0(z)=0\) and \(z≠0^n\), there is an eligible attachment to the orbit containing \( z\). That child has one more residual bit equal to \(1\). Its excursion starts at \(R( z)\), follows the raw shift and ends at \( z\), its exit. Start the root tour in the order \(R(I),R^2(I),I\). In increasing order of residual weight, the number of ones in the residual, each child attaches at the eligible site whose \(R(z)\) occurs earliest in the lower-weight tour. Its excursion goes immediately before \(R(z)\). This specifies which conjugate pairs exchange raw successors. To find the selected exit of a target orbit, start at the root with sites scanned from \(I\) in raw order. Take the first eligible site whose child can reach the target by a path of eligible attachments, allowing a path of length zero. In each entered child, scan from its entry up to its exit in raw order and repeat until the target is reached. The exit used to enter that orbit is the selected one. This search needs at most \(m\) attachment steps. For the reachability test, fix any residual word \(v\) of the target orbit and number its positions from \(0\) to \(m-1\). For a mask \(U\) of occupied positions, one complete raw rotation acts on the aligned phase by \[F_U(P)=A^mP+∑i∈ UAᵐ⁻¹⁻ⁱ(0,1), A(a,b)=(b,a+b). \] An eligible attachment adds a single occupied position while preserving the phase at the next aligned cut, where both phase letters lie in the common suffix. Since \(A^3\) is the identity, \(F_U\) depends on \(U\) only through the parities of the counts \(α_j=#\{i∈ U:i≡ j3\}\), for \(j=0,1,2\). Let \(β_j\) be the corresponding counts of ones in \(v\). For each vector \(α\) with \(0≤α_j≤β_j\), store the subset \(G_α\) of the four phases from which the target can be reached. Use \(F_α=F_U\) for any subset \(U\) of the ones of \(v\) with counts \(α\). At \(α=β\), list in \(G_β\) exactly the phases of target windows with residual \(v\), obtained by enumerating the target's raw orbit. Fill the remaining entries in decreasing total count. For each \(α\), take the union of \(Gα+e_j\) over classes with \(α_j<β_j\), where \(e_j\) increments count \(j\) by one. Include a phase in \(G_α\) exactly when zero, one, two or three applications of \(F_α\) take it into that union. A starting orbit reaches the target exactly when some raw window in it has its occupied residual positions contained in those of \(v\) and its phase lies in the corresponding \(G_α\). The table has \(4∏ⱼ₌₀^2(β_j+1)\) entries and is built once for the target. Each orbit query takes \(O(n^2)\) operations. For an input window \(x\), take the orbit of the member of \(\{x, x\}\) with first residual bit \(1\) as the target. If that member is the selected exit, return the last bit of \(R( x)\). Otherwise return the last bit of \(R(x)\). For the exceptional pair \(\{10ⁿ⁻¹,0^n\}\), always return the last bit of \(R( x)\). For example, at order \(5\) with the \(011\)-phase seed, the orbit of \(11111\) attaches at the parent window \(01111\), so the rule appends \(0\) after \(11111\) and \(1\) after \(01111\).
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: