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!)
A316394 Number of permutations p of [n] such that the up-down signature of 0,p has nonnegative partial sums with a maximal value of seven. 2
1, 7, 522, 4260, 163871, 1572713, 49601660, 554432537, 16431601190, 211104220038, 6214132488281, 90601727479330, 2718687446733807, 44477388811619142, 1378374571651666083, 25055072909382001747, 807272266530396465622, 16165637154045080226474 (list; graph; refs; listen; history; text; internal format)
OFFSET
7,2
LINKS
FORMULA
a(n) = A262169(n) - A262168(n).
MAPLE
b:= proc(u, o, c, k) option remember;
`if`(c<0 or c>k, 0, `if`(u+o=0, 1,
add(b(u-j, o-1+j, c+1, k), j=1..u)+
add(b(u+j-1, o-j, c-1, k), j=1..o)))
end:
a:= n-> b(n, 0$2, 7)-b(n, 0$2, 6):
seq(a(n), n=7..24);
CROSSREFS
Column k=7 of A258829.
Sequence in context: A003396 A124899 A056852 * A300391 A126196 A182433
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jul 01 2018
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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)