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.5m questions
10.1m answers