The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A169676 Lexicographically earliest de Bruijn sequence for n = 2 and k = 3. 1
 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2, 0, 0, 1, 0, 2, 1, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,5 LINKS Frank Ruskey, Generate Necklaces Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 1). FORMULA a(n) = (1/36)*{9*(n mod 9)+[(n+1) mod 9]-3*[(n+2) mod 9]+[(n+3) mod 9]+5*[(n+4) mod 9]-7*[(n+5) mod 9]+5*[(n+6) mod 9]-3*[(n+7) mod 9]+[(n+8) mod 9]}, with n>=0. [Paolo P. Lava, Apr 12 2010] EXAMPLE Periodic with period 9, the period being 001021122. MATHEMATICA LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 1}, {0, 0, 1, 0, 2, 1, 1, 2, 2}, 99] (* Ray Chandler, Aug 26 2015 *) CROSSREFS Cf. A021913, A169675, A080679, A169672, A169671, A169673, A169674. Sequence in context: A060256 A103899 A093324 * A034798 A225803 A349277 Adjacent sequences:  A169673 A169674 A169675 * A169677 A169678 A169679 KEYWORD nonn AUTHOR N. J. A. Sloane, Apr 11 2010 EXTENSIONS If someone would like to help, I would like to get analogous entries for k = 3 and n = 3,4,5,6; k = 4 and n = 2,3,4,5,6; k = 5 and n = 2,3,4,5,6; and n = 2 and k = 6,7,8,9, ... 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.

Last modified January 22 00:08 EST 2022. Contains 350481 sequences. (Running on oeis4.)