Transform generating function into linear recurrence relation

43 Views Asked by At

This problem is inspired from here. Given a generating function $f(x)=\frac{p(x)}{q(x)}$ where $p(x)$ and $q(x)$ are irreducible polynomials, how to transform it into a linear recurrence relation?