OFFSET
0,2
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 0..10000
FORMULA
G.f.: A(x) = Product_{n>=1} (1 - x^(2*n)) * (1 + x^(2*n-1)*(1-x)) * (1 + x^(2*n-1)/(1-x)), due to the Jacobi triple product identity.
EXAMPLE
G.f.: A(x) = 1 + 2*x + x^3 + 3*x^4 + x^5 + 5*x^6 + 5*x^7 + 6*x^8 +...
where the g.f. A(x) may be expressed as the q-series:
A(x) = 1 + x*((1-x) + 1/(1-x)) + x^4*((1-x)^2 + 1/(1-x)^2) + x^9*((1-x)^3 + 1/(1-x)^3) + x^16*((1-x)^4 + 1/(1-x)^4) +...
and the Jacobi triple product:
A(x) = (1-x^2)*(1+x*(1-x))*(1+x/(1-x)) * (1-x^4)*(1+x^3*(1-x))*(1+x^3/(1-x)) * (1-x^6)*(1+x^5*(1-x))*(1+x^5/(1-x)) *...
PROG
(PARI) {a(n)=local(A); A=1+sum(m=1, sqrtint(n)+1, x^(m^2)*((1-x)^m+1/(1-x+x*O(x^n))^m)); polcoeff(A, n)}
(PARI) {a(n)=local(A); A=prod(m=1, n\2+1, (1-x^(2*m))*(1+x^(2*m-1)*(1-x))*(1+x^(2*m-1)/(1-x+x*O(x^n)))); polcoeff(A, n)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 17 2011
STATUS
approved