For each sequence given below, find a closed formula for an, the nth term of the sequence. A sequence may begin with a₀ or a₁, so be sure to give a clear definition based on n.

A) an = n²
B) an = 2ⁿ
C) an = n!
D) an = n + 1