The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A109127 Expansion of q^(-1/8) * (eta(q^3) - eta(q)^3) / 3 in powers of q. 0
1, 0, -2, 0, 0, 2, 0, 0, 0, -3, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, -4, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, -6, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
G.f.: Sum_{k>1} (-1)^k * floor((2*k)/3) * x^((k^2 - k)/2).
EXAMPLE
G.f. = x - 2*x^3 + 2*x^6 - 3*x^10 + 4*x^15 - 4*x^21 + 5*x^28 - 6*x^36 + 6*x^45 - ...
G.f. = q^9 - 2*q^25 + 2*q^49 - 3*q^81 + 4*q^121 - 4*q^169 + 5*q^225 - 6*q^289 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ (QPochhammer[ x^3] - QPochhammer[ x]^3) / 3, {x, 0, n}]; (* Michael Somos, Apr 26 2015 *)
a[ n_] := Which[ n < 0, 0, EvenQ[ Length @ Divisors [8 n + 1]], 0, True, With[ {k = Sqrt[8 n + 1] + 1}, Quotient[k, 3] (-1)^Quotient[k, 2]]]; (* Michael Somos, Apr 26 2015 *)
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); 1/3 * polcoeff( eta(x^3 + A) - eta(x + A)^3, n))};
(PARI) {a(n) = if( n<0, 0, if( issquare(8*n + 1, &n), ((n+1) \ 3) * (-1)^((n+1) / 2)))};
CROSSREFS
Sequence in context: A226225 A329265 A130209 * A342721 A263456 A002284
KEYWORD
sign
AUTHOR
Michael Somos, Jun 19 2005
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 May 23 02:30 EDT 2024. Contains 372758 sequences. (Running on oeis4.)