# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a131963
Showing 1-1 of 1
%I A131963 #13 Mar 12 2021 22:24:44
%S A131963 1,1,1,0,1,2,1,1,0,1,0,1,2,1,1,1,1,1,0,2,0,0,1,0,2,1,3,1,0,1,1,1,0,0,
%T A131963 1,1,1,0,1,2,2,1,1,0,1,1,1,2,0,0,1,1,2,0,0,2,0,1,0,1,1,2,2,1,1,1,1,1,
%U A131963 0,1,1,0,1,0,1,3,0,1,0,0,1,2,2,0,1,1,2
%N A131963 Expansion of f(x, x^2) * f(x^4, x^12) in powers of x where f(, ) is Ramanujan's general theta function.
%C A131963 Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
%H A131963 G. C. Greubel, Table of n, a(n) for n = 0..1000
%H A131963 Michael Somos, Introduction to Ramanujan theta functions
%H A131963 Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
%F A131963 Expansion of psi(x^4) * phi(-x^3) / chi(-x) in powers of x where phi(), psi(), chi() are Ramanujan theta functions.
%F A131963 Expansion of q^(-13/24) * eta(q^2) * eta(q^3)^2 * eta(q^8)^2 / (eta(q) * eta(q^4) * eta(q^6)) in powers of q.
%F A131963 Euler transform of period 24 sequence [ 1, 0, -1, 1, 1, -1, 1, -1, -1, 0, 1, 0, 1, 0, -1, -1, 1, -1, 1, 1, -1, 0, 1, -2, ...].
%F A131963 a(25*n + 13) = a(n). a(25*n + 3) = a(25*n + 8) = a(25*n + 18) = a(25*n + 23) = 0.
%F A131963 2 * a(n) = A123484(24*n + 13).
%e A131963 G.f. = 1 + x + x^2 + x^4 + 2*x^5 + x^6 + x^7 + x^9 + x^11 + 2*x^12 + x^13 + ...
%e A131963 G.f. = q^13 + q^37 + q^61 + q^109 + 2*q^133 + q^157 + q^181 + q^229 + q^277 + ...
%t A131963 a[ n_] := If[ n < 0, 0, With[ {m = 24 n + 13}, DivisorSum[ m, KroneckerSymbol[ -12, #] Mod[m/#, 2] &] / 2]]; (* _Michael Somos_, Nov 04 2015 *)
%t A131963 a[ n_] := SeriesCoefficient[(1/2) x^(-1/2) EllipticTheta[ 4, 0, x^3] QPochhammer[ -x, x] EllipticTheta[ 2, 0, x^2], {x, 0, n}]; (* _Michael Somos_, Nov 04 2015 *)
%o A131963 (PARI) {a(n) = if( n<0, 0, n = 24*n + 13; sumdiv(n, d, kronecker( -12, d) * (n/d %2)) / 2)};
%o A131963 (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)^2 / (eta(x + A) * eta(x^4 + A) * eta(x^6 + A)), n))};
%Y A131963 Cf. A123484.
%K A131963 nonn
%O A131963 0,6
%A A131963 _Michael Somos_, Aug 02 2007
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE