Indexed metadata

Gray Codes for A-Free Strings

Matthew B. Squire

Source record

Source: Crossref

Published: Feb 14, 1996

DOI: 10.37236/1241

Open original source ↗

Source abstract

For any q≥2q \geq 2, let Σq={0,…,q ⁣− ⁣1}\Sigma_{q}=\{0,\ldots,q\!-\!1\}, and fix a string AA over Σq\Sigma_{q}. The AA-free strings of length nn are the strings in Σqn\Sigma_{q}^n which do not contain AA as a contiguous substring. In this paper, we investigate the possibility of listing the AA-free strings of length nn so that successive strings differ in only one position, and by ±1\pm 1 in that position. Such a listing is a Gray code for the AA-free strings of length nn. We identify those qq and AA such that, for infinitely many n≥0n \geq 0, a Gray code for the AA-free strings of length nn is prohibited by a parity problem. Our parity argument uses techniques similar to those of Guibas and Odlyzko (Journal of Combinatorial Theory A 30 (1981) pp. 183–208) who enumerated the AA-free strings of length nn. When qq is even, we also give the complementary positive result: for those AA for which an infinite number of parity problems do not exist, we construct a Gray code for the AA-free strings of length nn for all n≥0n \geq 0.

Evidence graph

No public relationships recorded yet.

Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.