OFFSET
0,3
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..100
FORMULA
G.f.: Sum_{n>=0} x^n * (1-x)^(2*n^2 + n) * [Sum_{k>=0} C(n+k,k)^2 * x^k]^n.
EXAMPLE
G.f.: A(x) = 1 + x + 2*x^2 + 9*x^3 + 46*x^4 + 343*x^5 + 3025*x^6 +...
equals the sum of the series:
A(x) = 1 + (1+x)*x + (1 + 2^2*x + x^2)^2*x^2 +
+ (1 + 3^2*x + 3^2*x^2 + x^3)^3*x^3
+ (1 + 4^2*x + 6^2*x^2 + 4^2*x^3 + x^4)^4*x^4
+ (1 + 5^2*x + 10^2*x^2 + 10^2*x^3 + 5^2*x^4 + x^5)^5*x^5
+ (1 + 6^2*x + 15^2*x^2 + 20^2*x^3 + 15^2*x^4 + 6^2*x^5 + x^6)^6*x^6 +...
The g.f. can also be expressed as:
A(x) = 1 + x*(1-x)^3*(1 + 2^2*x + 3^2*x^2 + 4^2*x^3 + 5^2*x^4 +...)
+ x^2*(1-x)^10*(1 + 3^2*x + 6^2*x^2 + 10^2*x^3 + 15^2*x^4 +...)^2
+ x^3*(1-x)^21*(1 + 4^2*x + 10^2*x^2 + 20^2*x^3 + 35^2*x^4 +...)^3
+ x^4*(1-x)^36*(1 + 5^2*x + 15^2*x^2 + 35^2*x^3 + 70^2*x^4 +...)^4
+ x^5*(1-x)^55*(1 + 6^2*x + 21^2*x^2 + 56^2*x^3 + 126^2*x^4 +...)^5 +...
PROG
(PARI) {a(n)=local(X=x+x*O(x^n)); polcoeff(sum(m=0, n, sum(k=0, m, binomial(m, k)^2*X^k)^m*x^m) +x*O(x^n), n)}
for(n=0, 30, print1(a(n), ", "))
(PARI) {a(n)=polcoeff(sum(m=0, n, x^m*(1-x+x*O(x^n))^(2*m^2+m)*sum(k=0, n-m+1, binomial(m+k, k)^2*x^k+x*O(x^n))^m), n)}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Dec 30 2010
STATUS
approved