Can anyone tell me how do we establish a formula from a given recurrence relation? Take the example of $f(n) = 2f(n-1) + 1$, $n \in \mathbb{Z^+}$, $f(1) = 1$
When I write out the first few values, it turns out the formula for $n$th term is $2^n-1$, but how do we get at this? I suppose that this method of observation won't work for harder ones, like $f(n) = -4f(n-1) + 3$, $n \in \mathbb{Z^+}$, $f(1) = 1$
I know methods of Lagrange interpolation and finite differences, but they won't work here, since the formula is exponential (finite difference table looks very interesting though).