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!)
A052657 Expansion of e.g.f. x^2/((1-x)^2*(1+x)). 1

%I #37 Jan 22 2023 08:37:54

%S 0,0,2,6,48,240,2160,15120,161280,1451520,18144000,199584000,

%T 2874009600,37362124800,610248038400,9153720576000,167382319104000,

%U 2845499424768000,57621363351552000,1094805903679488000,24329020081766400000,510909421717094400000,12364008005553684480000

%N Expansion of e.g.f. x^2/((1-x)^2*(1+x)).

%C Stirling transform of -(-1)^n*a(n-1) = [0, 0, 2, -6, 48, -240, ...] is A052841(n-1) = [0, 0, 2, 6, 38, 270, ...]. - _Michael Somos_, Mar 04 2004

%H INRIA Algorithms Project, <a href="http://ecs.inria.fr/services/structure?nbr=604">Encyclopedia of Combinatorial Structures 604</a>.

%F a(0)=0, a(1)=0, a(2)=2, n*a(n+2) = (n+2)*a(n+1) + (n^3 + 4*n^2 + 5*n + 2)*a(n).

%F a(n) = (2*n-1+(-1)^n)*n!/4 = n!*floor(n/2) = n!*A004526(n).

%F E.g.f.: x^2/((1-x)*(1-x^2)).

%F Sum_{n>=2} 1/a(n) = 4*CoshIntegral(1) - 4*gamma - 2*sinh(1) + 2 = 4*A099284 - 4*A001620 - 2*A073742 + 2. - _Amiram Eldar_, Jan 22 2023

%p spec := [S,{S=Prod(Z,Z,Sequence(Z),Sequence(Prod(Z,Z)))},labeled]: seq(combstruct[count](spec,size=n), n=0..20);

%t a[n_] := Floor[n/2] * n!; Array[a, 25, 0] (* _Amiram Eldar_, Jan 22 2023 *)

%o (PARI) a(n)=if(n<0,0,n!*polcoeff(x^2/(1-x)/(1-x^2)+x*O(x^n),n))

%o (PARI) a(n)=n!*(n\2); \\ _Joerg Arndt_, Jan 22 2023

%Y Cf. A004526, A052841.

%Y Cf. A001620, A073742, A099284.

%K easy,nonn

%O 0,3

%A encyclopedia(AT)pommard.inria.fr, Jan 25 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 April 24 07:35 EDT 2024. Contains 371922 sequences. (Running on oeis4.)