5. For ALL APPLICANTS.
Poets use rhyme schemes to describe which lines of a poem rhyme. Each line is denoted by a letter of the alphabet, with the same letter given to two lines that rhyme. To say that a poem has the rhyming scheme ABABCDED , indicates that the first and third lines rhyme, the second and fourth lines rhyme, and the sixth and eighth lines rhyme, but no others.
More precisely, the first line of the poem is given the letter A . If a subsequent line rhymes with an earlier line, it is given the same letter; otherwise, it is given the first unused letter. (For the purposes of this question, you can assume that we have an infinite supply of "letters", not just the 26 letters of the alphabet.)
The purpose of this question is to investigate how many different rhyme schemes there are for poems of $n$ lines. We write $r _ { n }$ for this number.
(i) There are five different rhyming schemes for poems of three lines (so $r _ { 3 } = 5$ ). List them.
Let $c _ { n , k }$ denote the number of rhyme schemes for poems with lines $n$ that use exactly $k$ different letters. For example $c _ { 3,2 } = 3$ corresponding to the rhyming schemes AAB , ABA and ABB .
(ii) What is $c _ { n , 1 }$ for $n \geqslant 1$ ?
What is $c _ { n , n }$ ? Explain your answers.
(iii) Suppose that $1 < k < n$. By considering the final letter of a rhyming scheme, explain why
$$c _ { n , k } = k c _ { n - 1 , k } + c _ { n - 1 , k - 1 }$$
(iv) Write down an equation showing how to calculate $r _ { n }$ in terms of the $c _ { n , k }$. Hence calculate $r _ { 4 }$.
(v) Give a formula for $c _ { n , 2 }$ in terms of $n$ (for $n \geqslant 2$ ). Justify your answer.