Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A143434
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A143434 Expansion of f(x, -x^3) in powers of x where f(,) is Ramanujan's two variable theta function. +0
2
1, 1, 0, -1, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; listen)
OFFSET

0,1

FORMULA

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

G.f.: Sum_{k>=0} (-1)^((k + 2) \ 4) * x^(k * (k+1) / 2).

EXAMPLE

q + q^9 - q^25 - q^49 - q^81 - q^121 + q^169 + q^225 + q^289 + q^361 + ...

PROGRAM

(PARI) {a(n) = if( n<0, 0, if(issquare(8*n + 1, &n), n = n\2; (-1)^((n + 2) \ 4), 0))}

(PARI) {a(n) = local(A); if( n<0, 0, polcoeff( prod(k=1, n, (1 - x^k)^( [1, -1, 1, 1, -1, 1, 0, -1, 2, -1, 0, 1, -1, 1, 1, -1] [k%16 + 1]), 1 + x * O(x^n)), n))}

CROSSREFS

(-1)^n * A143433(n) = a(n).

Sequence in context: A010054 A106459 A143433 this_sequence A033806 A033802 A033800

Adjacent sequences: A143431 A143432 A143433 this_sequence A143435 A143436 A143437

KEYWORD

sign

AUTHOR

Michael Somos, Aug 14 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 16 17:18 EST 2009. Contains 170825 sequences.


AT&T Labs Research