2
$\begingroup$

Can Mathematica suggest what a formula means? For example if I input

$$\sum_{i=0}^n i$$

can it infer that this is a sum of integer values from $0$ to $n$? Or if I enter $0,1,1,2,3,5,8,13$, can Mathematica tell me that these are Fibonacci numbers?

$\endgroup$
11
$\begingroup$

FindSequenceFunction and FindGeneratingFunction will attempt to identify how the list was produced.

FindSequenceFunction[{1, 1, 2, 3, 5, 8, 13, 21, 34, 55}, n]

Fibonacci[n]

FindSequenceFunction[{0, 1, 1, 2, 3, 5, 8, 13}, n]

enter image description here

FindGeneratingFunction[{0, 0, 1, 2, 3, 5, 8, 13}, n]

out


$\endgroup$
2
  • $\begingroup$ No, I mean something like: if I will 'give' mathematica a sequence: 0,0,1,2,3,5,8,13 it will return info that this are Fibonacci numbers, if I will give: 0,1,2,3,4,5 it will return info that this are integer values etc. But not just 'read' what it see, be give me an more precise answer $\endgroup$
    – Ziva
    Dec 17 '13 at 0:23
  • $\begingroup$ Now it is what I need! Thank you! $\endgroup$
    – Ziva
    Dec 17 '13 at 0:42
2
$\begingroup$

Yes, if you call the wolfram alpha api from inside mathematica then some of the returned data will be that sort of information.

$\endgroup$
3
  • $\begingroup$ google gets it straight away too.. $\endgroup$
    – george2079
    Dec 17 '13 at 0:20
  • 1
    $\begingroup$ And oeis.org may be the best resource of all. $\endgroup$
    – DavidC
    Dec 17 '13 at 0:47
  • 3
    $\begingroup$ OEIS in Mathematica $\endgroup$
    – ssch
    Dec 17 '13 at 2:24

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.