OFFSET
6,2
LINKS
A. O. Munagi, Set Partitions with Successions and Separations, IJMMS 2005:3 (2005), 451-463.
FORMULA
a(n) = binomial(n-1, 5)*Bell(n-6), the case r = 5 in the general case of r pairs: c(n, r) = binomial(n-1, r)*B(n-r-1).
Let A be the upper Hessenberg matrix of order n defined by: A[i,i-1]=-1, A[i,j]=binomial(j-1,i-1), (i<=j), and A[i,j]=0 otherwise. Then, for n>=5, a(n+1)=(-1)^(n-5)*coeff(charpoly(A,x),x^5). [Milan Janjic, Jul 08 2010]
E.g.f.: (1/5!) * Integral (x^5 * exp(exp(x) - 1)) dx. - Ilya Gutkovskiy, Jul 10 2020
EXAMPLE
a(7) = 6 because the partitions of {1,2,3,4,5,6,7} with 5 pairs of consecutive integers are 123456/7,12345/67,1234/567,123/4567,12/34567,1/234567.
MAPLE
seq(binomial(n-1, 5)*combinat[bell](n-6), n=6..26);
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Augustine O. Munagi, Apr 10 2005
STATUS
approved