|
Search: id:A118871
|
|
|
| A118871 |
|
Number of binary sequences of length n containing exactly one subsequence 0101. |
|
+0 2
|
|
| 0, 0, 0, 0, 1, 4, 10, 24, 57, 128, 278, 596, 1260, 2628, 5430, 11136, 22683, 45936, 92574, 185764, 371347, 739840, 1469580, 2911224, 5753048, 11343800, 22322444, 43845120, 85973013, 168314604, 329041842, 642385248, 1252552077, 2439430272
(list; graph; listen)
|
|
|
OFFSET
|
0,6
|
|
|
COMMENT
|
With only two 0's at the beginning, the convolution of A112575 with itself. Column 1 of A118869.
|
|
FORMULA
|
G.f.=z^4/(1-2z+z^2-2z^3+z^4)^2.
|
|
EXAMPLE
|
a(5)=4 because we have 01010,01011,00101, and 10101.
|
|
MAPLE
|
g:=z^4/(1-2*z+z^2-2*z^3+z^4)^2: gser:=series(g, z=0, 40): seq(coeff(gser, z, n), n=0..35);
|
|
CROSSREFS
|
Cf. A118869, A118870, A112575, A118430.
Sequence in context: A087447 A129953 A079859 this_sequence A019494 A079844 A080617
Adjacent sequences: A118868 A118869 A118870 this_sequence A118872 A118873 A118874
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Emeric Deutsch (deutsch(AT)duke.poly.edu), May 03 2006
|
|
|
Search completed in 0.002 seconds
|