What mathematical program or library can guess formula for decimal fraction? For example, for number 2.414213562373095 right guess is 1 + $\sqrt 2$. Are there such tools online? I cannot find one.
-
3$\begingroup$ Wolfram alpha is very good for this : Just enter a decimal expansion to get various possible closed forms! $\endgroup$– PeterFeb 26, 2017 at 13:46
-
1$\begingroup$ @S.C.B. But 2.414213562373095 is. $\endgroup$– DSblizzardFeb 26, 2017 at 13:49
-
1$\begingroup$ But do not expect miracles! If you enter the decimal expansion of $\large \frac{\pi^3+e^3-\sqrt{7}}{\pi^5-e^7+\sqrt{11}}$ , you won't get your expression as a closed form. But for numbers satisfying linear or algebraic dependences with great accuracy , such as in the example, it will work very well. $\endgroup$– PeterFeb 26, 2017 at 13:50
-
2$\begingroup$ For the case, you also accept offline tools, I suggest the free PARI/GP-calculator. It can determine algebraic and linear dependencies. $\endgroup$– PeterFeb 26, 2017 at 14:04
-
$\begingroup$ Using continued fractions, you can find very good rational approximations even with a table calculator. For example , $\pi$ is very close to $\frac{355}{113}$ $\endgroup$– PeterFeb 26, 2017 at 14:09
1 Answer
Using keywords from Peter's comment ("closed form by decimal expansion") I found Inverse Symbolic Calculator Also see Sympy number identification
-
$\begingroup$ I did not know that this calculator still/again exists, but it is also very good and powerful. $\endgroup$– PeterFeb 26, 2017 at 14:01