OFFSET
0,3
LINKS
Walaa Asakly, Sum of weighted records in set partitions, arXiv:1906.00680 [math.CO], 2019.
FORMULA
a(n) = 3*(B(n+3) - B(n+2))/4 - (n+7/4)*B(n+1) - (n+1)*B(n)/2 where B(n) is the n-th Bell number, A000110(n).
PROG
(PARI) B(n) = sum(k=0, n, stirling(n, k, 2)); \\ A000110
a(n) = 3*(B(n+3) - B(n+2))/4 - (n+7/4)*B(n+1) - (n+1)*B(n)/2;
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Jun 04 2019
STATUS
approved