login
Number of Dyck paths of semilength 9*n and height n.
2

%I #10 Jul 14 2017 08:49:28

%S 1,1,131071,53249182309,24707711028329725,10683679703096752747668,

%T 4147304882800594101766257490,1455763914060254648633279812633997,

%U 470172045819740629127626302976354304026,142143740345412121643458345045577780672138977

%N Number of Dyck paths of semilength 9*n and height n.

%H Alois P. Heinz, <a href="/A289479/b289479.txt">Table of n, a(n) for n = 0..186</a>

%F a(n) ~ 3^(36*n + 1) / (2^(16*n + 2)* 5^(10*n + 7/2) * sqrt(Pi*n)). - _Vaclav Kotesovec_, Jul 14 2017

%p b:= proc(x, y, k) option remember;

%p `if`(x=0, 1, `if`(y>0, b(x-1, y-1, k), 0)+

%p `if`(y < min(x-1, k), b(x-1, y+1, k), 0))

%p end:

%p a:= n-> `if`(n=0, 1, b(18*n, 0, n)-b(18*n, 0, n-1)):

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

%t b[x_, y_, k_]:=b[x, y, k]=If[x==0, 1, If[y>0, b[x - 1, y - 1, k], 0] + If[y<Min[x - 1, k], b[x - 1, y + 1, k], 0]]; a[n_]:=a[n]=If[n==0, 1, b[18n, 0, n] - b[18n, 0, n - 1]]; Table[a[n], {n, 0, 20}] (* _Indranil Ghosh_, Jul 07 2017, after Maple code *)

%Y Column k=9 of A289481.

%K nonn

%O 0,3

%A _Alois P. Heinz_, Jul 06 2017