Put , so the same definition includes . Since and every is nonzero,
The factor is a discrete integrating factor for this variable-coefficient affine recurrence. Sum the increments as a telescoping series and multiply back by :
The identity requires no assumption that the coefficients have the same sign.
Variable-coefficient affine recurrence Created 2026-10-05 Updated 2026-10-14
A variable-coefficient affine recurrence is a linear recurrence relation with coefficients allowed to depend on the index. If every is nonzero, a discrete integrating factor reduces it to a telescoping series.