完美的项链
Perfect Necklaces
摘要:
我们引入德布鲁因的一个变体,我们称之为完美的项链。固定一个有限的字母表。回想一下,单词是字母表中符号的有限序列,而循环单词或项链是单词在旋转下的等价类。对于正整数k和n,我们称项链(k,n)-完美,如果每个长度为k的字在起始点上的任何约定都不同的模n的位置上正好出现n次。我们称一条项链是完美的,如果它是(k,k)-完美的某个k。证明了每个差与字母表大小互质的等差数列诱导出一条完美项链。特别是,所有相同长度的单词按照词典顺序连接起来,会产生一条完美的项链。对于每个k和n,我们给出了(k,n)-完美项链个数的闭公式。最后,我们证明,每一个无限的周期序列,其周期符合一些(k,n)完美的项链,任何n,通过所有的统计测试的大小为k,但不是所有更大的测试。这最后一个定理激发了这项工作。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。