1
$\begingroup$

This question already has an answer here:

Given the input and the output, how do you interpolate a function in Mathematica?

For example if you know that

$f(1)=\frac{1}{2}$, $f(2)=\frac{1}{3}$, $f(3)=\frac{1}{4}$,... how would you solve for $f(n)$

I guess what I am really asking is how would one solve a sequence in Mathematica?

$\endgroup$

marked as duplicate by Mr.Wizard Aug 1 '14 at 0:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1
$\begingroup$
FindSequenceFunction[{1/2, 1/3, 1/4, 1/5, 1/6}, n]

1/(1 + n)

$\endgroup$

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