OFFSET
0,2
REFERENCES
G. E. Andrews and B. C. Berndt, Ramanujan's lost notebook, Part III, Springer, New York, 2012, See p. 192.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: exp( Sum_{n>=1} -sigma(7*n)*q^n/n ). - Seiichi Manyama, Mar 04 2017
a(n) = -(1/n)*Sum_{k=1..n} sigma(7*k)*a(n-k). - Seiichi Manyama, Mar 04 2017
EXAMPLE
G.f.: 1 - 8*q + 20*q^2 - 70*q^4 + 64*q^5 + 56*q^6 + q^7 - 133*q^8 - 140*q^9 + ...
MATHEMATICA
nmax = 50; CoefficientList[Series[Product[(1-x^k)^8/(1-x^(7*k)), {k, 1, nmax}], {x, 0, nmax}], x] (* G. C. Greubel, Nov 18 2018 *)
PROG
(PARI) m=50; x='x+O('x^m); Vec(prod(j=1, m, (1-x^j)^8/(1-x^(7*j)))) \\ G. C. Greubel, Nov 18 2018
(Magma) m:=50; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!( (&*[(1-x^j)^8/(1-x^(7*j)): j in [1..m]]) )); // G. C. Greubel, Nov 18 2018
(Sage)
R = PowerSeriesRing(ZZ, 'x')
x = R.gen().O(50)
s = prod((1-x^j)^8/(1-x^(7*j)) for j in (1..50))
list(s) # G. C. Greubel, Nov 18 2018
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Feb 25 2017
STATUS
approved