|
|
A037961
|
|
a(n) = n^2*(n+1)*(n+3)!/48.
|
|
6
|
|
|
0, 1, 30, 540, 8400, 126000, 1905120, 29635200, 479001600, 8083152000, 142702560000, 2637143308800, 50999300352000, 1031319184896000, 21785854970880000, 480178027929600000, 11029155770400768000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
For n>=1, a(n) is equal to the number of surjections from {1,2,...,n+3} onto {1,2,...,n}. - Aleksandar M. Janjic and Milan Janjic, Feb 24 2007
|
|
REFERENCES
|
Identity (1.19) in H. W. Gould, Combinatorial Identities, Morgantown, 1972; page 3.
|
|
LINKS
|
|
|
FORMULA
|
(n-1)^2*a(n) - n*(n+3)*(n+1)*a(n-1) = 0. - R. J. Mathar, Jul 26 2015
a(n) = Sum_{k = 0..n} (-1)^(n-k)*binomial(n,k)*k^(n+3). - Peter Bala, Mar 28 2017
a(n) = n!*StirlingS2(n+3, n).
|
|
MATHEMATICA
|
Table[n!*StirlingS2[n+3, n], {n, 0, 30}] (* G. C. Greubel, Jun 20 2022 *)
|
|
PROG
|
(Magma) [Factorial(n+3)*n^2*(n+1)/48: n in [0..20]]; // Vincenzo Librandi, Nov 18 2011
(SageMath) [factorial(n)*stirling_number2(n+3, n) for n in (0..30)] # G. C. Greubel, Jun 20 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|