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!)
A258399 Number of 4n-length strings of balanced parentheses of exactly n different types that are introduced in ascending order. 4

%I #22 Sep 27 2023 16:10:08

%S 1,2,98,11880,2432430,714249900,275335499824,131928199603200,

%T 75727786603836510,50713478000403718500,38843740303576863755100,

%U 33508462196084294380001040,32157574295254903735909896240,33990046387543889224733323929120

%N Number of 4n-length strings of balanced parentheses of exactly n different types that are introduced in ascending order.

%H Alois P. Heinz, <a href="/A258399/b258399.txt">Table of n, a(n) for n = 0..250</a>

%F a(n) = A253180(2n,n).

%F a(n) ~ c * d^n * n! / n^(5/2), where d = A256254 = -64/(LambertW(-2*exp(-2))*(2 + LambertW(-2*exp(-2)))) = 98.8248737517356857317..., c = 1/(2^(5/2) * Pi^(3/2) * sqrt(1 + LambertW(-2*exp(-2)))) = 0.0412044746356859529237459292541572856326... . - _Vaclav Kotesovec_, Jun 01 2015, updated Sep 27 2023

%F a(n) = A210029(n) * (4*n)! / (n! * (2*n)! * (2*n + 1)!), for n>0. - _Vaclav Kotesovec_, Sep 27 2023

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

%e a(1) = 2: ()(), (()).

%e a(2) = A000108(4) * (2^3-1) = 14*7 = 98.

%p ctln:= proc(n) option remember; binomial(2*n, n)/(n+1) end:

%p A:= proc(n, k) option remember; k^n*ctln(n) end:

%p a:= n-> add(A(2*n, n-i)*(-1)^i/((n-i)!*i!), i=0..n):

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

%t A[n_, k_] := A[n, k] = k^n CatalanNumber[n];

%t a[n_] := If[n==0, 1, Sum[A[2n, n-i] (-1)^i/((n-i)! i!), {i, 0, n}]];

%t a /@ Range[0, 15] (* _Jean-François Alcover_, Jan 01 2021, after _Alois P. Heinz_ *)

%Y Cf. A000108, A210029, A242446, A253180, A256254, A258426.

%K nonn

%O 0,2

%A _Alois P. Heinz_, May 28 2015

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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)