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