TITLE: Count of full, binary trees with fixed number of leaves
QUESTION [5 upvotes]: How many ways is there to build an arithmetic expression with fixed number of terms and fixed order? Let’s assume we have only one distinct operation that is neither commutative nor associative. The problem can be reduced to the question of how many different, full, binary trees could be constructed with a fixed number of leaves.
Suppose we have a list of n elements  which have to become leaves in a full, binary tree. The root could be chosen between each two sequential numbers. Thus, there is (n-1)  different ways to choose the root. If the root is located after the i-th number,  we can still construct the left child as a binary tree with i leaves and the right one with (n – i) leaves.
The formula for the number of different ways to construct a full, binary tree is
$ \Phi(n) = \sum^{n-1}_{i=1}\Phi(i).\Phi(n-i)$
The first value for n=1 ist set to:
$ \Phi(1) = 1 $
Is there a closed formula for this function? Is it - maybe - a popular problem in the Graph Theory with known solutions?

REPLY [12 votes]: This is a very well-known enumeration problem.  The number of full binary rooted trees with $n+1$ leaves is just the $n$-th Catalan number $$C_n = \frac{(2n)!}{(n+1)!n!}.$$  
You can read more by looking at Wikipedia's entry on Catalan numbers, for example.