The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055232 Expansion of (1+2*x+3*x^2)/((1-x)^3*(1-x^2)). 9

%I #39 Sep 08 2022 08:45:01

%S 1,5,16,36,69,117,184,272,385,525,696,900,1141,1421,1744,2112,2529,

%T 2997,3520,4100,4741,5445,6216,7056,7969,8957,10024,11172,12405,13725,

%U 15136,16640,18241,19941,21744,23652,25669,27797,30040,32400,34881,37485,40216,43076

%N Expansion of (1+2*x+3*x^2)/((1-x)^3*(1-x^2)).

%C a(n) is the number of (w,x,y) having all terms in {0..n} and w <= floor((x+y)/2). - _Clark Kimberling_, Jun 02 2012

%C First differences are in A212959. - _Wesley Ivan Hurt_, Apr 16 2016

%D R. P. Stanley, Enumerative Combinatorics, Cambridge, Vol. 2, 1999; see Problem 6.28(c), y_3.

%H Michel Marcus, <a href="/A055232/b055232.txt">Table of n, a(n) for n = 0..999</a>

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (3,-2,-2,3,-1).

%F G.f.: (1+2*x+3*x^2)/((1-x)^3*(1-x^2)).

%F a(n) = 3*a(n-1)-2*a(n-2)-2*a(n-3)+3*a(n-4)-a(n-5). - _Clark Kimberling_, Jun 02 2012

%F a(n) = (7+(-1)^n+16*n+14*n^2+4*n^3)/8. - _Eric W. Weisstein_, Apr 04 2013

%F a(n) = ((n+1)^3 + ceiling((n+1)/2)^2 + floor((n+1)/2)^2)/2. - _Wesley Ivan Hurt_, Apr 15 2016

%F E.g.f.: ((7 + 34*x + 26*x^2 + 4*x^3)*exp(x) + exp(-x))/8. - _Ilya Gutkovskiy_, Apr 16 2016

%p A055232:=n->(7+(-1)^n+16*n+14*n^2+4*n^3)/8: seq(A055232(n), n=0..100); # _Wesley Ivan Hurt_, Apr 15 2016

%t Table[(7 + (-1)^n + 16*n + 14*n^2 + 4*n^3)/8, {n, 0, 50}] (* _Wesley Ivan Hurt_, Apr 15 2016 *)

%t LinearRecurrence[{3,-2,-2,3,-1},{1,5,16,36,69},40] (* _Harvey P. Dale_, Oct 25 2020 *)

%o (Magma) [(7+(-1)^n+16*n+14*n^2+4*n^3)/8 : n in [0..100]]; // _Wesley Ivan Hurt_, Apr 15 2016

%o (PARI) lista(nn) = for(n=0, nn, print1((7+(-1)^n+16*n+14*n^2+4*n^3)/8, ", ")); \\ _Altug Alkan_, Apr 16 2016

%Y Cf. A212959.

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_, Jul 05 2000

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 06:53 EDT 2024. Contains 373145 sequences. (Running on oeis4.)