Unrecursively, that's
A quadratic will have a linear first difference:
So we get
f(1) = 4
f(n+1) = f(n) + 8n + 4
5.9m questions
7.8m answers