Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A138501
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A138501 Expansion of (eta(q)^2 * eta(q^4)^4 / eta(q^2)^3)^2 in powers of q. +0
2
1, -4, 8, -16, 26, -32, 48, -64, 73, -104, 120, -128, 170, -192, 208, -256, 290, -292, 360, -416, 384, -480, 528, -512, 651, -680, 656, -768, 842, -832, 960, -1024, 960, -1160, 1248, -1168, 1370, -1440, 1360, -1664, 1682, -1536, 1848, -1920, 1898, -2112, 2208, -2048, 2353, -2604 (list; graph; listen)
OFFSET

1,2

FORMULA

Expansion of q * (phi(-q) * psi(q^2)^2)^2 in powers of q where phi(), psi() are Ramanujan theta functions.

Euler transform of period 4 sequence [ -4, 2, -4, -6, ...].

a(n) is multiplicative with a(2^e) = -(4^e) if e>0, a(p^e) = ((p^2)^(e+1) - 1) / (p^2 - 1) if p == 1 (mod 4), a(p^e) = ((p^2)^(e+1) - (-1)^(e+1)) / (p^2 + 1) if p == 3 (mod 4).

G.f. is a Fourier series which satisfies f(-1/(4 t)) = 2 (t/i)^3 g(t) where q = exp(2 pi i t) and g() is g.f. for A138502

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

EXAMPLE

q - 4*q^2 + 8*q^3 - 16*q^4 + 26*q^5 - 32*q^6 + 48*q^7 - 64*q^8 + 73*q^9 + ...

PROGRAM

(PARI) {a(n) = if( n<1, 0, -(-1)^n * sumdiv(n, d, d^2 * (n / d % 2) * (-1)^(n / d \ 2)))}

(PARI) {a(n) = local(A, p, e, f); if( n<0, 0, A = factor(n); prod(k=1, matsize(A)[1], if( p = A[k, 1], e = A[k, 2]; if( p==2, -4^e, f = (-1)^(p\2); ((p^2)^(e+1) - f^(e+1)) / (p^2 - f)))))}

(PARI) {a(n) = local(A); if( n<1, 0, n--; A = x * O(x^n) ; polcoeff( (eta(x + A)^2 * eta(x^4 + A)^4 / eta(x^2 + A)^3)^2, n))}

CROSSREFS

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

Adjacent sequences: A138498 A138499 A138500 this_sequence A138502 A138503 A138504

Sequence in context: A003451 A013934 A050470 this_sequence A096296 A068936 A054744

KEYWORD

sign,mult

AUTHOR

Michael Somos, Mar 20 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 October 11 09:12 EDT 2008. Contains 144832 sequences.


AT&T Labs Research