OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000 (terms 0..1000 from Giovanni Resta)
EXAMPLE
G.f. = 1 - 2*x - 2*x^2 + 2*x^3 + 2*x^4 + 6*x^5 - 2*x^6 + 2*x^7 - 6*x^8 - 10*x^9 + ...
MATHEMATICA
CoefficientList[ Series[ Product[(1 - 2t^k), {k, 1, 80}], {t, 0, 80}], t]
a[ n_] := SeriesCoefficient[ -QPochhammer[2, x], {x, 0, n}]; (* Michael Somos, Mar 11 2014 *)
PROG
(PARI) N=66; q='q+O('q^N); Vec(sum(n=0, N, (-2)^n*q^(n*(n+1)/2) / prod(k=1, n, 1-q^k ) )) \\ Joerg Arndt, Mar 09 2014
(PARI) N=66; q='q+O('q^N); t2=Vec( prod(k=1, N, 1-2*q^k) ) \\ Joerg Arndt, Mar 11 2014
CROSSREFS
KEYWORD
sign
AUTHOR
Sharon Sela (sharonsela(AT)hotmail.com), May 24 2002
EXTENSIONS
Edited by Robert G. Wilson v, May 26 2002
Corrected by Vincenzo Librandi, Mar 11 2014
STATUS
approved