Is there any "algorithm" or steps to follow to get a formula from a table of values.
Example:
Using this values:
X Result
1 3
2 5
3 7
4 9
I'd like to obtain:
Result = 2X+1
Edit
Maybe using excel?
Edit 2
Additional info:
It is not going to be always a polynomial and it may have several parameters (I think 2).
The best tool for doing this is that impressive piece of software: http://www.nutonian.com/products/eureqa/
Edit: For your abovementioned very easy example, even WA will find the right formula: http://www.wolframalpha.com/input/?i=3,+5,+7,+9,...
Edit 2: Unfortunately Nutonian was bought by DataRobot and their product is no longer freely available (not even for academic use). Yet in many cases other solutions exist, see e.g. my blog post here: Symbolic Regression, Genetic Programming… or if Kepler had R.