Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #20 Mar 12 2021 22:24:48
%S 1,2,1,4,6,2,11,14,4,24,30,10,47,58,18,88,108,32,156,188,57,268,318,
%T 94,444,522,152,716,834,244,1129,1308,378,1744,2010,576,2652,3038,870,
%U 3968,4524,1288,5857,6650,1884,8540,9660,2730,12312,13878,3906,17572
%N Expansion of psi(x)^2 / phi(-x^3) in powers of x where phi(), psi() are Ramanujan theta functions.
%C Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
%D Srinivasa Ramanujan, The Lost Notebook and Other Unpublished Papers, Narosa Publishing House, New Delhi, 1988, p. 3, 2nd equation.
%H G. C. Greubel, <a href="/A257640/b257640.txt">Table of n, a(n) for n = 0..1000</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^(-1/4) * eta(q^2)^4 * eta(q^6) / (eta(q)^2 * eta(q^3)^2) in powers of q.
%F Euler transform of period 6 sequence [ 2, -2, 4, -2, 2, -1, ...].
%F a(n) = A053270(n) unless n == 2 (mod 3). a(3*n) = A053270(3*n) - 2 * A256209(n).
%e G.f. = 1 + 2*x + x^2 + 4*x^3 + 6*x^4 + 2*x^5 + 11*x^6 + 14*x^7 + 4*x^8 + ...
%e G.f. = q + 2*q^5 + q^9 + 4*q^13 + 6*q^17 + 2*q^21 + 11*q^25 + 14*q^29 + ...
%t a[ n_] := SeriesCoefficient[ (1/4) x^(-1/4) EllipticTheta[ 2, 0, x^(1/2)]^2 / EllipticTheta[ 4, 0, x^3], {x, 0, n}];
%o (PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A)^4 * eta(x^6 + A) / (eta(x + A)^2 * eta(x^3 + A)^2), n))};
%o (PARI) q='q+O('q^99); Vec(eta(q^2)^4*eta(q^6)/(eta(q)^2*eta(q^3)^2)) \\ _Altug Alkan_, Apr 21 2018
%Y Cf. A053270, A256209.
%K nonn
%O 0,2
%A _Michael Somos_, Nov 04 2015