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.

A169675 Lexicographically earliest de Bruijn sequence for n = 3 and k = 2.

Original entry on oeis.org

0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0
Offset: 0

Views

Author

N. J. A. Sloane, Apr 11 2010

Keywords

Comments

The lexicographically earliest de Bruijn sequence for n = 2 and k = 2 is 0011 repeated (see A021913).

Examples

			Periodic with period 8, the period being 00010111.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 1},{0, 0, 0, 1, 0, 1, 1, 1},99] (* Ray Chandler, Aug 25 2015 *)
    PadRight[{},120,{0,0,0,1,0,1,1,1}] (* Harvey P. Dale, Aug 01 2024 *)