login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160806 Expansion of q^(-1/3) * (eta(q) * eta(q^7) + eta(q^4) * eta(q^28)) in powers of q^2. 2
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; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
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.
A002655(2*n) = a(n).
EXAMPLE
G.f. = q - q^7 + q^25 - 2*q^37 - 2*q^43 + q^49 + 2*q^67 + 2*q^79 - 2*q^109 + ...
MATHEMATICA
eta[q_] := q^(1/24)*QPochhammer[q]; CoefficientList[Series[q^(-1/6)*(eta[q^(1/2)]*eta[q^(7/2)] + eta[q^2]*eta[q^14]), {q, 0, 100}], q] (* G. C. Greubel, Sep 21 2018 *)
PROG
(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
Sequence in context: A360985 A335833 A258747 * A344447 A287385 A191411
KEYWORD
sign
AUTHOR
Michael Somos, May 26 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 03:46 EDT 2024. Contains 371782 sequences. (Running on oeis4.)