Gray codes for Fibonacci q-decreasing words

被引:5
作者
Baril, Jean-Luc [1 ]
Kirgizov, Sergey [1 ]
Vajnovszki, Vincent [1 ]
机构
[1] Univ Bourgogne Franche Comte, LIB, BP 47 870, F-21078 Dijon, France
关键词
(Generalized) Fibonacci; Fibonacci cubes/graphs; Popularity/frequency; Exhaustive generation; Gray codes;
D O I
10.1016/j.tcs.2022.06.003
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A length nbinary word is q-decreasing, q >= 1, if every of its maximal factors of the form 0(a)1(b) satisfies a = 0 or q . a > b. In particular, in 1-decreasing words every run of 0s is immediately followed by a strictly shorter run of 1s. We show constructively that these words are in bijection with binary words having no occurrences of 1(q+1), and thus they are enumerated by the (q + 1)-generalized Fibonacci numbers. We give some enumerative results and reveal similarities between q-decreasing words and binary words having no occurrences of 1(q+1) in terms of the frequency of 1-bits. In the second part of our paper, we provide an efficient exhaustive generating algorithm for q-decreasing words in lexicographic order, for any q >= 1, show the existence of 3-Gray codes and explain how a generating algorithm for these Gray codes can be obtained. Moreover, we give the construction of a more restrictive 1-Gray code for 1-decreasing words, which in particular settles a conjecture stated recently in the context of interconnection networks by Egecioglu and Irsic. (c) 2022 Elsevier B.V. All rights reserved.
引用
收藏
页码:120 / 132
页数:13
相关论文
共 29 条
[1]  
[Anonymous], 2003, Combinatorial Generation, Working Version (1j)
[2]  
Arndt J., 2010, Matters computational: Ideas, algorithms, source code
[3]  
Baril JL, 2022, Arxiv, DOI arXiv:2106.13550
[4]   Minimal change list for Lucas strings and some graph theoretic consequences [J].
Baril, JL ;
Vajnovszki, V .
THEORETICAL COMPUTER SCIENCE, 2005, 346 (2-3) :189-199
[5]  
Bernini A, 2015, ACTA INFORM, V52, P573, DOI 10.1007/s00236-015-0225-2
[6]   Restricted Binary Strings and Generalized Fibonacci Numbers [J].
Bernini, Antonio .
CELLULAR AUTOMATA AND DISCRETE COMPLEX SYSTEMS (AUTOMATA 2017), 2017, 10248 :32-43
[7]   The origins of combinatorics on words [J].
Berstel, Jean ;
Perrin, Dominique .
EUROPEAN JOURNAL OF COMBINATORICS, 2007, 28 (03) :996-1022
[8]  
Crochemore M., 2003, JEWELS STRINGOLOGY T
[9]   Fibonacci-run graphs II: Degree sequences [J].
Egecioglu, Omer ;
Irsic, Vesna .
DISCRETE APPLIED MATHEMATICS, 2021, 300 :56-71
[10]   Fibonacci-run graphs I: Basic properties [J].
Egecioglu, Omer ;
Irsic, Vesna .
DISCRETE APPLIED MATHEMATICS, 2021, 295 :70-84