結果 : recurrence relation in algorithm substitution method