OFFSET
0,3
FORMULA
G.f.: Sum_{k>=0} k * x^k/(1 - k^2 * x).
PROG
(PARI) a(n, s=1, t=2) = sum(k=0, n, k^(t*(n-k)+s));
(PARI) my(N=20, x='x+O('x^N)); concat(0, Vec(sum(k=0, N, k*x^k/(1-k^2*x))))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jan 10 2023
STATUS
approved