OFFSET
1,4
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
G.f.: -Sum_{k>0} binomial(k,3) * (-x)^k/(1 - x^k).
a(n) = -Sum_{d|n} (-1)^d * binomial(d,3).
MATHEMATICA
a[n_] := -DivisorSum[n, (-1)^#*Binomial[#, 3] &]; Array[a, 50] (* Amiram Eldar, Jul 18 2023 *)
PROG
(PARI) my(N=60, x='x+O('x^N)); concat([0, 0], Vec(sum(k=1, N, x^(3*k)/(1+x^k)^4)))
(PARI) a(n) = -sumdiv(n, d, (-1)^d*binomial(d, 3));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Jun 11 2023
STATUS
approved