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!)
A321110 Number of permutations p of [n] such that in 0p the largest up-jump equals three and no down-jump is larger than 2. 2

%I #6 Oct 27 2018 15:12:47

%S 2,8,36,156,666,2860,12336,53518,233874,1029134,4559664,20335346,

%T 91254770,411885192,1869127696,8524561158,39058221662,179724281242,

%U 830256254372,3849435933628,17907743518356,83566689375980,391087227771308,1835146738581226,8632600618453808

%N Number of permutations p of [n] such that in 0p the largest up-jump equals three and no down-jump is larger than 2.

%H Alois P. Heinz, <a href="/A321110/b321110.txt">Table of n, a(n) for n = 3..1000</a>

%p b:= proc(u, o, k) option remember; `if`(u+o=0, 1,

%p add(b(u-j, o+j-1, k), j=1..min(2, u))+

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

%p end:

%p a:= n-> (k-> b(0, n, k)-b(0, n, k-1))(3):

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

%Y Column k=3 of A291680.

%K nonn

%O 3,1

%A _Alois P. Heinz_, Oct 27 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 April 19 17:51 EDT 2024. Contains 371797 sequences. (Running on oeis4.)