%I #20 Mar 12 2021 22:24:48
%S 1,1,1,0,1,2,1,1,1,2,1,1,1,1,0,2,1,0,0,1,2,1,2,1,0,1,2,1,1,1,3,0,1,1,
%T 1,3,0,0,0,1,2,0,1,2,1,0,1,0,2,1,2,1,0,1,1,3,0,1,0,1,3,2,1,2,0,2,0,1,
%U 1,0,2,1,1,0,2,1,0,2,1,1,0,1,1,1,0,2,1
%N Expansion of f(x, x^2) * f(x^4, x^8) in powers of x where f(,) is Ramanujan's general theta function.
%C Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
%H G. C. Greubel, <a href="/A260415/b260415.txt">Table of n, a(n) for n = 0..2500</a>
%H Michael Somos, <a href="/A010815/a010815.txt">Introduction to Ramanujan theta functions</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/RamanujanThetaFunctions.html">Ramanujan Theta Functions</a>
%F Expansion of q^(-5/24) * eta(q^2) * eta(q^3)^2 * eta(q^8) * eta(q^12)^2 / (eta(q) * eta(q^4) * eta(q^6) * eta(q^24)) in powers of q.
%F Euler transform of period 24 sequence [ 1, 0, -1, 1, 1, -1, 1, 0, -1, 0, 1, -2, 1, 0, -1, 0, 1, -1, 1, 1, -1, 0, 1, -2, ...].
%e G.f. = 1 + x + x^2 + x^4 + 2*x^5 + x^6 + x^7 + x^8 + 2*x^9 + x^10 + x^11 + ...
%e G.f. = q^5 + q^29 + q^53 + q^101 + 2*q^125 + q^149 + q^173 + q^197 + ...
%t a[ n_] := SeriesCoefficient[ EllipticTheta[ 2, Pi/4, x] QPochhammer[ x^3]^2 QPochhammer[ -x^6, x^12] / (2^(1/2) x^(1/4) QPochhammer[ x]), {x, 0, n}];
%t a[ n_] := SeriesCoefficient[ EllipticTheta[ 4, 0, x^3] EllipticTheta[ 4, 0, x^12] / (QPochhammer[ x, x^2] QPochhammer[ x^4, x^8]), {x, 0, n}];
%o (PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A) * eta(x^3 + A)^2 * eta(x^8 + A) * eta(x^12 + A)^2 / (eta(x + A) * eta(x^4 + A) * eta(x^6 + A) * eta(x^24 + A)), n))};
%K sign
%O 0,6
%A _Michael Somos_, Jul 27 2015
|