A284502 Expansion of Product_{k>=0} (1 - x^(7*k+4)) in powers of x.
1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 1, 0, 0, -1, 0, 0, 0, 1, 0, 0, -1, 0, 0, 0, 2, 0, 0, -1, -1, 0, 0, 2, 0, 0, -1, -1, 0, 0, 3, 0, 0, -1, -2, 0, 0, 3, 0, 0, -1, -3, 0, 0, 4, 1, 0, -1, -4, 0, 0, 4, 1, 0, -1, -5, 0, 0, 5, 2, 0, -1, -7, 0, 0, 5, 3, 0, -1, -8
Offset: 0
Links
- Seiichi Manyama, Table of n, a(n) for n = 0..10000
Crossrefs
Programs
-
Mathematica
CoefficientList[Series[Product[1 - x^(7k + 4), {k, 0, 100}], {x, 0, 100}], x] (* Indranil Ghosh, Mar 28 2017 *)
-
PARI
Vec(prod(k=0, 100, 1 - x^(7*k + 4)) + O(x^101)) \\ Indranil Ghosh, Mar 28 2017
Formula
a(n) = -(1/n) * Sum_{k=1..n} A284445(k) * a(n-k), a(0) = 1.