結果 : formula to find the nth term of a linear sequence