login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A217669
G.f.: Sum_{n>=0} (x + x^n)^n.
6
1, 2, 1, 3, 2, 4, 1, 8, 1, 7, 7, 7, 1, 22, 1, 9, 17, 20, 1, 32, 1, 37, 29, 13, 1, 86, 16, 15, 46, 72, 1, 113, 1, 102, 67, 19, 72, 239, 1, 21, 92, 313, 1, 191, 1, 244, 331, 25, 1, 575, 29, 357, 154, 392, 1, 452, 496, 577, 191, 31, 1, 1979, 1, 33, 443, 750, 1002
OFFSET
0,2
COMMENTS
More generally, the following sums are equal:
(1) Sum_{n>=0} binomial(n+k-1, n) * y^n * (F + G^n)^n,
(2) Sum_{n>=0} binomial(n+k-1, n) * y^n * G^(n^2) / (1 - y*F*G^n)^(n+k),
for any fixed integer k; here, k = 1 and y = 1, F = x, G = x.
LINKS
FORMULA
Generating functions.
(1) Sum_{n>=0} (x + x^n)^n.
(2) Sum_{n>=0} x^(n^2) / (1 - x^(n+1))^(n+1). - Paul D. Hanna, Jun 02 2019
EXAMPLE
G.f.: A(x) = 1 + 2*x + x^2 + 3*x^3 + 2*x^4 + 4*x^5 + x^6 + 8*x^7 + x^8 +...
where
A(x) = 1 + (x + x) + (x + x^2)^2 + (x + x^3)^3 + (x + x^4)^4 + (x + x^5)^5 +...
Also
A(x) = 1/(1-x) + x/(1 - x^2)^2 + x^4/(1 - x^3)^3 + x^9/(1 - x^4)^4 + x^16/(1 - x^5)^5 + x^25/(1 - x^6)^6 + x^36/(1 - x^7)^7 + x^49/(1 - x^8)^8 + ...
PROG
(PARI) {a(n)=polcoeff(sum(m=0, n, (x+x^m +x*O(x^n))^m), n)}
for(n=0, 100, print1(a(n), ", "))
(PARI) {a(n)=polcoeff(sum(m=0, n, x^(m^2) / (1 - x^(m+1) +x*O(x^n))^(m+1)), n)}
for(n=0, 100, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 10 2012
STATUS
approved