On a combinatorial generation problem of Knuth

From MaRDI portal
Publication:5080484

DOI10.1137/20M1377394zbMATH Open1490.05148arXiv2007.07164OpenAlexW3115943440MaRDI QIDQ5080484FDOQ5080484


Authors: Arturo I. Merino, Ondřej Mička, Torsten Mütze Edit this on Wikidata


Publication date: 31 May 2022

Published in: SIAM Journal on Computing (Search for Journal in Brave)

Abstract: The well-known middle levels conjecture asserts that for every integer ngeq1, all binary strings of length 2(n+1) with exactly n+1 many 0s and 1s can be ordered cyclically so that any two consecutive strings differ in swapping the first bit with a complementary bit at some later position. In his book `The Art of Computer Programming Vol. 4A' Knuth raised a stronger form of this conjecture (Problem 56 in Chapter 7, Section 2.1.3), which requires that the sequence of positions with which the first bit is swapped in each step of such an ordering has 2n+1 blocks of the same length, and each block is obtained by adding s=1 (modulo 2n+1) to the previous block. In this work, we prove Knuth's conjecture in a more general form, allowing for arbitrary shifts sgeq1 that are coprime to 2n+1. We also present an algorithm to compute this ordering, generating each new bitstring in mathcalO(n) time, using mathcalO(n) memory in total.


Full work available at URL: https://arxiv.org/abs/2007.07164




Recommendations




Cites Work


Cited In (2)

Uses Software





This page was built for publication: On a combinatorial generation problem of Knuth

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5080484)