結果 : how to solve recurrence relations algorithms