I know Mathematica has the FindFit function to determine the parameters of a known function that fits a sequence of points, but what if you do not know the relationship (linear, log, quadratic, etc)?
For example, if I have two lists of values:
x={1, 3, 5, 11}
y={1, 9, 25, 121}
Is there a way Mathematica can automatically figure out that y=x^2 ?
x = Table[2 i + 1, {i, 10}]; y = x^2; FindSequenceFunction[Transpose[{x, y}], n] // Simplify
$\endgroup$FindSequenceFunction[ ]
doesn't guess very well ... $\endgroup$