The forcing base is a root of the characteristic equation of a linear recurrence, so a constant multiple of cannot be a particular solution. For , direct substitution gives
For the resonant case of exponential forcing in a linear recurrence, at , and . Hence is a particular solution of the inhomogeneous linear recurrence. The general solution is