login
A169675
Lexicographically earliest de Bruijn sequence for n = 3 and k = 2.
6
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,1
COMMENTS
The lexicographically earliest de Bruijn sequence for n = 2 and k = 2 is 0011 repeated (see A021913).
EXAMPLE
Periodic with period 8, the period being 00010111.
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 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 11 2010
STATUS
approved