login
This site is supported by donations to The OEIS Foundation.

 

Logo

Many excellent designs for a new banner were submitted. We will use the best of them in rotation.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A002448 Expansion of Jacobi theta function theta_4(x). 12
1, -2, 0, 0, 2, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Ramanujan theta functions: f(q) (see A121373), phi(q) (A000122), psi(q) (A010054), chi(q) (A000700).

REFERENCES

J. H. Conway and N. J. A. Sloane, "Sphere Packings, Lattices and Groups", Springer-Verlag, p. 103.

N. J. Fine, Basic Hypergeometric Series and Applications, Amer. Math. Soc., 1988; p. 93, Eq. (34.11).

J. W. L. Glaisher, On the deduction of series from infinite products, Messenger of Math., 2 (1873), p. 141.

E. T. Whittaker and G. N. Watson, A Course of Modern Analysis, Cambridge Univ. Press, 4th ed., 1963, p. 464.

LINKS

T. D. Noe, Table of n, a(n) for n=0..10000

Eric Weisstein's World of Mathematics, Jacobi Theta Functions

Eric Weisstein's World of Mathematics, q-Series Identities

FORMULA

Expansion of phi(-q) in powers of q where phi() is a Ramanujan theta function.

Expansion of eta(q)^2 / eta(q^2) in powers of q. - Michael Somos, May 01 2003

Expansion of 2 * sqrt( k' * K / (2 pi) ) in powers of q. - Michael Somos, Nov 30 2013

Euler transform of period 2 sequence [ -2, -1, ...]. - Michael Somos, May 01 2003

G.f.: Sum_k (-1)^k * x^(k^2) = Product_{k>0} (1 - x^k) / (1 + x^k). - Michael Somos, May 01 2003

G.f.: 1 - 2 Sum_{k>0} x^k/(1 - x^k) Product_{j=1..k} (1 - x^j) / (1 + x^j). - Michael Somos, Apr 12 2012

a(n) = -2 * b(n) where b(n) is multiplicative and b(2^e) = (-1)^(e/2) if e even, b(p^e) = 1 if p>2 and e even, otherwise 0. - Michael Somos, Jul 07 2006

a(3*n + 1) = -2 * A089802(n), a(9*n) = a(n). - Michael Somos, Jul 07 2006

a(3*n + 2) = a(4*n + 2) = a(4*n + 3) = 0. a(4*n) = A000122(n). a(n) = (-1)^n * A000122(n). a(8*n + 1) = -2 * A010054(n). - Michael Somos, Apr 12 2012

EXAMPLE

G.f. = 1 - 2*q + 2*q^4 - 2*q^9 + 2*q^16 - 2*q^25 + 2*q^36 - 2*q^49 + ...

MAPLE

Sum((-x)^(m^2), m=-10..10);

MATHEMATICA

a[ n_] := SeriesCoefficient[ EllipticTheta[ 4, 0, q], {q, 0, n}] (* Michael Somos, Jul 11 2011 *)

PROG

(PARI) {a(n) = if( n<0, 0, (-1)^n * issquare(n) * 2 - (n==0))} /* Michael Somos, Jun 17 1999 */

(PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^2 / eta(x^2 + A), n))} /* Michael Somos, May 01 2003 */

CROSSREFS

Cf. A000122, A010054, A089802.

Sequence in context: A128771 A139380 A000122 * A033759 A033755 A033753

Adjacent sequences:  A002445 A002446 A002447 * A002449 A002450 A002451

KEYWORD

sign

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified April 25 00:50 EDT 2014. Contains 240991 sequences.