I will illustrate the method on a smaller scale. Say the sequence is
11, 9, 10, ...
Then we can find a polynomial of degree 2 that will generate this sequence, of the form f(x) = ax^2+bx+c, as follows:
We know f(1) = 11. Thus, a*(1^2)+b*1+c = 11. Simplifying, a+b+c=11.
We know f(2) = 9. Thus, a*(2^2)+b*2+c = 9. Simplifying, 4a+2b+c=9.
We know f(3) = 10. Thus, a*(3^2)+b*3+c = 10. Simplifying, 9a+3b+c=10.
This is a system of linear equations with three equations and three unknowns. The solution is described by (a,b,c) = (3/2, -13/2, 16). That is, f(x) = (3/2)x^2 - (13/2)x + 16. This generates the sequence
11, 9, 10, 14, 21, 31, ...
Obviously this is not the desired sequence, so a quadratic curve-fitting scheme is not feasible. I would proceed by next trying a cubic polynomial to model the first four terms, and if that doesn't work, a degree 4 polynomial to include the first five terms, and in the worst case, a degree 5 polynomial.
Of course there may be a much simpler explanation of your sequence that I'm blind to...