During some computations I came up with the following system of linear recurrences:
$$B_{n+2} = 3B_n + A_n \\ A_n = A_{n-1} + B_{n-1}$$
Here I am trying to find the solution for $B$ (hoping to get some sort of homogeneous equation, find it roots and get the closed form formula).
But I can't solve it. The only thing I can do is $$B_{n+2} = 3B_n + \sum_{i=0}^{n-1} B_i$$, which will not help me to solve recurrence.
So is there a way I can find $B$ without the summation through $n$?
You can transform the above equations into equations only in $A$ and only in $B$: The second equation gives $$ B_n = A_{n+1} - A_n $$ applying this to the first equation gives $$ A_{n+3} - A_{n+2} = 3(A_{n+1} - A_n) + A_n = 3 A_{n+1} - 2 A_n \Rightarrow \\ A_{n+3} = A_{n+2} + 3 A_{n+1} - 2 A_n $$ Similar $$ A_n = B_{n+2} - 3 B_n \\ B_{n+2} - 3 B_n = B_{n+1} - 3 B_{n-1} + B_{n-1} \Rightarrow \\ B_{n+2} = B_{n+1} + 3 B_n - 2 B_{n-1} $$