Question 94361
n 1 2 3 4 5 
f(n) 0 4 20 54 112 
-------
Its not linear because there is no constant difference in the f(n) line
Its not exponential because there is no constant ratio between consecutive terms.
Try a Quadratic Regression test and get: f(n) = 9n^2-26.6n+18.8 with R^2 = 99.9
which is very high.
I looked at Cubic and Quartic Regression test and got results that were worse.
------------------------


n 1 2 3 4 5
f(n) 2 17 86 275 674 
Need to find degree and equation for the polynomial
-----------
Quadratic Regression gives this result:fn)=63.4n^2-220.37n+174.2
with R^2=0.992
----------------------
Cheers,
Stan H.