Skip to main content
Logo image

In-Class Notes to Accompany Applied Combinatorics

Handout 9.3 Solving a Nonlinear Recurrence

RUBOTS.

Rooted
Unlabeled
Binary
Ordered
Trees
By convention, we want the \(1\)-vertex graph to be a RUBOT with one leaf.
Let \(c_{n}\) denote the number of RUBOTs with \(n\) leaves. (NOT vertices!) Take \(c_{0}=0\) by convention. The generating function for the number of RUBOTs is then
\begin{equation*} C(x)\displaystyle = \sum_{n=0}^{\infty} c_{n}x^{n} = \phantom{0+1x+2x^3+5x^4 + \cdots} \end{equation*}

Activity 9.3.1.

Find \(c_{1}\text{,}\) \(c_{2}\text{,}\) \(c_{3}\text{,}\) and \(c_{4}\) by drawing the RUBOTs with \(1\text{,}\) \(2\text{,}\) \(3\text{,}\) and \(4\) leaves and then start writing out \(C(x)\text{.}\)

Activity 9.3.2. Decomposing RUBOTs.

(a)
Let \(l\) and \(r\) be the left and right children, respectively, of the root of a RUBOT. How many RUBOTs with \(17\) leaves have \(12\) of those leaves descendants of \(l\) and \(5\) descendants of \(r\text{?}\)
(b)
Generalize to a formula for the number of RUBOTs with \(n\) leaves in which the left child has \(k\) leaves.
\begin{align*} C(x) \amp = 0 + x + c_1c_1 x^2 + (c_1c_2+c_2c_1)x^3 + \cdots + \sum_{k=1}^{n-1}c_k c_{n-k} x^n+ \cdots \\ C(x)\amp= 0 + x + (c_0c_2 + c_1c_1 +c_2c_0)x^2 + \cdots + \sum_{k=0}^{n}c_k c_{n-k} x^n+ \cdots \\ C^2(x) \amp = c_0^2 + (c_0c_1 + c_1c_0)x + (c_0c_2 +c_1c_1 + c_2c_0)x^2 + \cdots + \sum_{k=0}^{n}c_k c_{n-k} x^n+ \cdots\\ C(x) \amp= x+C^2(x) \end{align*}

Activity 9.3.3.

Use the quadratic formula to solve
\begin{equation*} C^{2}(x) -C(x) + x = 0 \end{equation*}
for \(C(x)\text{.}\)
Recall that \(\displaystyle (1-4x)^{-1/2}= \sum_{n=0}^{\infty} \binom{2n}{n}x^{n}\text{.}\)

Ramsey Numbers.

Definition 9.7.

The Ramsey number \(R(m,n)\) is the least number \(t\) such that every graph on at least \(t\) vertices contains a clique of size \(m\) or an independent set of size \(n\text{.}\)

Activity 9.3.4.

(c)
Can you draw a \(4\)-vertex graph that has neither a \(3\)-clique nor an independent set of size \(3\text{?}\) What about \(5\) vertices? \(6\) vertices?
Paul ErdΕ‘s on \(R(5,5)\) vs \(R(6,6)\) and Small Ramsey Numbers by S.P. Radziszowski