The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A047792 a(n) = Sum_{k=0..n} Stirling1(n,k)*Stirling2(n,k). 4
1, 1, 0, -6, 36, 50, -6575, 145222, -1489978, -49083480, 4200404478, -182031111702, 4165517606173, 176264238017452, -33427749628678925, 2913726991238703330, -165770248921085801710, 1422295225609567363172, 1326793746164926878993976 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
MAPLE
seq(add(stirling1(n, k)*stirling2(n, k), k = 0..n), n = 0..20); # G. C. Greubel, Aug 07 2019
MATHEMATICA
Flatten[{1, Table[Sum[StirlingS1[n, k]*StirlingS2[n, k], {k, n}], {n, 20}] }] (* Vaclav Kotesovec, Oct 13 2018 *)
PROG
(PARI) {a(n) = sum(k=0, n, stirling(n, k, 1)*stirling(n, k, 2))};
vector(20, n, n--; a(n)) \\ G. C. Greubel, Aug 07 2019
(Magma) [(&+[StirlingFirst(n, k)*StirlingSecond(n, k): k in [0..n]]): n in [0..20]]; // G. C. Greubel, Aug 07 2019
(Sage) [sum((-1)^(n-k)*stirling_number1(n, k)*stirling_number2(n, k) for k in (0..n)) for n in (0..20)] # G. C. Greubel, Aug 07 2019
(GAP) List([0..20], n-> Sum([0..n], k-> (-1)^(n-k)*Stirling1(n, k) *Stirling2(n, k) )); # G. C. Greubel, Aug 07 2019
CROSSREFS
Sequence in context: A232137 A008460 A132633 * A178909 A206982 A121026
KEYWORD
sign
AUTHOR
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 May 14 06:13 EDT 2024. Contains 372528 sequences. (Running on oeis4.)