OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..260
FORMULA
a(n) = Sum_{k=0..n} binomial(n,k) * Bell(2*n-k) * (-n)^k.
MATHEMATICA
Table[Exp[-1] Sum[(k (k - n))^n/k!, {k, 0, Infinity}], {n, 0, 17}]
Join[{1}, Table[Sum[Binomial[n, k] BellB[2 n - k] (-n)^k, {k, 0, n}], {n, 1, 17}]]
PROG
(Magma)
A340823:= func< n | (&+[(-n)^j*Binomial(n, j)*Bell(2*n-j): j in [0..n]]) >;
[A340823(n): n in [0..30]]; // G. C. Greubel, Jun 12 2024
(SageMath)
def A340823(n): return sum( binomial(n, k)*bell_number(2*n-k)*(-n)^k for k in range(n+1))
[A340823(n) for n in range(31)] # G. C. Greubel, Jun 12 2024
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jan 22 2021
STATUS
approved