Perfect Necklaces
@misc{lvarez2016perfect,
title = {Perfect Necklaces},
author = {Nicolás Álvarez and Verónica Becher and Pablo A. Ferrari and Sergio A. Yuhjtman},
year = {2016},
eprint = {1601.07975},
archivePrefix = {arXiv},
primaryClass = {math.CO},
url = {https://arxiv.org/abs/1601.07975}
}
Álvarez, N., Becher, V., Ferrari, P. A., & Yuhjtman, S. A. (2016). Perfect Necklaces [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1601.07975
ÁLVAREZ N, BECHER V, FERRARI PA, et al. Perfect Necklaces[EB/OL]. (2016-01-29)[2026-11-29]. https://arxiv.org/abs/1601.07975.
Abstract
We introduce a variant of de Bruijn words that we call perfect necklaces. Fix a finite alphabet. Recall that a word is a finite sequence of symbols in the alphabet and a circular word, or necklace, is the equivalence class of a word under rotations. For positive integers k and n, we call a necklace (k,n)-perfect if each word of length k occurs exactly n times at positions which are different modulo n for any convention on the starting point. We call a necklace perfect if it is (k,k)-perfect for some k. We prove that every arithmetic sequence with difference coprime with the alphabet size induces a perfect necklace. In particular, the concatenation of all words of the same length in lexicographic order yields a perfect necklace. For each k and n, we give a closed formula for the number of (k,n)-perfect necklaces. Finally, we prove that every infinite periodic sequence whose period coincides with some (k,n)-perfect necklace for any n, passes all statistical tests of size up to k, but not all larger tests. This last theorem motivated this work.