login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145114 Numbers of length n binary words with fewer than 6 0-digits between any pair of consecutive 1-digits. 1
1, 2, 4, 8, 16, 32, 64, 128, 255, 507, 1007, 1999, 3967, 7871, 15615, 30976, 61446, 121886, 241774, 479582, 951294, 1886974, 3742973, 7424501, 14727117, 29212461, 57945341, 114939389, 227991805, 452240638, 897056776, 1779386436, 3529560412 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

FORMULA

G.f.: (1-x+x^7)/(1-3*x+2*x^2+x^7-x^8).

EXAMPLE

a(8) = 255 = 2^8-1, because 10000001 is the only binary word of length 8 with not less than 6 0-digits between any pair of consecutive 1-digits.

MAPLE

a:= n-> (Matrix([[2, 1$7]]). Matrix(8, (i, j)-> if i=j-1 then 1 elif j=1 then [3, -2, 0$4, -1, 1][i] else 0 fi)^n)[1, 2]: seq (a(n), n=0..35);

CROSSREFS

6th column of A145111.

Sequence in context: A089889 A054045 A008860 * A172317 A079262 A194631

Adjacent sequences:  A145111 A145112 A145113 * A145115 A145116 A145117

KEYWORD

nonn

AUTHOR

Alois P. Heinz (heinz(AT)hs-heilbronn.de), Oct 02 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 14:07 EST 2012. Contains 205930 sequences.