OFFSET
0,3
COMMENTS
To satisfy the constraint, there must be n+1 nodes at depth n, and there are 2n allowed slots for a new node.
A binary tree with such a level profile contains A000217(n+1) nodes.
FORMULA
a(n) = binomial(2*n,n+1)*a(n-1), a(0)=1.
a(n) = Product_{k=1..n} binomial(2*k,k+1).
a(n) = 2^(n^2+n-1/24)*A^(3/2)*Pi^(-1/4-n/2)*G(3/2 + n)*Gamma(1 + n)/(exp(1/8)*G(3 + n)) where A is the Glaisher-Kinkelin constant and G is the Barnes G function. - Stefano Spezia, Nov 02 2020
a(n) ~ A^(3/2) * 2^(-7/24 + n + n^2) * exp(-1/8 + n/2) / (n^(11/8 + n/2) * Pi^((n+1)/2)), where A = A074962 is the Glaisher-Kinkelin constant. - Vaclav Kotesovec, Aug 29 2023
a(n) = Product_{1 <= j <= i <= n-1} (i + j + 2)/(i - j + 1). - Peter Bala, Oct 25 2024
MATHEMATICA
Table[Product[Binomial[2k, k+1], {k, n}], {n, 0, 14}] (* or *)
Table[2^(n^2+n-1/24)Glaisher^(3/2)Pi^(-1/4-n/2)BarnesG[3/2+n]Gamma[1+n]/(Exp[1/8]BarnesG[3+n]), {n, 0, 14}] (* Stefano Spezia, Nov 02 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Marcel K. Goh, Nov 02 2020
STATUS
approved