結果 : how to find nth term in a quadratic sequence