Generalized De Bruijn Words, Invertible Necklaces, and the Burrows-Wheeler Transform
Abstract
We define generalized de Bruijn words as those words having a Burrows--Wheeler transform that is a concatenation of permutations of the alphabet.
We show that generalized de Bruijn words are in one-to-one correspondence with Hamiltonian cycles in the generalized de Bruijn graphs, introduced in the early 1980s in the context of network design.
We prove that generalized de Bruijn words retain the asymptotically maximal factor complexity of ordinary de Bruijn words over a fixed alphabet.
We then use this class to construct an infinite binary family on which the Burrows--Wheeler transform reduces this complexity from asymptotically maximal to the constant $2$.
In particular, this shows that the BWT can substantially improve dictionary compressibility.
When the size of the alphabet is a prime $p$, we define invertible necklaces as those whose BWT-matrix is nonsingular.
We show that invertible necklaces of length $n$ correspond to normal bases of the finite field $\mathbb{F}_{p^n}$, and that they form an abelian group isomorphic to the Reutenauer group $RG_p^n$.
Using known results in abstract algebra, we can establish a connection between generalized de Bruijn words and invertible necklaces.
In particular, we highlight a correspondence between binary de Bruijn words of order $d+1$, binary necklaces of length $2^{d}$ having an odd number of $1$'s, invertible BWT matrices of size $2^{d}\times 2^{d}$, and normal bases of the finite field $\mathbb{F}_{2^{2^{d}}}$.