OFFSET
0,3
FORMULA
a(n) = -Sum_{k=0..n} (-k)^(n-k+3).
MATHEMATICA
a[n_] := -Sum[(-k)^(n - k + 3), {k, 0, n}]; Array[a, 28, 0] (* Amiram Eldar, Dec 02 2021 *)
PROG
(PARI) a(n, s=3, t=1) = sum(k=0, n, (-k^t)^(n-k)*k^s);
(PARI) my(N=40, x='x+O('x^N)); concat(0, Vec(sum(k=0, N, k^3*x^k/(1+k*x))))
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Dec 02 2021
STATUS
approved