|
|
A064053
|
|
Auxiliary sequence gamma(n) used to compute coefficients in series expansion of the mock theta function f(q) via A(n) = Sum_{r=0..n} p(r)*gamma(n-r), with p(r) the partition function A000041.
|
|
4
|
|
|
1, 0, -4, 4, -4, 4, -4, 8, -4, 0, -4, 8, -4, 0, -4, 4, -4, 0, 0, 8, -4, -4, -4, 8, 0, 0, 0, 4, -4, 0, -4, 8, -4, -4, 0, 8, 0, 0, -8, 4, -8, 0, 4, 8, -4, 0, -8, 8, 0, 0, -4, 4, -4, 0, -4, 12, -4, 0, 0, 8, -4, 0, -8, 0, -4, 4, 4, 8, -4, 0, -12, 8, 0, 0, 0, 4, -4, -4, -4, 8, -8, 0, 0, 8, 4, 4, -8, 0, -4, 0, 0, 4, -4, 0, -8, 12, 0, 0, 4, 0, -4, 0, -4
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
See Dragonette for the definition of f(q) and A(n). - N. J. A. Sloane, Sep 24 2022
|
|
REFERENCES
|
G. E. Andrews, The theory of partitions, Cambridge University Press, Cambridge, 1998, page 82, Example 5. MR1634067 (99c:11126). [The Gamma function used by Andrews is the classical Gamma function, which is different from the gamma(n) of this sequence. - N. J. A. Sloane, Sep 24 2022]
|
|
LINKS
|
|
|
FORMULA
|
G.f.: 1 + 4 * Sum_{k>0} (-1)^k * x^(k*(3*k + 1)/2) / (1 + x^k). - Michael Somos, Jun 19 2003
|
|
EXAMPLE
|
G.f. = 1 - 4*x^2 + 4*x^3 - 4*x^4 + 4*x^5 - 4*x^6 + 8*x^7 - 4*x^8 - 4*x^10 + 8*x^11 - 4*x^12 - ...
|
|
MATHEMATICA
|
a[ n_]:= SeriesCoefficient[1 +4 *Sum[(-1)^k*x^(k*(3*k+1)/2)/(1+x^k), {k, Quotient[Sqrt[1 +24*n] - 1, 6]}], {x, 0, n}]; (* Michael Somos, Apr 08 2015 *)
|
|
PROG
|
(PARI) {a(n) = if( n<1, n==0, 4 * polcoeff( sum(k=1, (sqrtint(24*n + 1) - 1) \ 6, (-1)^k * x^((3*k^2 + k)/2) / (1 + x^k), x * O(x^n)), n))}; /* Michael Somos, Mar 13 2006 */
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Deleted edit that tried to change gamma(n) to Gamma(n), and restored original definition. - N. J. A. Sloane, Sep 24 2022
|
|
STATUS
|
approved
|
|
|
|