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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145117 Numbers of length n binary words with fewer than 9 0-digits between any pair of consecutive 1-digits. 1
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2047, 4091, 8175, 16335, 32639, 65215, 130303, 260351, 520191, 1039359, 2076672, 4149254, 8290334, 16564334, 33096030, 66126846, 132123390, 263986430, 527452670, 1053865982, 2105655293 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

FORMULA

G.f.: (1-x+x^10)/(1-3*x+2*x^2+x^10-x^11).

EXAMPLE

a(11) = 2047 = 2^11-1, because 10000000001 is the only binary word of length 11 with not less than 9 0-digits between any pair of consecutive 1-digits.

MAPLE

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

CROSSREFS

9th column of A145111.

Sequence in context: A113010 A056767 A008863 * A172320 A168082 A168083

Adjacent sequences:  A145114 A145115 A145116 * A145118 A145119 A145120

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 01:31 EST 2012. Contains 205860 sequences.