I am considering the following system of recurrence of relations: for $i=1,2,\dots,n-1$, \begin{align*} &a_i=\frac{2}{3(n-i)+2}b_i+\frac{3(n-i)}{3(n-i)+2}a_{i+1}\\ &b_i=\frac{i}{n\left[3(n-i)+1\right]}+\frac{3(n-i)}{\left[3(n-i)+1\right](i+1)}a_{i+1}+\frac{3i(n-i)}{\left[3(n-i)+1\right](i+1)}b_{i+1}, \end{align*} with $a_n=b_n=1$.
Is there any general methodology that can deal with this kind of recurrence relations?
At first, I solved another recurrence relations in which the second one is much simpler: \begin{align*} &a'_i=\frac{2}{3(n-i)+2}b'_i+\frac{3(n-i)}{3(n-i)+2}a'_{i+1}\\ &b'_i=\frac{i}{n\left[3(n-i)+1\right]}+\frac{3(n-i)}{3(n-i)+1}b'_{i+1}, \end{align*} with $a'_n=b'_n=1$. Using these relations a few times (from $n$ backward), I am able to observe that $a'_i=\frac{9n+i}{10n}$ and $b'_i=\frac{3n+i}{4n}$. However, I then realize that I should study $a_i$ and $b_i$ instead of $a'_i$ and $b'_i$. But I don't know how to get the exact solutions.
Please give me some help or hints. Thanks a lot.