OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..50
Toufik Mansour and Augustine O. Munagi, Block-connected set partitions, European J. Combin., 31 (2010), 887-902.
Wikipedia, Partition of a set
FORMULA
a(n) = A185983(2n,n).
EXAMPLE
a(2) = 8: 1|234, 134|2, 124|3, 123|4, 12|34, 14|23, 1|24|3, 13|2|4.
MAPLE
b:= proc(n, i, m, t) option remember; `if`(n=0, x^(t+
`if`(i=m and m<>1, 1, 0)), add(expand(b(n-1, j,
max(m, j), `if`(j=m+1, 0, t+`if`(j=1 and i=m
and j<>m, 1, 0)))*`if`(j=i+1, x, 1)), j=1..m+1))
end:
a:= n-> coeff(b(2*n, 1, 0$2), x, n):
seq(a(n), n=0..20);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 09 2023
STATUS
approved