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!)
A087648 a(n) = (1/2)*(Bell(n+2)+Bell(n+1)-Bell(n)). 7
1, 3, 9, 31, 120, 514, 2407, 12205, 66491, 386699, 2388096, 15589732, 107165081, 773106715, 5836100685, 45981026703, 377230766908, 3215977070706, 28437411817135, 260380616093533, 2464930698184351, 24091925888687459, 242802079705721156, 2520198597834860148 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Sum of last number in all set partitions of n+1. E.g. The set partitions of 3 are {1,1,1}, {1,1,2}, {1,2,1}, {1,2,2} and {1,2,3}, so a(2) = 1+2+1+2+3 = 9. - Franklin T. Adams-Watters, Jun 07 2006
Number of partitions of the (n+2)-multiset {0,0,1,2,...,n} into distinct multisets. Also number of factorizations of 2 * Product_{i=1..n+1} prime(i) into distinct factors. - Alois P. Heinz, Jul 30 2021
LINKS
MATHEMATICA
f[0]=1; f[n_] := Sum[ StirlingS2[n, k]*Binomial[k+2, k ], {k, 1, n}]; Table[ f[n], {n, 0, 20}] (* Zerinvary Lajos, Mar 31 2007 *)
(#[[3]]+#[[2]]-#[[1]])/2&/@Partition[BellB[Range[0, 30]], 3, 1] (* Harvey P. Dale, Jul 20 2021 *)
PROG
(Magma) [(1/2)*(Bell(n+2)+Bell(n+1)-Bell(n)) : n in [0..30]]; // Vincenzo Librandi, Nov 13 2011
CROSSREFS
Main diagonal of A120057, row sums of A120095.
Column 1 of array in A322770.
Row n=2 of A346520.
Sequence in context: A151037 A371724 A066571 * A086616 A040027 A182968
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Sep 23 2003
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 April 24 19:06 EDT 2024. Contains 371962 sequences. (Running on oeis4.)