Let \(b_n\) denote the number of different binary trees with \(n\) nodes. In this problem, you will find a formula for \(b_n\), as well as an asymptotic estimate.
a. Show that \(b_0 = 1\) and that, for \(n \ge 1\),
\[b_n = \sum_{k = 0}^{n - 1} b_k b_{n - 1 - k}.\]
b. Referring to Problem 4-4 for the definition of a generating function, let \(B(x)\) be the generating function
\[B(x) = \sum_{n = 0}^\infty b_n x^n.\]
Show that \(B(x) = xB(x)^2 + 1\), and hence one way to express \(B(x)\) in closed form is
\[B(x) = \frac{1}{2x} (1 - \sqrt{1 - 4x}).\]
The Taylor expansion of \(f(x)\) around the point \(x = a\) is given by
where \(f^{(k)}(x)\) is the \(k\)th derivative of \(f\) evaluated at \(x\).
c. Show that
\[b_n = \frac{1}{n + 1} \binom{2n}{n}\]
(the \(n\)th Catalan number) by using the Taylor expansion of \(\sqrt{1 - 4x}\) around \(x = 0\). (If you wish, instead of using the Taylor expansion, you may use the generalization of the binomial expansion (C.4) to nonintegral exponents \(n\), where for any real number \(n\) and for any integer \(k\), we interpret \(\binom{n}{k}\) to be \(n(n - 1) \cdots (n - k + 1) / k!\) if \(k \ge 0\), and \(0\) otherwise.)