The generating function for a sequence $a_0, a_1, a_2, \ldots$ is defined as $A(x) = a_0 + a_1x + a_2x^2 + \cdots$. In this case, we want to find the generating function for the sequence $h_0, h_1, h_2, \ldots$, which is $H(x) = h_0 + h_1x + h_2x^2 + \cdots$.
Show more…