Recall that a recurrence relation for a sequence $$a_{n}$$ expresses $$a_{n}$$ in terms of values $$a_{i}$$ for $$i < n$$. For example, the equation $$a_{i} = 3a_{i}−1+2^{i}$$ is a first order linear constant coefficient recurrence.