Multi-Shift de Bruijn Sequence
Abstract
A (non-circular) de Bruijn sequence w of order n is a word such that every word of length n appears exactly once in w as a factor. In this paper, we generalize the concept to a multi-shift setting: a multi-shift de Bruijn sequence tau(m,n) of shift m and order n is a word such that every word of length n appears exactly once in w as a factor that starts at index im+1 for some integer i>=0. We show the number of the multi-shift de Bruijn sequence tau(m,n) is (a^n)!a^{(m-n)(a^n-1)} for 1<=n<=m and is (a^m!)^{a^{n-m}} for 1<=m<=n, where a=|Sigma|. We provide two algorithms for generating a tau(m,n). The multi-shift de Bruijn sequence is important in solving the Frobenius problem in a free monoid.
- Publication:
-
arXiv e-prints
- Pub Date:
- April 2010
- DOI:
- 10.48550/arXiv.1004.1216
- arXiv:
- arXiv:1004.1216
- Bibcode:
- 2010arXiv1004.1216X
- Keywords:
-
- Computer Science - Discrete Mathematics;
- 68R15;
- G.2.1;
- F.2.2
- E-Print:
- 9 pages