Solve the recurrence relation with initial terms and