login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160571 G.f.: Product_{n>=1} (1 + x^n + x^(n+1)). 1
1, 1, 2, 3, 5, 7, 10, 15, 21, 28, 38, 52, 70, 92, 119, 154, 200, 258, 329, 416, 523, 655, 819, 1022, 1269, 1566, 1924, 2357, 2879, 3507, 4263, 5170, 6250, 7530, 9048, 10849, 12980, 15496, 18466, 21967, 26079, 30894, 36526, 43109, 50792, 59743, 70160 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Robert Israel, Table of n, a(n) for n = 0..10000

FORMULA

G.f.: A(x) = Sum_{n>=0} x^(n*(3*n+1)/2)*(1+x)^n*(1 + x^(2*n+1)*(1+x)) * Product_{k=1..n} (1 + x^k*(1+x))/(1-x^k) due to Sylvester's identity.

G.f.: A(x) = Sum_{n>=0} x^(n*(n+1)/2)*(1+x)^n / Product_{k=1..n} (1-x^k).

EXAMPLE

G.f.: A(x) = 1 + x + 2*x^2 + 3*x^3 + 5*x^4 + 7*x^5 + 10*x^6 + 15*x^7 + ...

G.f.: A(x) = (1+x*(1+x))*(1+x^2*(1+x))*(1+x^3*(1+x))*(1+x^4*(1+x))*...

G.f.: A(x) = (1+x*(1+x)) + x^2*(1+x)*(1 + x^3*(1+x))*(1+x*(1+x))/(1-x) + x^7*(1+x)^2*(1 + x^5*(1+x))*(1+x*(1+x))*(1+x^2*(1+x))/((1-x)*(1-x^2)) + x^15*(1+x)^3*(1 + x^7*(1+x))*(1+x*(1+x))*(1+x^2*(1+x))*(1+x^3*(1+x))/((1-x)*(1-x^2)*(1-x^3)) + ...

G.f.: A(x) = 1 + x*(1+x)/(1-x) + x^3*(1+x)^2/((1-x)*(1-x^2)) + x^6*(1+x)^3/((1-x)*(1-x^2)*(1-x^3)) + x^10*(1+x)^4/((1-x)*(1-x^2)*(1-x^3)*(1-x^4)) + ...

MAPLE

N:= 100: # for a(0)..a(N)

P:= mul(1+x^n+x^(n+1), n=1..N):

S:= series(P, x, N+1):

seq(coeff(S, x, j), j=0..N); # Robert Israel, Sep 04 2018

MATHEMATICA

With[{nn=50}, CoefficientList[Series[Product[1+x^n+x^(n+1), {n, 1, nn}], {x, 0, nn}], x]] (* Harvey P. Dale, Dec 29 2015 *)

PROG

(PARI) a(n)=polcoeff(prod(k=1, n, 1+x^k*(1+x) +x*O(x^n)), n)

(PARI) {a(n)=local(A=1+x); A=sum(m=0, n, x^(m*(3*m+1)/2)*(1+x)^m*(1 + x^(2*m+1)*A)*prod(k=1, m, (1+A*x^k)/(1-x^k+x*O(x^n)))); polcoeff(A, n)}

(PARI) {a(n)=local(A=1+x); A=sum(m=0, n, x^(m*(m+1)/2)*(1+x)^m/prod(k=1, m, 1-x^k +x*O(x^n))); polcoeff(A, n)}

CROSSREFS

Cf. A151552.

Sequence in context: A272402 A321176 A240573 * A238543 A184641 A225490

Adjacent sequences:  A160568 A160569 A160570 * A160572 A160573 A160574

KEYWORD

nonn

AUTHOR

Paul D. Hanna, May 20 2009, May 21 2009, Jul 17 2011

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 18 16:00 EDT 2019. Contains 321292 sequences. (Running on oeis4.)