結果 : find the rule for the nth term of a linear sequence