OFFSET
0,34
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Euler transform of period 48 sequence [ 1, -1, 0, 0, 1, -1, 1, -1, 0, -1, 1, 0, 1, -1, 0, 0, 1, -1, 1, 0, 0, -1, 1, -2, 1, -1, 0, 0, 1, -1, 1, 0, 0, -1, 1, 0, 1, -1, 0, -1, 1, -1, 1, 0, 0, -1, 1, 0, ...].
a(4*n + 2) = a(4*n + 3) = a(6*n + 2) = a(6*n + 4) = 0.
a(4*n + 1) = a(12*n) = A029838(n).
EXAMPLE
G.f. = 1 + x + x^5 - x^9 + x^12 + x^17 - x^24 - x^25 - x^29 + 2*x^33 + ...
G.f. = q^-3 + q^-1 + q^7 - q^15 + q^21 + q^31 - q^45 - q^47 - q^55 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ -x, x^2] QPochhammer[ x^3, x^6] QPochhammer[ x^8, x^16] QPochhammer[ x^24, x^48], {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A)^2 * eta(x^3 + A) * eta(x^8 + A) * eta(x^24 + A) / (eta(x + A) * eta(x^4 + A) * eta(x^6 + A) * eta(x^16 + A) * eta(x^48 + A)), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Dec 08 2016
STATUS
approved