cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A166315 Lexicographically earliest binary de Bruijn sequences, B(2,n).

Original entry on oeis.org

1, 3, 23, 2479, 73743071, 151050438420815295, 1360791906900646753867474206897715071, 228824044090659455778900855050322128002759787305348791014476408721956007679
Offset: 1

Views

Author

Darse Billings, Oct 11 2009

Keywords

Comments

Term a(n) is a cyclical bit string of length 2^n, with every possible substring of length n occurring exactly once.
Mathworld says: "Every de Bruijn sequence corresponds to an Eulerian cycle on a de Bruijn graph. Surprisingly, it turns out that the lexicographic sequence of Lyndon words of lengths divisible by n gives the lexicographically earliest de Bruijn sequence (Ruskey). de Bruijn sequences can be generated by feedback shift registers (Golomb 1967; Ronse 1984; Skiena 1990, p. 196)."
Terms grow like Theta(2^(2^n)). - Darse Billings, Oct 18 2009

Examples

			Example: For n = 3, the first de Bruijn sequence, a(n) = B(2,3), is '00010111' = 23.
		

Crossrefs

Cf. A166316 (Lexicographically largest de Bruijn sequences (binary complements)).

Programs

  • Python
    # See Links.

Extensions

a(6)-a(8) from Darse Billings, Oct 18 2009