login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A169675 Lexicographically earliest de Bruijn sequence for n = 3 and k = 2. 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, 1, 0, 1, 1, 1, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

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

LINKS

Table of n, a(n) for n=0..98.

Frank Ruskey, Generate Necklaces

Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 1).

FORMULA

a(n)=(1/56)*{8*(n mod 8)+[(n+1) mod 8]+[(n+2) mod 8]-6*[(n+3) mod 8]+8*[(n+4) mod 8]-6*[(n+5) mod 8]+[(n+6) mod 8]+[(n+7) mod 8]}, with n>=0 [From Paolo P. Lava, Apr 12 2010]

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 *)

CROSSREFS

Cf. A021913, A080679, A169672, A169671, A169673, A169674.

Sequence in context: A151774 A095792 A288381 * A093385 A252743 A135136

Adjacent sequences:  A169672 A169673 A169674 * A169676 A169677 A169678

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Apr 11 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 29 21:32 EST 2021. Contains 349416 sequences. (Running on oeis4.)