OFFSET
0,3
COMMENTS
Convolved with the partition numbers A000041 = sigma(n) prefaced with a 0 gives (0, 1, 3, 4, 7, 6, 12, 8, 15, 13,...).
Triangle A174740 convolves the partition numbers with a variant of this sequence, having row sums = A000203, sigma(n). - Gary W. Adamson, Mar 28 2010
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000 (terms 0..1000 from G. C. Greubel)
FORMULA
G.f.: -x * d eta(x)/dx (derivative) where eta(x) = prod(n>=1, 1-x^n). - Joerg Arndt, Mar 14 2010
a(n) = Sum_{k=0..n-1} A010815(k)*sigma(n-k), where sigma(n) = A000203(n) is the sum of divisors of n. - Paul D. Hanna, Jul 02 2011
EXAMPLE
a(5) = -5 = (-5) * A010815(5) = (-5) * 1.
MATHEMATICA
A010815[n_] := SeriesCoefficient[Product[1 - x^k, {k, n}], {x, 0, n}];
Table[-n*A010815[n], {n, 0, 50}] (* G. C. Greubel, Jun 13 2017 *)
PROG
(PARI) a(n) = -n * if(issquare(24*n + 1, &n), kronecker(12, n)); \\ Amiram Eldar, Jan 19 2024 after Michael Somos at A010815
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Gary W. Adamson, Nov 15 2008
STATUS
approved