What is the formula for the nth term of the following sequence:

1, 4, 9, 16....

you should recognize those numbers as perfect squares.