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