I'm not sure if this equation is a linear homogeneous recurrence relation because I didn't learn math in english. what is the explicit formula for $f$?
$$f(x) = f(x-2)-{n^{x-1}\over NW-1} f(x-1)+n^{x-1}$$
$n$ and $NW$ are constants. $n = 3$ and $NW = 7000000000 = $7 billion I'm having a hard time because of the $n^{x-1}$ please help me.