Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118869
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118869 Triangle read by rows: T(n,k) is the number of binary sequences of length n containing k subsequences 0101 (n,k>=0). +0
3
1, 2, 4, 8, 15, 1, 28, 4, 53, 10, 1, 100, 24, 4, 188, 57, 10, 1, 354, 128, 26, 4, 667, 278, 68, 10, 1, 1256, 596, 164, 28, 4, 2365, 1260, 381, 79, 10, 1, 4454, 2628, 876, 200, 30, 4, 8388, 5430, 1977, 488, 90, 10, 1, 15796, 11136, 4380, 1184, 236, 32, 4, 29747, 22683 (list; graph; listen)
OFFSET

0,2

COMMENT

Row n has floor(n/2) terms (n>=2). Sum of entries in row n is 2^n (A000079). T(n,0)=A118870(n). T(n,1)=A118871(n). Sum(k*T(n,k),k=0..n-1)=(n-3)*2^(n-4) (A001787).

FORMULA

G.f.=G(t,z)=[1+(1-t)z^2]/[1-2z+(1-t)z^2*(1-z)^2].

EXAMPLE

T(7,2)=4 because we have 0101010,0101011,0010101, and 1010101.

Triangle starts:

1;

2;

4;

8;

15,1;

28,4;

53,10,1;

MAPLE

G:=(1+(1-t)*z^2)/(1-2*z+(1-t)*z^2*(1-z)^2): Gser:=simplify(series(G, z=0, 20)): P[0]:=1: for n from 1 to 16 do P[n]:=coeff(Gser, z^n) od: 1; 2; for n from 1 to 16 do seq(coeff(P[n], t, j), j=0..floor(n/2)-1) od; # yields sequence in triangular form

CROSSREFS

Cf. A000079, A118870, A118871, A001787, A118429.

Sequence in context: A028398 A118884 A118890 this_sequence A118897 A098056 A097100

Adjacent sequences: A118866 A118867 A118868 this_sequence A118870 A118871 A118872

KEYWORD

nonn,tabf

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), May 03 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research