Let's consider the following simple recurrence relation
Can I use sympy to symbolically compute the resulting expression at index n recursively? I'm looking for a generic way to do this, i.e. I do not want to have an explicit solution to the above equation (as it may in general be to difficult for sympy to solve).