Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #21 Mar 12 2021 22:24:46
%S 1,3,6,11,20,34,56,91,143,220,334,498,732,1064,1528,2171,3058,4269,
%T 5910,8124,11088,15034,20264,27154,36189,47988,63324,83176,108780,
%U 141672,183776,237499,305812,392406,501856,639781,813108,1030354,1301928,1640572,2061850
%N Partitions of 2*n + 1 into parts not congruent to 0, +-4, +-6, +-10, 16 (mod 32).
%C Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700)
%H G. C. Greubel, <a href="/A208851/b208851.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 (phi(q^2) / phi(-q) - 1) / (2 * q) in powers of q where phi() is a Ramanujan theta function.
%F Euler transform of period 16 sequence [ 3, 0, 1, 2, 1, 2, 3, 0, 3, 2, 1, 2, 1, 0, 3, 0, ...].
%F 2 * a(n) = A208850(n + 1). a(n) = A185083(n + 1).
%e 1 + 3*q + 6*q^2 + 11*q^3 + 20*q^4 + 34*q^5 + 56*q^6 + 91*q^7 + 143*q^8 + ...
%e a(2) = 6 since 2*2 + 1 = 5 = 3 + 2 = 3 + 1 + 1 = 2 + 2 + 1 = 2 + 1 + 1 + 1 = 1 + 1 + 1 + 1 + 1 in 6 ways.
%t a[n_]:= SeriesCoefficient[(EllipticTheta[3, 0, q^2]/EllipticTheta[3, 0, -q] - 1)/(2*q), {q, 0, n}]; Table[a[n], {n, 0, 50}] (* _G. C. Greubel_, Mar 05 2018 *)
%o (PARI) {a(n) = local(A); if( n<0, 0, n = 2*n + 2; A = x * O(x^n); polcoeff( (eta(x^2 + A)^3 / (eta(x + A)^2 * eta(x^4 + A)) - 1) / 2, n))}
%Y Cf. A185083, A208850.
%K nonn
%O 0,2
%A _Michael Somos_, Mar 02 2012