Quadratic sequences

Finding the nth term of a quadratic sequence