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!)
A320980 Number of permutations p of [n] such that the up-down signature of p has nonnegative partial sums with a maximal value of six. 2

%I #4 Oct 25 2018 19:22:05

%S 0,1,7,514,4189,154261,1477381,44169020,493190771,13821362271,

%T 177705152975,4949371839867,72355179873697,2058206624313873,

%U 33818827542140211,995975339452380880,18206096557050382759,558929622195992201388,11264684856271486133087

%N Number of permutations p of [n] such that the up-down signature of p has nonnegative partial sums with a maximal value of six.

%H Alois P. Heinz, <a href="/A320980/b320980.txt">Table of n, a(n) for n = 6..452</a>

%F a(n) = A262131(n) - A262130(n).

%p b:= proc(u, o, c) option remember; `if`(c<0 or c>6, 0, `if`(u+o=0,

%p x^c, (p-> add(coeff(p, x, i)*x^max(i, c), i=0..6))(add(

%p b(u-j, o-1+j, c-1), j=1..u)+add(b(u+j-1, o-j, c+1), j=1..o))))

%p end:

%p a:= n-> coeff(add(b(j-1, n-j, 0), j=1..n), x, 6):

%p seq(a(n), n=6..30);

%Y Column k=6 of A262125.

%Y Cf. A262130, A262131.

%K nonn

%O 6,3

%A _Alois P. Heinz_, Oct 25 2018

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 14 17:50 EDT 2024. Contains 372533 sequences. (Running on oeis4.)