The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108947 Triangle: T(n,k) is the partition function G(n-k,k). 1
1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 2, 1, 1, 0, 1, 4, 2, 1, 1, 0, 1, 10, 5, 2, 1, 1, 0, 1, 26, 14, 5, 2, 1, 1, 0, 1, 76, 46, 15, 5, 2, 1, 1, 0, 1, 232, 166, 51, 15, 5, 2, 1, 1, 0, 1, 764, 652, 196, 52, 15, 5, 2, 1, 1, 0, 1, 2620, 2780, 827, 202, 52, 15, 5, 2, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,13
COMMENTS
See entries for A001680 and A001681 for appropriate references.
LINKS
FORMULA
E.g.f. for sequence G(0, k), G(1, k), ... is exp(x + (1/2)*x^2 + ... + (1/k!)*x^k).
MAPLE
G:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
add(G(n-i*j, i-1)*n!/i!^j/(n-i*j)!/j!, j=0..n/i)))
end:
T:= (n, k)-> G(n-k, k):
seq(seq(T(n, k), k=0..n), n=0..12); # Alois P. Heinz, Sep 15 2013
MATHEMATICA
G[n_, i_] := G[n, i] = If[n == 0, 1, If[i<1, 0, Sum[G[n-i*j, i-1]*n!/i!^j/(n-i*j)! /j!, {j, 0, n/i}]]]; T[n_, k_] := G[n-k, k]; Table[Table[T[n, k], {k, 0, n}], {n, 0, 12}] // Flatten (* Jean-François Alcover, Feb 24 2015, after Alois P. Heinz *)
CROSSREFS
Cf. A000110. First differences of a sequence G(k, 0), G(k, 1), ... give a row of A080510 (e.g., 0, 1, 10, 14, 15, 15, ... gives 1, 9, 4, 1).
Sequence in context: A144903 A356266 A108934 * A338859 A152459 A275784
KEYWORD
easy,nonn,tabl
AUTHOR
Paul Boddington, Jul 21 2005
EXTENSIONS
One term corrected by Alois P. Heinz, Sep 15 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 23:22 EDT 2024. Contains 372535 sequences. (Running on oeis4.)