OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
Euler transform of period 6 sequence [ -3, -1, -6, -1, -3, -4, ...].
3 * a(n) = A260301(3*n + 1).
EXAMPLE
G.f. = 1 - 3*x + 2*x^2 - 4*x^3 + 14*x^4 - 11*x^5 + 6*x^6 - 20*x^7 + ...
G.f. = q - 3*q^4 + 2*q^7 - 4*q^10 + 14*q^13 - 11*q^16 + 6*q^19 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ x]^3 QPochhammer[ x^3]^3 / QPochhammer[ x^2]^2, {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^3 * eta(x^3 + A)^3 / eta(x^2 + A)^2, n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Dec 08 2016
STATUS
approved