Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118357
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118357 Triangle read by rows: T(n,k) is the number of ternary sequences of length n containing k subsequences 00 (n>=1, 0<=k<=n-1). +0
2
1, 3, 8, 1, 22, 4, 1, 60, 16, 4, 1, 164, 56, 18, 4, 1, 448, 188, 68, 20, 4, 1, 1224, 608, 248, 80, 22, 4, 1, 3344, 1920, 864, 312, 92, 24, 4, 1, 9136, 5952, 2928, 1152, 380, 104, 26, 4, 1, 24960, 18192, 9696, 4128, 1472, 452, 116, 28, 4, 1, 68192, 54976, 31536, 14400 (list; graph; listen)
OFFSET

1,2

COMMENT

Sum of entries in row n is 3^n (A000244). T(n,0)=A028859(n). T(n,1)=A073388(n-2). Sum(k*T(n,k),k=0..n-1)=(n-1)*3^(n-2) (A027471).

FORMULA

G.f.=G-1, where G=G(t,z)=[1+(1-t)z]/[1-(2+t)z-2(1-t)z^2]. G.f. of column k is z^(k+1)*(1-2z)^(k-1)/(1-2z-2z^2)^(k+1) (k>=1).

EXAMPLE

T(4,2)=2 because we have 0001, 0002, 1000, and 2000.

Triangle starts:

3;

8,1;

22,4,1;

60,16,4,1;

MAPLE

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

CROSSREFS

Cf. A000244, A028859, A073388, A027471.

Adjacent sequences: A118354 A118355 A118356 this_sequence A118358 A118359 A118360

Sequence in context: A132338 A132702 A022833 this_sequence A010627 A103712 A132019

KEYWORD

nonn,tabf

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), May 24 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 October 13 17:46 EDT 2008. Contains 145008 sequences.


AT&T Labs Research