8
$\begingroup$

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.

$\endgroup$
5
  • 3
    $\begingroup$ Wolfram alpha is very good for this : Just enter a decimal expansion to get various possible closed forms! $\endgroup$
    – Peter
    Feb 26, 2017 at 13:46
  • 1
    $\begingroup$ @S.C.B. But 2.414213562373095 is. $\endgroup$
    – DSblizzard
    Feb 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$
    – Peter
    Feb 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$
    – Peter
    Feb 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$
    – Peter
    Feb 26, 2017 at 14:09

1 Answer 1

4
$\begingroup$

Using keywords from Peter's comment ("closed form by decimal expansion") I found Inverse Symbolic Calculator Also see Sympy number identification

$\endgroup$
1
  • $\begingroup$ I did not know that this calculator still/again exists, but it is also very good and powerful. $\endgroup$
    – Peter
    Feb 26, 2017 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.