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!)
A303285 Number of permutations p of [2n] such that the sequence of ascents and descents of p0 forms a Dyck path. 9

%I #41 Nov 02 2018 19:14:02

%S 1,1,8,172,7296,518324,55717312,8460090160,1726791794432,

%T 456440969661508,151770739970889792,62022635037246022000,

%U 30564038464166725328768,17876875858414492985045712,12245573879235563308351042496,9711714975145772145881269175104

%N Number of permutations p of [2n] such that the sequence of ascents and descents of p0 forms a Dyck path.

%C Here p is a permutation of 1,2,3,...,2n, and p0 refers to the string p followed by 0.

%C Also the number of permutations p of [2n] such that the sequence of ascents and descents of 0p forms a Dyck path. a(2) = 8: 1432, 2143, 2431, 3142, 3241, 3421, 4132, 4231.

%C Also the number of permutations p of [2n] that are of odd order and whose M statistic (as defined in the Spiro paper) is equal to n-1. - _Sam Spiro_, Nov 01 2018

%H Alois P. Heinz, <a href="/A303285/b303285.txt">Table of n, a(n) for n = 0..200</a>

%H S. Spiro, <a href="https://arxiv.org/abs/1810.00993">Ballot Permutations, Odd Order Permutations, and a New Permutation Statistic</a>, arXiv:1810.00993 [math.CO], 2018.

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Lattice_path#Counting_lattice_paths">Counting lattice paths</a>

%F a(n) ~ c * 2^(2*n) * n^(2*n - 1) / exp(2*n), where c = 8.838022110416151362523442920999767406145711133564692... - _Vaclav Kotesovec_, May 22 2018

%F a(n) = (1/2)*Sum_{k odd} binomial(2*n,k)*A177042((k-1)/2)*A177042((2n-k-1)/2) for n>0. - _Sam Spiro_, Nov 01 2018

%F a(n) = A321280(2n,n-1) for n >= 1. - _Alois P. Heinz_, Nov 02 2018

%e a(0) = 1: the empty permutation.

%e a(1) = 1: 12.

%e a(2) = 8: 1243, 1324, 1342, 1423, 2314, 2341, 2413, 3412.

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

%p `if`(t>0, add(b(u-j, o+j-1, t-1), j=1..u), 0)+

%p `if`(o+u>t, add(b(u+j-1, o-j, t+1), j=1..o), 0))

%p end:

%p a:= n-> b(0, 2*n, 0):

%p seq(a(n), n=0..20);

%t b[u_, o_, t_] := b[u, o, t] = If[u + o == 0, 1, If[t > 0, Sum[b[u - j, o + j - 1, t - 1], {j, 1, u}], 0] + If[o + u > t, Sum[b[u + j - 1, o - j, t + 1], {j, 1, o}], 0]];

%t a[n_] := b[0, 2n, 0];

%t Table[a[n], {n, 0, 20}] (* _Jean-François Alcover_, May 29 2018, from Maple *)

%o (PARI) \\ here b(n) is A177042

%o b(n)={if(n==0, 1, 2*sum(k=0, n, (-1)^k*binomial(2*n+1,k)*(n-k+1)^(2*n)));}

%o a(n)={if(n==0, 1, sum(k=1, n, binomial(2*n, 2*k-1)*b(k-1)*b(n-k))/2);} \\ _Andrew Howroyd_, Nov 01 2018

%Y Bisection (even part) of A303284.

%Y Bisection (even part) of A303287.

%Y Column k=0 of A316728.

%Y Cf. A177042, A180056, A316727, A321280.

%K nonn

%O 0,3

%A _Alois P. Heinz_, Apr 20 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 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)