結果 : recursive formula for linear function