Given a series of numbers how do I find the equation that describes the series?
For example given the following series of numbers...
$$352, 1424, 2528, 3664, 4832, 6032, 7264, 8528, 9824, 11152, 12512, 13904$$
The first differences are
$$1072, 1104, 1136, 1168, 1200, 1232, 1264, 1296, 1328, 1360, 1392$$ The second differences are all $32$
How can I find the function that describes this series.
Ultimately I am trying to determine which number in the series is a perfect square without doing trial division, There is a maximum of one perfect square in the series. My intention was to find the intersection of the set of perfect squares and the series above (and any other series that follows the same shape).
But before I worry about finding the intersection I am trying to understand how to convert a series of points into a function.
I hope that makes sense.
The second differences are all $32$.
The kth first difference is thus $1072+(k-1)32$
The terms of the series are thus: $$352+\sum_{k=1}^{n-1}(1072+(k-1)32)=352+1072(n-1)+32\frac{(n-1)(n-2)}2=16(n^2+64n-43)$$ Another way to look at it is: $$t_n={}^{n-1}{\rm C}_0\Delta_0+{}^{n-1}{\rm C}_1\Delta_1+{}^{n-1}{\rm C}_2\Delta_2+...$$ where $\Delta_0=32,\Delta_1=1072,\Delta_2=32,\Delta_{r,r\ge3}=0$ I hope you know about binomials for the C's.