login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A214303 Expansion of f(-x^2, -x^4) * f(x^1, x^7) in powers of x where f(,) is Ramanujan's two-variable theta function. 2
1, 1, -1, -1, -1, -1, 0, 1, 0, -1, 2, 0, -1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, -1, -1, -1, 1, 0, -1, -1, -3, 1, 0, -1, 0, 1, 0, 0, 0, -1, 1, 0, 0, 1, 2, -1, -1, 0, -1, 0, 0, 1, 1, 0, 1, -1, -1, 0, 2, 0, 0, 2, 0, 0, 0, 2, 0, 0, -1, -1, 0, 0, 0, 1, -1, 0, -1, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,11

COMMENTS

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

a(n) = sum of (-1)^((u-1)/6) over all solutions of 48*n + 31 = 4*u^2 + 3*v^2 in integers where u == 1 (mod 6) and v == 3 (mod 8).

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

M. Somos, Introduction to Ramanujan theta functions

Eric Weisstein's World of Mathematics, Ramanujan Theta Functions

FORMULA

Euler transform of period 16 sequence [ 1, -2, 0, -1, 0, -1, 1, -2, 1, -1, 0, -1, 0, -2, 1, -2, ...].

G.f.: (Sum_{k} (-1)^k * x^(3*k^2 + k)) * (Sum_{k} x^(4*k^2 + 3*k)).

a(n) = - A143379(2*n+1).

EXAMPLE

1 + x - x^2 - x^3 - x^4 - x^5 + x^7 - x^9 + 2*x^10 - x^12 + x^15 + x^17 + ...

q^31 + q^79 - q^127 - q^175 - q^223 - q^271 + q^367 - q^463 + 2*q^511 + ...

MATHEMATICA

a[ n_] := SeriesCoefficient[ QPochhammer[ q^2] QPochhammer[ q^8] QPochhammer[ -q^1, q^8] QPochhammer[ -q^7, q^8], {q, 0, n}]

PROG

(PARI) {a(n) = local(s, v); if( n<0, 0, n = 48*n + 31; forstep( u=1, sqrtint( n\4), 2, if( u%3 && issquare( (n - 4*u^2)/3, &v), s += (-1)^((u+1)\6))); s)}

CROSSREFS

Cf. A010815, A143379, A214263.

Sequence in context: A265507 A035145 A244315 * A281274 A191250 A107064

Adjacent sequences:  A214300 A214301 A214302 * A214304 A214305 A214306

KEYWORD

sign

AUTHOR

Michael Somos, Jul 11 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 04:44 EDT 2020. Contains 337165 sequences. (Running on oeis4.)