Generating function for number of compositions

103 Views Asked by At

I don't know how to solve this combinatorics problem. Any help would be greatly appreciated.

Let $h_0=1$ and let $h_n$ be the number of compositions of $n$ into parts equal to $2$ or $3$. Find a closed formula for $H(x)=\sum\limits_{n≥0} h_n x^n$.