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!)
A338550 Number of binary trees of height n such that the number of nodes at depth d equals d+1 for every d = 0..n. 0

%I #19 Aug 29 2023 10:06:53

%S 1,1,4,60,3360,705600,558835200,1678182105600,19198403288064000,

%T 840083731079104512000,141100463472046393835520000,

%U 91242050302344912388163665920000,227753296409896438988240405704212480000,2199573010737856838816729366169572868096000000,82356764599728553816070191604819734458909327360000000

%N Number of binary trees of height n such that the number of nodes at depth d equals d+1 for every d = 0..n.

%C To satisfy the constraint, there must be n+1 nodes at depth n, and there are 2n allowed slots for a new node.

%C A binary tree with such a level profile contains A000217(n+1) nodes.

%F a(n) = binomial(2*n,n+1)*a(n-1), a(0)=1.

%F a(n) = Product_{k=1..n} binomial(2*k,k+1).

%F 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

%F 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

%t Table[Product[Binomial[2k,k+1],{k,n}],{n,0,14}] (* or *)

%t 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 *)

%Y Cf. A000217.

%K nonn

%O 0,3

%A _Marcel K. Goh_, Nov 02 2020

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 24 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)