cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A321111 #5 Oct 27 2018 16:15:59
%S A321111 4,20,108,586,3098,16230,85150,446972,2349616,12376800,65353448,
%T A321111 345933358,1835637246,9764363438,52064375292,278256581910,
%U A321111 1490475179006,8000983513636,43039329754332,231982689315468,1252791611642654,6777998215153164,36735901427197962
%N A321111 Number of permutations p of [n] such that in 0p the largest up-jump equals four and no down-jump is larger than 2.
%H A321111 Alois P. Heinz, <a href="/A321111/b321111.txt">Table of n, a(n) for n = 4..1000</a>
%p A321111 b:= proc(u, o, k) option remember; `if`(u+o=0, 1,
%p A321111       add(b(u-j, o+j-1, k), j=1..min(2, u))+
%p A321111       add(b(u+j-1, o-j, k), j=1..min(k, o)))
%p A321111     end:
%p A321111 a:= n-> (k-> b(0, n, k)-b(0, n, k-1))(4):
%p A321111 seq(a(n), n=4..30);
%Y A321111 Column k=4 of A291680.
%K A321111 nonn
%O A321111 4,1
%A A321111 _Alois P. Heinz_, Oct 27 2018