Algorithms for De Bruijn Sequence Generation and Shift Register Applications

Summary

De Bruijn sequences are cyclic strings of length k^n over an alphabet of size k in which every possible substring of length n appears exactly once. Their generation has become a cornerstone of combinatorial design, cryptography and communications, owing to their optimal coverage of state space with minimal repetition. Classical constructions exploit recursive concatenation of Lyndon words, greedy algorithms and algebraic feedback mechanisms. In parallel, shift register implementations—particularly linear feedback shift registers (LFSRs) and their nonlinear counterparts (NLFSRs)—provide hardware-efficient realisations. The cycle joining method, for instance, merges disjoint LFSR cycles via successor rules to yield de Bruijn sequences with linear time and space overhead per bit. Extensions to multi de Bruijn sequences and orientable sequences broaden the framework to multi-set coverage and bidirectional uniqueness. Graph-theoretic approaches translate generation problems into Hamiltonian-cycle searches on suitably defined state graphs, linking sequence enumeration to spectral and algebraic properties of feedback functions. The resulting algorithms balance theoretical rigour—through explicit enumeration bounds and structural characterisations—with practical considerations such as circuit complexity, memory footprint and decoding ease.

Research from Nature Portfolio

No recent Nature Portfolio content available.

Algorithms for De Bruijn Sequence Generation and Shift Register Applications publication trend

The graph below shows the total number of articles in algorithms for de bruijn sequence generation and shift register applications across all publications each year (not limited to Nature Index journals).

Technical terms

De Bruijn sequence: A cyclic sequence in which every possible substring of length n over a k-symbol alphabet appears exactly once.

Shift register: A sequential logic circuit that shifts and feeds back bits according to a feedback function to generate pseudorandom sequences.

Linear feedback shift register (LFSR): A shift register whose new input bit is a linear function (XOR) of selected state bits, yielding efficient cycle structures.

Nonlinear feedback shift register (NLFSR): A register like an LFSR but using nonlinear functions in feedback, enabling richer cycle families.

Cycle joining method: A technique that links disjoint shift-register cycles via successor rules to form a single de Bruijn cycle.

Cross-join method: An approach that concatenates and interlinks multiple copies of a base sequence to generate multi de Bruijn sequences.

Lyndon word: A primitive string strictly smaller in lexicographic order than all its nontrivial rotations, used in greedy constructions of universal cycles.

Hamiltonian cycle: A closed path in a graph visiting each vertex exactly once, often used to model de Bruijn state transitions.

References

  1. Generalizing the Classic Greedy and Necklace Constructions of de Bruijn Sequences and Universal Cycles. The Electronic Journal of Combinatorics (2016).
  2. Multi de Bruijn Sequences and the Cross-Join Method. Mathematics (2023).
  3. An efficiently generated family of binary de Bruijn sequences. Discrete Mathematics (2021).
  4. Orientable sequences over non-binary alphabets. Cryptography and Communications (2024).
  5. A New Approach to Determine the Minimal Polynomials of Binary Modified de Bruijn Sequences. Mathematics (2022).

About these summaries

This Nature Research Intelligence Topic summary is created with the cited references and a large language model. We take care to ground generated text with facts, and have systems in place to gain human feedback on the overall quality of the process in line with our AI principles. We strive to create accurate and useful summaries for people unfamiliar with the research topic and that supports this goal. These pages are a beta release and will be updated as we learn how best to help people gain value from a research topic summary.

Nature Strategy Reports
Turn complex research questions into confident strategic decisions 

When you're under pressure to set direction, justify investment, or understand your competitive position, you need more than raw data — you need trusted insights you can act on.

  • Benchmark your performance against global peers using robust, methodologically sound analysis.

  • Combine quantitative metrics with qualitative expert insight to uncover strengths, gaps and emerging opportunities.

  • Gain tailored, decision-ready recommendations aligned to your strategic priorities.

Talk to us to learn more about our data dashboards and bespoke strategy reports.

Nature Masterclasses
Grow research skills, confidence and careers with training built for every stage of the research lifecycle.

Developed with Nature Portfolio journal Editors and internationally renowned experts. Discover three ways to learn:

  • Self-paced, online courses in convenient bite-sized units, covering key skills across scientific writing, publishing, grant writing, data analysis, and more.

  • Expert trainer-led workshops with hands-on exercises and real-time feedback across core research skills, delivered via interactive group sessions.

  • Editor-led workshops combining core principles in writing and publishing, personalised 1:1 feedback from Nature Portfolio Editors and hands-on exercises.

Explore course catalogues and workshop agendas, enquire about the options or request institutional pricing.