cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A229893 Expansion of q^2 * f(-q) * f(-q^4) * f(-q^16) * f(-q^2, -q^14) in powers of q where f() is a Ramanujan theta function.

This page as a plain text file.
%I A229893 #15 Feb 16 2025 08:33:20
%S A229893 1,-1,-2,1,0,2,2,-1,-2,-1,2,-1,-2,0,0,0,1,3,2,-2,2,-6,-4,3,0,4,0,3,2,
%T A229893 0,-4,0,-2,-2,0,-3,0,2,0,0,4,-5,-2,1,6,0,4,0,-3,2,2,5,-8,2,4,-6,0,3,
%U A229893 -4,-9,-8,0,8,0,-2,-5,4,6,0,10,-2,4,6,-3,-6,2,-2
%N A229893 Expansion of q^2 * f(-q) * f(-q^4) * f(-q^16) * f(-q^2, -q^14) in powers of q where f() is a Ramanujan theta function.
%C A229893 Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).
%H A229893 G. C. Greubel, <a href="/A229893/b229893.txt">Table of n, a(n) for n = 2..2500</a>
%H A229893 Michael Somos, <a href="/A010815/a010815.txt">Introduction to Ramanujan theta functions</a>
%H A229893 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/RamanujanThetaFunctions.html">Ramanujan Theta Functions</a>
%F A229893 Euler transform of period 16 sequence [-1, -2, -1, -2, -1, -1, -1, -2, -1, -1, -1, -2, -1, -2, -1, -4, ...].
%F A229893 a(2^n) = A108520(n-1). a(16*n + 1) = a(16*n + 15) = 0. -2 * a(n) = A229502(2*n). a(8*n) = 2 * A229502(n).
%e A229893 G.f. = q^2 - q^3 - 2*q^4 + q^5 + 2*q^7 + 2*q^8 - q^9 - 2*q^10 - q^11 + ...
%t A229893 a[ n_] := SeriesCoefficient[ q^2 QPochhammer[ q^2, q^16] QPochhammer[ q^14, q^16] QPochhammer[ q^16]^2 QPochhammer[ q] QPochhammer[ q^4], {q, 0, n}]
%o A229893 (PARI) {a(n) = local(A, m); if( n<2, 0, n-=2; A = x * O(x^n); polcoeff( eta(x + A) * eta(x^4 + A) * eta(x^16 + A) * sum( k=0, n\2, if( issquare( 16*k + 9, &m), (-1)^k * x^(2*k), 0), A), n))}
%o A229893 (Sage) CuspForms( Gamma1(16), 2, prec=79).1
%o A229893 (Magma) Basis( CuspForms( Gamma1(16), 2), 79)[2];
%Y A229893 Cf. A108520, A229502.
%K A229893 sign
%O A229893 2,3
%A A229893 _Michael Somos_, Oct 02 2013