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.

A230251 Number of permutations of [2n+1] in which the longest increasing run has length n+1.

This page as a plain text file.
%I A230251 #12 Oct 17 2013 15:11:19
%S A230251 1,4,41,602,11304,257400,6881160,211170960,7315701120,282398538240,
%T A230251 12019910112000,559278036979200,28242651241728000,1538394175334016000,
%U A230251 89912239244860032000,5612575361948755200000,372687441873534627840000,26231028469670851706880000
%N A230251 Number of permutations of [2n+1] in which the longest increasing run has length n+1.
%C A230251 Also the number of ascending runs of length n+1 in the permutations of [2n+1].
%H A230251 Alois P. Heinz, <a href="/A230251/b230251.txt">Table of n, a(n) for n = 0..300</a>
%F A230251 a(n) = A008304(2*n+1,n+1) = A122843(2*n+1,n+1).
%F A230251 For n>0, a(n) = (5+6*n+4*n^2+n^3)*(2*n+1)!/(n+3)!. - _Vaclav Kotesovec_, Oct 15 2013
%p A230251 a:= proc(n) option remember; `if`(n<2, 1+3*n,
%p A230251       2*n*(2*n+1)*(n^3+4*n^2+6*n+5)*a(n-1)/((n+3)*(n^3+n^2+n+2)))
%p A230251     end:
%p A230251 seq(a(n), n=0..25);
%t A230251 Flatten[{1,Table[(5+6*n+4*n^2+n^3)*(2*n+1)!/(n+3)!,{n,1,20}]}] (* _Vaclav Kotesovec_, Oct 15 2013 *)
%Y A230251 Diagonal of A008304, A122843.
%K A230251 nonn
%O A230251 0,2
%A A230251 _Alois P. Heinz_, Oct 13 2013