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!)
A014297 a(n) = n! * C(n+2, 2) * 2^(n+1). 2

%I #53 Dec 27 2022 16:50:29

%S 2,12,96,960,11520,161280,2580480,46448640,928972800,20437401600,

%T 490497638400,12752938598400,357082280755200,10712468422656000,

%U 342798989524992000,11655165643849728000,419585963178590208000,15944266600786427904000,637770664031457116160000

%N a(n) = n! * C(n+2, 2) * 2^(n+1).

%C Partition the set {1,2,...,n+2} into an even number of subsets. Arrange (linearly order) the elements within each subset and then arrange the subsets. - _Geoffrey Critzer_, Mar 03 2010

%H Vincenzo Librandi, <a href="/A014297/b014297.txt">Table of n, a(n) for n = 0..200</a>

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

%H Alexsandar Petojevic, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL5/Petojevic/petojevic5.html">The Function vM_m(s; a; z) and Some Well-Known Sequences</a>, Journal of Integer Sequences, Vol. 5 (2002), Article 02.1.7.

%F a(n) = Sum_{k=0..n} (n+2)!*C(n,k).

%F Prepend the sequence with 1,0, then e.g.f. is (1-x)^2/(1-2*x). - _Geoffrey Critzer_, Mar 03 2010

%F E.g.f.: 2/(1-2*x)^3. - _R. J. Mathar_, Nov 27 2011

%F a(n) = 2*A051578(n). - _R. J. Mathar_, Apr 26 2017

%F a(n) = (n+2)! * 2^n. - _Joerg Arndt_, May 05 2019

%F From _Amiram Eldar_, Jul 04 2020: (Start)

%F Sum_{n>=0} 1/a(n) = 4*sqrt(e) - 6.

%F Sum_{n>=0} (-1)^n/a(n) = 4/sqrt(e) - 2. (End)

%p seq(count(Permutation(n+1))*count(Composition(n)),n=1..17); # _Zerinvary Lajos_, Oct 16 2006

%t Drop[CoefficientList[Series[(1-x)^2/(1-2x), {x, 0, 20}], x]* Table[n!, {n, 0, 20}], 2] (* _Geoffrey Critzer_, Mar 03 2010 *)

%t Part[#, Range[1, Length[#], 1]]&@(Array[#!&, Length[#], 0]*#)&@CoefficientList[Series[2/(1 - 2*x)^3, {x, 0, 20}], x]// ExpandAll (* _Vincenzo Librandi_, Jan 04 2013 - after _Olivier GĂ©rard_ in A213068 *)

%t Table[n!Binomial[n+2,2]2^(n+1),{n,0,30}] (* _Harvey P. Dale_, Dec 27 2022 *)

%o (PARI) a(n) = (n+2)!*2^n; \\ _Joerg Arndt_, May 05 2019

%o (Magma) [2^n*Factorial(n+2): n in [0..20]]; // _G. C. Greubel_, May 05 2019

%o (Sage) [2^n*factorial(n+2) for n in (0..20)] # _G. C. Greubel_, May 05 2019

%o (GAP) List([0..20], n-> 2^n*Factorial(n+2)) # _G. C. Greubel_, May 05 2019

%Y Essentially the same as A052564.

%Y Cf. A088312.

%K nonn,easy

%O 0,1

%A _Emeric Deutsch_

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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)