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!)
A368678 Number of permutations of [n] whose cycle maxima sum to 2n. 5

%I #15 Jan 04 2024 15:08:28

%S 1,0,0,1,2,10,41,260,1552,12818,101280,1021908,10154064,121656672,

%T 1447205472,20215013184,280271024640,4457067906240,70826580095040,

%U 1264147627392000,22588177271650560,448332829478760960,8899910723677639680,194096853444946636800

%N Number of permutations of [n] whose cycle maxima sum to 2n.

%H Alois P. Heinz, <a href="/A368678/b368678.txt">Table of n, a(n) for n = 0..451</a>

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Permutation">Permutation</a>

%F a(n) = A143947(n,2n).

%e a(0) = 1: the empty permutation.

%e a(3) = 1: (1)(2)(3).

%e a(4) = 2: (1)(23)(4), (1)(24)(3).

%e a(5) = 10: (12)(3)(45), (13)(2)(45), (1)(234)(5), (1)(243)(5), (1)(235)(4),

%e (1)(253)(4), (145)(2)(3), (154)(2)(3), (1)(24)(35), (1)(25)(34).

%p b:= proc(n) option remember;

%p `if`(n=0, 1, expand(b(n-1)*(t-n+x^n)))

%p end:

%p a:= n-> coeff(subs(t=n, b(n)), x, 2*n):

%p seq(a(n), n=0..23);

%Y Cf. A143947, A367594, A368246, A368675.

%K nonn

%O 0,5

%A _Alois P. Heinz_, Jan 02 2024

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 May 18 07:16 EDT 2024. Contains 372618 sequences. (Running on oeis4.)