Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A143433
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A143433 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, 0, 1, 1, 1, -1, -1, -2, -1, -1, 1, 1, 1, 0, -1, -1, ...].

Pattern of signs of nonzero terms is A143431.

G.f.: Sum_{k>=0} (-1)^(k + k\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 + n\4), 0))}

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

CROSSREFS

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

Sequence in context: A155972 A010054 A106459 this_sequence A143434 A033806 A033802

Adjacent sequences: A143430 A143431 A143432 this_sequence A143434 A143435 A143436

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 5 20:25 EST 2009. Contains 170428 sequences.


AT&T Labs Research