Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A160806
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A160806 Expansion of q^(-1/3) * (eta(q) * eta(q^7) + eta(q^4) * eta(q^28)) in powers of q^2. +0
1
1, -1, 0, 0, 1, 0, -2, -2, 1, 0, 0, 2, 0, 2, 0, 0, 0, 0, -2, 0, -1, 2, 0, 0, 0, -2, 0, 2, 1, -1, 0, 0, -2, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 2, 0, 1, 0, 2, 0, 0, 0, 0, -2, -2, -1, 0, 0, 1, 0, 2, -2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, -2, 2, -2, 0, 0, -2, 0, -2, 0, 0, 0, 0, -1, 0, 2, 2, -2, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 1 (list; graph; listen)
OFFSET

0,7

FORMULA

a(n) = b(6*n + 1) where b(n) is multiplicative and b(2^e) = b(3^e) = 0^e, b(p^e) = (-1)^e if p = 7, b(p^e) = (1+(-1)^e)/2 if p == 3, 5, 6 (mod 7), else p == 1, 2, 4 (mod 7) and p=y^2+7x^2 when b(p^2e) = (-1)^e if x*y not divisible by 3, b(p^e) = e+1 if x divisible by 3 or (e+1)(-1)^e if y divisible by 3.

EXAMPLE

q - q^7 + q^25 - 2*q^37 - 2*q^43 + q^49 + 2*q^67 + 2*q^79 - 2*q^109 + ...

PROGRAM

(PARI) {a(n) = local(A, p, e, x, y); if(n<0, 0, n = 6*n + 1; A = factor(n); prod(k=1, matsize(A)[1], if(p=A[k, 1], e=A[k, 2]; if(p==7, (-1)^e, if(kronecker(p, 7)==-1, !(e%2), for(x=0, sqrtint(p\7), if(issquare(p - 7*x^2, &y), y=if(x%3&y%3, real(I^e), (e+1) * if(x%3, (-1)^e, 1)); break)); y)))))}

(PARI) {a(n) = local(A); if(n<0, 0, n *= 2; A = x * O(x^n); polcoeff( eta(x + A) * eta(x^7 + A), n))}

CROSSREFS

A002655(2*n) = a(n).

Sequence in context: A015199 A051168 A163528 this_sequence A133418 A029390 A108040

Adjacent sequences: A160803 A160804 A160805 this_sequence A160807 A160808 A160809

KEYWORD

sign

AUTHOR

Michael Somos, May 26 2009

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 November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research