|
|
A217239
|
|
a(n) = n!*(!n - 1) = n! * Sum_{k=1..n-1} k!.
|
|
3
|
|
|
0, 0, 2, 18, 216, 3960, 110160, 4399920, 238412160, 16777031040, 1484589254400, 161180565638400, 21054377854540800, 3256459838542310400, 588451470350449305600, 122827588903536701184000, 29325437466043778002944000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = n!*(!n - 1) = n! * Sum_{k=1..n-1} k!.
|
|
MATHEMATICA
|
Table[n!*Sum[i!, {i, n-1}], {n, 0, 16}]
|
|
PROG
|
(Magma) [0, 0] cat [Factorial(n)*(&+[Factorial(k): k in [1..n-1]]): n in [2..30]]; // G. C. Greubel, Jul 12 2022
(SageMath) f=factorial; [f(n)*sum(f(k) for k in (1..n-1)) for n in (0..40)] # G. C. Greubel, Jul 12 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|