How to solve this Summation Recurrence Relation: $$x_n=\sum_{i=1}^n a_ix_{n-i}\,,\,\,\,n\ge1$$where, $x_0=1$ and $a_n$ is some arbitrary sequence.
The right hand side of the recurrence looks partially like a discrete convolution and also like Cauchy's Product. I tried using Generating Functions, but I don't think they work because of the pesky $a_n$.
We can solve the recurrence relation using generating functions. In order to keep the things somewhat simpler we assume $a_0=0$.
Let \begin{align*} A(t)=\sum_{j=0}^\infty a_jt^j\qquad\qquad B(t)=\sum_{k=0}^\infty x_kt^k \end{align*}
We use the coefficient of operator $[t^n]$ to denote the coefficient of $t^n$ of a series $C(t)$.
Comment:
In (3) we restrict the upper limit of the series with $n$ since higher powers of $A(t)$ do not contribute to $[t^n]$. We also take only the first $n$ summands of the series $A(t)$ up to $a_nt^n$ since other summands do not contribute to $[t^n]$.
In (4) we apply the multinomial theorem.
In (5) we finally select the coefficient of $t^n$.