I know that a general technique for finding a closed formula for a recurrence relation would be to set them as coefficients of a power series (i.e. a generating function). Then use properties of rational functions to determine an exact formula. However, this only seems to work if your whole sequence depends only on the first few numbers in the sequence. But what if each term depends (linearly) on all the terms that come before it? For example:
Suppose we have a sequence $A_n$, such that we know $A_0$ and $A_n = \sum_{i=0}^{n-1}C_{i,n}A_i$ for $n \geq 1$ and some constants $C_{i,n}$. If we were to try the generating function idea we would get:
$$S = \sum_{n=0}^{\infty} A_nx^n = A_0 + \sum_{n=1}^{\infty}A_nx^n = A_0 + \sum_{n=1}^{\infty}\bigg(\sum_{i=0}^{n-1}C_{i,n}A_i\bigg)x^n$$
Normally, we would interchange the two sums, then get a function of $S$ as a rational function in $x$, and from there get the closed formula for $A_n$. However, we can not interchange the sum as the inner sum depends on the outer sum.
Can we still solve this problem with this technique and I just don't see how? Is there a different technique I can try? Any solution or reference would be greatly appreciated.
Edit: The $C_{i,n}$ depend on $n$ as well as $i$.
This is the approach towards what @EricTowers suggested. I have no idea how to proceed from here.
$$S = A_0 + \sum_{n=1}^{\infty}\left(\sum_{i=0}^{n-1}C_iA_i\right)x^n=A_0 + \sum_{i=0}^{\infty}\left(C_iA_i\right)\sum_{n=i+1}^{\infty}x^n......(1)$$
Because $$\sum_{n=i+1}^{\infty}x^n=x^{i+1}\sum_{j=0}^{\infty}x^j=\frac{x^{i+1}}{1-x}$$
So $$S =A_0 + \frac{x}{1-x}\sum_{i=0}^{\infty}C_iA_i x^{i}......(2)$$