結果 : arithmetic sequence problem solver