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!)
A211374 Product of all the parts in the partitions of n into exactly 2 parts. 5
1, 1, 2, 12, 24, 360, 720, 20160, 40320, 1814400, 3628800, 239500800, 479001600, 43589145600, 87178291200, 10461394944000, 20922789888000, 3201186852864000, 6402373705728000, 1216451004088320000, 2432902008176640000, 562000363888803840000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = ( (n-1)! * floor(n/2)! )/( n-1-floor(n/2) )!.
a(n) = P(n-1, floor(n/2)) * floor(n/2)!, where P(n,k) are the k-permutations of n objects. - Wesley Ivan Hurt, Jun 07 2013
a(2n) = A002674(n); a(2n+1) = A010050(n). - Wesley Ivan Hurt, Oct 16 2014
a(n) = Product_{i=1..floor(n/2)} i * (n-i). - Wesley Ivan Hurt, Nov 14 2017
From Amiram Eldar, Mar 10 2022: (Start)
Sum_{n>=1} 1/a(n) = 3*cosh(1) - 2.
Sum_{n>=1} (-1)^(n+1)/a(n) = 2 - cosh(1). (End)
EXAMPLE
Define a(1):=1; a(2) = 1 since 2 = 1+1 and (1)*(1) = 1; a(3) = 2 since 3 = 2+1 and (2)*(1) = 2; a(4) = 12 since 4 = 3+1 = 2+2 and (3)*(1)*(2)*(2) = 12; a(5) = 24 since 5 = 4+1 = 3+2 and (4)*(1)*(3)*(2) = 24.
MAPLE
A211374:=n->( (n-1)! * floor(n/2)! )/( (n-1) - floor(n/2) )!: seq(A211374(k), k=1..25);
with(combinat, numbperm): seq(numbperm(k-1, floor(k/2))*floor(k/2)!, k = 1..25); # Wesley Ivan Hurt, Jun 07 2013
MATHEMATICA
Table[Times @@ Flatten[Select[Partitions[n], Length[#] == 2 &]], {n, 25}] (* T. D. Noe, Feb 11 2013 *)
Table[((n - 1)!*Floor[n/2]!)/(n - 1 - Floor[n/2])!, {n, 25}] (* Wesley Ivan Hurt, Oct 16 2014 *)
PROG
(Magma) [(Factorial(n-1) * Factorial(Floor(n/2)))/Factorial(n-1-Floor(n/2)) : n in [1..25]]; // Wesley Ivan Hurt, Oct 16 2014
(PARI) a(n) = prod(i=1, n\2, i*(n-i)); \\ Michel Marcus, Nov 14 2017
CROSSREFS
Bisections: A002674, A010050.
Sequence in context: A052565 A176710 A141900 * A126962 A002207 A181814
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Feb 06 2013
STATUS
approved

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