This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A014297 a(n) = n! * C(n+2, 2) * 2^(n+1). 2

%I

%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

%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 *)

%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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified October 15 05:43 EDT 2019. Contains 328026 sequences. (Running on oeis4.)