Arbitrary-length analogs to de Bruijn sequences

08/17/2021
by   Abhinav Nellore, et al.
0

Let α be a length-L cyclic sequence of characters from a size-K alphabet 𝒜 such that the number of occurrences of any length-m string on 𝒜 as a substring of α is ⌊ L / K^m ⌋ or ⌈ L / K^m ⌉. When L = K^N for any positive integer N, α is a de Bruijn sequence of order N, and when L ≠ K^N, α shares many properties with de Bruijn sequences. We describe an algorithm that outputs some α for any combination of K ≥ 2 and L ≥ 1 in O(L) time using O(L log K) space. This algorithm extends Lempel's recursive construction of a binary de Bruijn sequence. An implementation written in Python is available at https://github.com/nelloreward/pkl.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/12/2020

String Attractors for Automatic Sequences

We show that it is decidable, given an automatic sequence s and a consta...
research
08/26/2021

Binary sequences with length n and nonlinear complexity not less than n/2

In this paper, the construction of finite-length binary sequences whose ...
research
05/05/2022

Cut-Down de Bruijn Sequences

A cut-down de Bruijn sequence is a cyclic string of length L, where 1 ≤ ...
research
07/06/2022

Improving Order with Queues

Patience Sort sorts a sequence of numbers with a minimal number of queue...
research
06/07/2022

Fast Exact String to D-Texts Alignments

In recent years, aligning a sequence to a pangenome has become a central...
research
12/17/2020

Classifying Sequences of Extreme Length with Constant Memory Applied to Malware Detection

Recent works within machine learning have been tackling inputs of ever-i...
research
10/14/2020

Fast Generation of Unlabelled Free Trees using Weight Sequences

In this paper, we introduce a new representation for ordered trees, the ...

Please sign up or login with your details

Forgot password? Click here to reset