Find the solution to the recurrence relation with initial terms and