結果 : recurrence relation using tree method