Since you know the sequence is quadratic, we can find constants a, b, and c such that the n-th term of the sequence (denoted by f(n)) is

We're given f(1) = 3, f(2) = 11, and f(3) = 25. (We have three unknowns, so we only need three conditions.) Solve for the constants:

Then the n-th term of the sequence is
