# How to Solve a Sequence in Mathematica [duplicate]

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?

-