OFFSET
0,2
FORMULA
a(n) = Sum_{m=n(n+1)/2..n(n+1)/2+n} [x^m] S(x)^4 for n>=0 where S(x) = Sum_{n>=0} x^((n+1)(n+2)/2-1).
EXAMPLE
The coefficients in the 4th power of the series:
S = 1 + x^2 + x^5 + x^9 + x^14 + x^20 + x^27 + x^35 + x^44 +...
begin: [(1),(0,4),(0,6,4),(4,12,1,16),(6,16,12,12,12),...];
the sums of the grouped coefficients yield the initial terms of this sequence.
PROG
(PARI) {a(n)=local(S=sum(m=0, n+1, x^((m+1)*(m+2)/2-1))+O(x^((n+1)*(n+2)/2))); sum(m=n*(n+1)/2, n*(n+1)/2+n, polcoeff(S^4, m))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jul 03 2009
STATUS
approved