結果 : how to get nth term in arithmetic sequence