I have been trying to solve this
$f(n) = 2 \cdot f(n-1) - f(n-2) + 2 \cdot k$
and failed , can anybody help ? $n>4$
The values of $ f(1) = a,\,f(2) = b,\, f(3) = c$ and $f(4) =d $
where $ a,b,c,d,k $ are constants
EDIT:
This is an example $ a=1/6 ,b =1/3 ,c =1/3 ,d = 1/2 $
$f(5)$ should be $1$
but by constant difference method I am not getting it
and sorry about this .. there is another piece of information $k = f(2) - f(1)$ (always)
P.S $ a,b,c,d $ can have different values than above .. i.e i need a general solution