Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A144385
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A144385 Triangle read by rows: T(n,k) is the number of partitions of [1, 2, ..., k] into exactly n blocks, each of size 1, 2 or 3 (n >= 0, 0 <= k <= 3n). +0
14
1, 0, 1, 1, 1, 0, 0, 1, 3, 7, 10, 10, 0, 0, 0, 1, 6, 25, 75, 175, 280, 280, 0, 0, 0, 0, 1, 10, 65, 315, 1225, 3780, 9100, 15400, 15400, 0, 0, 0, 0, 0, 1, 15, 140, 980, 5565, 26145, 102025, 323400, 800800, 1401400, 1401400, 0, 0, 0, 0, 0, 0, 1, 21, 266, 2520, 19425, 125895, 695695, 3273270, 12962950, 42042000, 106506400, 190590400, 190590400 (list; graph; listen)
OFFSET

0,9

COMMENT

Row n has 3n+1 entries.

LINKS

David Applegate and N. J. A. Sloane, The Gift Exchange Problem (arXiv:0907.0513, 2009)

FORMULA

T(n, k) = T(n - 1, k - 1) + (k - 1)*T(n - 1, k - 2) + (1/2)*(k - 1)*(k - 2)*T(n - 1, k - 3).

E.g.f.: Sum_{ n >= 0, k >= 0 } T(n, k) y^n x^k / k! = exp( y*(x+x^2/2+x^3/6) ). That is, the coefficient of y^n is the e.g.f. for row n. E.g. the e.g.f. for row 2 is (1/2)*(x+x^2/2+x^3/6)^2 = 1*x^2/2! + 3*x^3/3! + 7*x^4/4! + 10*x^5/5! + 10*x^6/6!.

EXAMPLE

Triangle begins:

[1]

[0, 1, 1, 1]

[0, 0, 1, 3, 7, 10, 10]

[0, 0, 0, 1, 6, 25, 75, 175, 280, 280]

[0, 0, 0, 0, 1, 10, 65, 315, 1225, 3780, 9100, 15400, 15400]

[0, 0, 0, 0, 0, 1, 15, 140, 980, 5565, 26145, 102025, 323400, 800800, 1401400, 1401400]

MAPLE

T := proc(n, k)

option remember;

if n = k then 1;

elif k < n then 0;

elif n < 1 then 0;

else T(n - 1, k - 1) + (k - 1)*T(n - 1, k - 2) + 1/2*(k - 1)*(k - 2)*T(n - 1, k - 3);

end if;

end proc;

for n from 0 to 12 do lprint([seq(T(n, k), k=0..3*n)]); od:

CROSSREFS

See A144399, A144402, A144417, A111246 for other versions of this triangle.

Column sums give A001680, row sums give A144416. Taking last nonzero entry in each row gives A025035.

Diagonals include A000217, A001296, A027778, A144516; also A025035.

A generalization of the triangle in A144331 (and in several other entries).

Cf. A144643.

Sequence in context: A127789 A112105 A065501 this_sequence A144399 A138935 A030325

Adjacent sequences: A144382 A144383 A144384 this_sequence A144386 A144387 A144388

KEYWORD

nonn,tabf

AUTHOR

David Applegate and N. J. A. Sloane (njas(AT)research.att.com), Dec 07 2008, Dec 17 2008

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 24 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research