OFFSET
0,3
COMMENTS
The blocks are ordered with increasing least elements.
a(0) = 1 by convention.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..466
Wikipedia, Partition of a set
EXAMPLE
a(1) = 1: 1|2.
a(2) = 4: 12|34, 13|24, 14|23, 1|2|34.
a(3) = 20: 123|456, 124|356, 125|346, 126|345, 12|3|456, 134|256, 135|246, 136|245, 13|2|456, 145|236, 146|235, 156|234, 1|23|456, 14|2|356, 1|24|356, 15|2|346, 1|25|346, 16|2|345, 1|26|345, 1|2|3|456.
MAPLE
b:= proc(n, k) option remember; `if`(n=k, 1,
add(b(n-j, k)*binomial(n-1, j-1), j=1..n-k))
end:
a:= n-> b(2*n, n):
seq(a(n), n=0..25);
MATHEMATICA
b[n_, k_] := b[n, k] = If[n == k, 1, Sum[b[n - j, k]*Binomial[n - 1, j - 1], {j, 1, n - k}]];
a[n_] := b[2*n, n];
Table[a[n], {n, 0, 25}] (* Jean-François Alcover, May 20 2018, translated from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jan 08 2018
STATUS
approved