106k views
1 vote
What is the recursive formula for the sequence 4, 16, 36, 64, 100...?

User Howy
by
5.5k points

1 Answer

3 votes

Unrecursively, that's


f(n) = (2n)^2 = 4n^2

A quadratic will have a linear first difference:


f(n+1) - f(n) = 4(n+1)^2 - 4n^2 = 4n^2 + 8n + 4 - 4n^2 = 8n+ 4

So we get

f(1) = 4

f(n+1) = f(n) + 8n + 4


User Florian Castellane
by
5.4k points