Each positive increasing integer sequence can serve as a numeration system to represent each non-negative integer by means of suitable coefficient strings. We analyse the case of k-generalized Fibonacci sequences leading to the binary strings avoiding k consecutive ones. We prove a bijection between the set of such strings of length n and the set of the permutations of length n+1 avoiding a suitable set of permutation patterns. Finally, basing on a known Gray code for those strings, we define a Gray code for this set of permutations, where two consecutive permutations differ by an adjacent transposition.
Strings from linear recurrences and permutations: A Gray code / Barcucci, Elena; Bernini, Antonio; Pinzani, Renzo. - In: THEORETICAL COMPUTER SCIENCE. - ISSN 0304-3975. - STAMPA. - 938:(2022), pp. 112-120. [10.1016/j.tcs.2022.10.012]
Strings from linear recurrences and permutations: A Gray code
Barcucci, Elena;Bernini, Antonio
;Pinzani, Renzo
2022
Abstract
Each positive increasing integer sequence can serve as a numeration system to represent each non-negative integer by means of suitable coefficient strings. We analyse the case of k-generalized Fibonacci sequences leading to the binary strings avoiding k consecutive ones. We prove a bijection between the set of such strings of length n and the set of the permutations of length n+1 avoiding a suitable set of permutation patterns. Finally, basing on a known Gray code for those strings, we define a Gray code for this set of permutations, where two consecutive permutations differ by an adjacent transposition.File | Dimensione | Formato | |
---|---|---|---|
GC_for_prmutations_PREPRINT.pdf
Accesso chiuso
Tipologia:
Preprint (Submitted version)
Licenza:
Tutti i diritti riservati
Dimensione
312.51 kB
Formato
Adobe PDF
|
312.51 kB | Adobe PDF | Richiedi una copia |
I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.